This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc, frame] Always check for unsaved PC
- From: Andreas Schwab <schwab at suse dot de>
- To: gdb-patches at sourceware dot org
- Date: Thu, 11 Jan 2007 18:15:45 +0100
- Subject: Re: [rfc, frame] Always check for unsaved PC
- References: <20060819161139.GC25238@nevyn.them.org> <200608201427.k7KERnD0001824@elgar.sibelius.xs4all.nl> <20061110201548.GA1115@nevyn.them.org> <jevejdh69d.fsf@sykes.suse.de> <20070111164533.GA20499@nevyn.them.org>
Daniel Jacobowitz <drow@false.org> writes:
> On Thu, Jan 11, 2007 at 05:34:22PM +0100, Andreas Schwab wrote:
>> This is broken. You can't use PC_REGNUM unconditionally without checking
>> whether that register actually exists. The ia64 does not have such a
>> register.
>
> I assume it causes trouble there. Sorry. Does this help (untested)?
Yes, thanks, this fixes about 200 regressions.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."