From: Andreas Schwab <schwab@suse.de>
To: Richard Zidlicky <rz@linux-m68k.org>
Cc: Bernardo Innocenti <bernie@develer.com>,
Gunther Nikl <gni@gecko.de>,
gcc@gnu.org
Subject: Re: m68k bootstrapping broken
Date: Thu, 15 Jan 2004 14:00:00 -0000 [thread overview]
Message-ID: <je3cah48l0.fsf@sykes.suse.de> (raw)
In-Reply-To: <20040115121002.GA23044@linux-m68k.org> (Richard Zidlicky's message of "Thu, 15 Jan 2004 13:10:02 +0100")
Richard Zidlicky <rz@linux-m68k.org> writes:
> On Thu, Jan 15, 2004 at 12:53:15AM +0100, Bernardo Innocenti wrote:
>
>> I'll retest. What specific gdb version were you using again?
>> I'm mostly using gdb 5.3 targeted at m68k-elf (well, actually
>> it's m68k-bdm-elf). I gave 6.0 a shot but I had several problems.
>
> anything from 4.17 to 6.0 does not give correct backtrace for
> c programs with fomit-frame-pointer.
No released version of gdb supports dwarf2 frame unwinding on m68k yet.
If you want to try out you need to apply this patch to gdb 6.0:
--- m68k-tdep.c.~1.69.4.2.~ 2003-07-10 10:50:02.000000000 +0200
+++ m68k-tdep.c 2003-09-23 10:10:48.000000000 +0200
@@ -21,6 +21,7 @@
Boston, MA 02111-1307, USA. */
#include "defs.h"
+#include "dwarf2-frame.h"
#include "frame.h"
#include "frame-base.h"
#include "frame-unwind.h"
@@ -1151,6 +1152,11 @@ m68k_gdbarch_init (struct gdbarch_info i
/* Frame unwinder. */
set_gdbarch_unwind_dummy_id (gdbarch, m68k_unwind_dummy_id);
set_gdbarch_unwind_pc (gdbarch, m68k_unwind_pc);
+
+ /* Hook in the DWARF CFI frame unwinder. */
+ frame_unwind_append_sniffer (gdbarch, dwarf2_frame_sniffer);
+ set_gdbarch_dwarf2_build_frame_info (gdbarch, dwarf2_build_frame_info);
+
frame_base_set_default (gdbarch, &m68k_frame_base);
/* Hook in ABI-specific overrides, if they have been registered. */
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2004-01-15 14:00 UTC|newest]
Thread overview: 106+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-05 0:20 Richard Zidlicky
2004-01-05 4:08 ` Bernardo Innocenti
2004-01-05 13:20 ` Richard Zidlicky
2004-01-06 1:07 ` Bernardo Innocenti
2004-01-06 9:24 ` Richard Zidlicky
2004-01-06 11:41 ` Bernardo Innocenti
2004-01-06 15:59 ` Peter Barada
2004-01-06 23:24 ` Bernardo Innocenti
2004-01-07 0:26 ` Peter Barada
2004-01-07 1:08 ` Bernardo Innocenti
2004-01-07 0:50 ` Peter Barada
2004-01-07 2:20 ` Bernardo Innocenti
2004-01-07 3:25 ` Peter Barada
2004-01-07 10:54 ` Andreas Schwab
2004-01-07 11:02 ` Andreas Schwab
2004-01-07 19:42 ` Bernardo Innocenti
2004-01-08 9:49 ` Andreas Schwab
2004-01-08 10:32 ` Bernardo Innocenti
2004-01-08 14:38 ` Peter Barada
2004-01-06 22:18 ` Richard Zidlicky
2004-01-07 0:15 ` Bernardo Innocenti
2004-01-07 18:40 ` Richard Zidlicky
2004-01-07 20:58 ` Bernardo Innocenti
2004-01-08 9:45 ` Andreas Schwab
2004-01-08 11:56 ` Bernardo Innocenti
2004-01-09 2:13 ` Andreas Schwab
2004-01-08 14:37 ` Peter Barada
2004-01-08 18:26 ` Richard Zidlicky
2004-01-08 23:55 ` Richard Zidlicky
2004-01-08 22:11 ` Bernardo Innocenti
2004-01-09 0:48 ` Richard Zidlicky
2004-01-09 5:53 ` Bernardo Innocenti
2004-01-09 23:23 ` Richard Zidlicky
2004-01-10 21:09 ` Bernardo Innocenti
2004-01-11 1:35 ` Richard Henderson
2004-01-11 6:33 ` Bernardo Innocenti
2004-01-11 11:55 ` Richard Zidlicky
2004-01-11 16:35 ` Andreas Schwab
2004-01-11 21:45 ` Bernardo Innocenti
2004-01-11 14:18 ` Richard Henderson
2004-01-11 18:08 ` Matt Thomas
2004-01-11 21:21 ` VAX support (was: m68k bootstrapping broken) Jan-Benedict Glaw
2004-01-11 14:59 ` m68k bootstrapping broken Richard Zidlicky
2004-01-11 18:01 ` Andreas Schwab
2004-01-11 20:10 ` Andreas Schwab
2004-01-11 20:37 ` Andreas Schwab
2004-01-11 22:25 ` Bernardo Innocenti
2004-01-13 2:19 ` Richard Zidlicky
2004-01-13 12:18 ` Andreas Schwab
2004-01-13 23:00 ` Richard Zidlicky
2004-01-14 0:59 ` Bernardo Innocenti
2004-01-15 0:29 ` Richard Zidlicky
2004-01-15 1:16 ` Bernardo Innocenti
2004-01-15 13:08 ` Richard Zidlicky
2004-01-15 19:10 ` Bernardo Innocenti
2004-01-15 19:35 ` Andrew Pinski
2004-01-15 13:49 ` Matthias Klose
2004-01-15 23:21 ` Bernardo Innocenti
2004-01-16 1:36 ` Richard Henderson
2004-02-09 1:47 ` Bernardo Innocenti
2004-02-09 14:57 ` Richard Zidlicky
2004-02-15 18:34 ` Bernardo Innocenti
2004-02-16 20:40 ` Richard Zidlicky
2004-01-16 11:27 ` Andreas Schwab
2004-01-16 19:03 ` Bernardo Innocenti
2004-01-17 1:01 ` Andreas Schwab
2004-01-17 1:28 ` Bernardo Innocenti
2004-01-17 3:57 ` Andreas Schwab
2004-01-21 0:30 ` Jim Wilson
2004-01-21 0:30 ` Andreas Schwab
2004-01-21 1:55 ` Jim Wilson
2004-01-13 15:12 ` Gunther Nikl
2004-01-13 21:58 ` Bernardo Innocenti
2004-01-13 22:55 ` Richard Zidlicky
2004-01-14 0:56 ` Bernardo Innocenti
2004-01-15 0:00 ` Richard Zidlicky
2004-01-15 0:08 ` Bernardo Innocenti
2004-01-15 12:32 ` Richard Zidlicky
2004-01-15 14:00 ` Andreas Schwab [this message]
2004-01-16 3:34 ` Richard Zidlicky
2004-01-16 3:39 ` Daniel Jacobowitz
2004-01-16 4:18 ` Richard Zidlicky
2004-01-15 22:10 ` Bernardo Innocenti
2004-01-14 10:15 ` Gunther Nikl
2004-01-14 17:10 ` Andreas Schwab
2004-01-14 17:05 ` Gunther Nikl
2004-01-14 17:13 ` Andreas Schwab
2004-01-14 23:14 ` Gunther Nikl
2004-01-14 18:55 ` Andreas Schwab
2004-01-15 1:16 ` Joe Buck
2004-01-13 17:18 ` Richard Zidlicky
2004-01-14 1:13 ` Bernardo Innocenti
2004-01-15 2:50 ` Bernardo Innocenti
2004-01-15 6:22 ` Richard Henderson
2004-01-15 9:40 ` Andreas Schwab
2004-01-15 14:12 ` Matthias Klose
2004-01-15 16:08 ` Richard Zidlicky
2004-01-15 23:21 ` Bernardo Innocenti
2004-01-13 11:04 ` Gunther Nikl
2004-01-13 12:14 ` Andreas Schwab
2004-01-13 13:24 ` Gunther Nikl
2004-01-14 0:46 ` Bernardo Innocenti
2004-01-14 10:01 ` Gunther Nikl
2004-01-11 11:07 ` Richard Zidlicky
2004-01-11 16:08 ` Andreas Schwab
2004-01-05 20:42 ` Hans-Peter Nilsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=je3cah48l0.fsf@sykes.suse.de \
--to=schwab@suse.de \
--cc=bernie@develer.com \
--cc=gcc@gnu.org \
--cc=gni@gecko.de \
--cc=rz@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).