This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Pending breakpoints
- From: Andreas Schwab <schwab at suse dot de>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: Daniel Jacobowitz <drow at false dot org>, gdb-patches at sources dot redhat dot com
- Date: Thu, 03 Apr 2008 13:18:22 +0200
- Subject: Re: Pending breakpoints
- References: <18372.29471.522929.827100@kahikatea.snap.net.nz> <20080321144600.GB25307@caradoc.them.org> <18420.47315.225382.512236@kahikatea.snap.net.nz>
Nick Roberts <nickrob@snap.net.nz> writes:
> (gdb) maint inf bre
> Num Type Disp Enb Address What
> -3 shlib events keep y 0xb7f02c10 <_dl_debug_state>
> breakpoint already hit 2 times
> -6 longjmp keep n <PENDING> longjmp
> -7 longjmp keep n <PENDING> _longjmp
> -8 longjmp keep n <PENDING> siglongjmp
> -9 longjmp resume keep n 0x00000000
> (gdb)
>
> And breakpoints -6,-7 and -8 are associated with three different functions
> even though they have the same address.
Why is that a problem? They started out this way.
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."