From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id fA1H8cx15835 for linux-mips-outgoing; Thu, 1 Nov 2001 09:08:38 -0800 Received: from real.realitydiluted.com (real.realitydiluted.com [208.242.241.164]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id fA1H8a015832 for ; Thu, 1 Nov 2001 09:08:36 -0800 Received: from localhost.localdomain ([127.0.0.1] helo=cotw.com) by real.realitydiluted.com with esmtp (Exim 3.22 #1 (Red Hat Linux)) id 15zLJz-0003if-00; Thu, 01 Nov 2001 11:08:04 -0600 Message-ID: <3BE18D69.147DEAFE@cotw.com> Date: Thu, 01 Nov 2001 11:59:05 -0600 From: "Steven J. Hill" Reply-To: sjhill@cotw.com X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.12-xfs i686) X-Accept-Language: en MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb@sources.redhat.com, linux-mips@oss.sgi.com Subject: Re: Stabs and discarded functions (was Re: Old bug with 'gdb/dbxread.c' and screwed up MIPS symbolic debugging...) 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com Precedence: bulk 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3BE18D69.147DEAFE@cotw.com> Date: Thu, 01 Nov 2001 11:59:05 -0600 From: "Steven J. Hill" Reply-To: sjhill@cotw.com MIME-Version: 1.0 Subject: Re: Stabs and discarded functions (was Re: Old bug with 'gdb/dbxread.c' and screwed up MIPS symbolic debugging...) 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mips@oss.sgi.com To: Daniel Jacobowitz Cc: gdb@sources.redhat.com, linux-mips@oss.sgi.com Message-ID: <20011101175905.Ugie-fiD9tyMelgT59jOjr1ToN7RXhqJvsTXzeVrEP0@z> 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