This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Program received signal SIGTRAP, Trace/breakpoint trap
- From: Tim Combs <tcombs at urbana dot css dot mot dot com>
- To: Smita <smita at cse dot ucsc dot edu>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 15 May 2003 14:20:59 -0500
- Subject: Re: Program received signal SIGTRAP, Trace/breakpoint trap
- References: <Pine.GSO.4.44.0305151143030.22868-100000@sundance.cse.ucsc.edu>
Sometimes this happens when the instruction you are trying to execute
is a breakpoint. Do a x/i 0x0183ac7c and see what instruction you
are trying to execute.
Tim
On Thu, May 15, 2003 at 11:44:35AM -0700, Smita wrote:
> Hi,
> I am trying to debug a program with gdb5.3
> But, I keep getting this message:
> Program received signal SIGTRAP, Trace/breakpoint trap
> 0x0183ac7c in _sys_select ()
>
> I keep getting this even if i continue.
> Why am I seeing this? What is the solution to this?
>
> Thanks a lot.
> Smita
>