This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: step over "next" cause the application to crash


On Wed, Aug 29, 2007 at 06:13:27PM -0400, Jeeva Chelladhurai wrote:
> Hello,
> 
> I am debugging (gdb 6.0) one of our applications and when I step over
> "next" (after one or two tries) I get the below error.
> How do I resolve this problem?
> 
> NOTE: The application is running on UML (
> 2.4.20_mvlcge31-uml-2.4.27-1-1um) hosted on Red Hat (Red Hat Linux
> release 9 (Shrike)).

Everything in your log suggests that one of the above - all of GDB,
UML, and RHL are very old - is broken.  You should never see these
messages:

> Program received signal SIGTRAP, Trace/breakpoint trap.

> Warning:
> Cannot insert breakpoint 0.
> Error accessing memory address 0x1: Input/output error.

I would guess that UML was to blame.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]