This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Stabs and discarded functions (was Re: Old bug with 'gdb/dbxread.c' and screwed up MIPS symbolic debugging...)
- To: Daniel Jacobowitz <dan at debian dot org>
- Subject: Re: Stabs and discarded functions (was Re: Old bug with 'gdb/dbxread.c' and screwed up MIPS symbolic debugging...)
- From: "Steven J. Hill" <sjhill at cotw dot com>
- Date: Thu, 01 Nov 2001 11:59:05 -0600
- CC: gdb at sources dot redhat dot com, linux-mips at oss dot sgi dot com
- References: <3BDF7F79.6050205@cygnus.com> <3BE02E31.3B2CA5FC@cotw.com> <20011031113208.A1882@nevyn.them.org> <3BE03ECD.5060904@cygnus.com> <20011031174749.A28985@nevyn.them.org> <3BE182FB.2B8D8F8B@cotw.com> <20011101115343.A31822@nevyn.them.org>
- Reply-To: sjhill at cotw dot com
Daniel Jacobowitz wrote:
>
> > Program received signal SIGTRAP, Trace/breakpoint trap.
> > 0x80012c88 in breakinst () at gdb-stub.c:907
>
> ... I wonder why you get a second SIGTRAP. Never happens to me. Quirk
> of your hardware?
>
My bad. I have breakpoint instructions set inside 'kernel/module.c' so that
I can single step through module insertions. I should have added a 'bt'
output in gdb so you could see that. Everything is working great.
-Steve
--
Steven J. Hill - Embedded SW Engineer