Can't Debug in Linux 2.0.33 with GDB 4.16 and egcs-2.90.23

Brian R (brianr@osiris.ml.org)
Fri, 03 Apr 1998 16:26:41 -0500


I'm using Linux 2.0.33 on this machine. If I compile a program, I can't
debug the resulting binary file on my system.

If I take the compiled binary to another system, I can debug it
successfully there. If I take the compiled binary and my GDB binary to
another system, I can debug the program there.

Here's the kinds of messages I get:

GDB 4.16 (i586-unknown-linux), Copyright 1996 Free Software Foundation,
Inc...
(gdb) run
Starting program: /home/osiris/brianr/uml/c1/p18/p18
Program received signal SIGTRAP, Trace/breakpoint trap.
0x8048090 in ___crt_dummy__ ()

I'm using GDB 4.16 and egcs-2.90.23. I had similar problems with GCC
2.7.2. The program works fine if I run it from the shell prompt. It runs
fine if I debug it on another machine (even using the same GDB binary).

Could this possibly be a kernel configuration problem or hardware
problem? I have a Intel p133 (stepping 12) on an Intel Triton VX
motherboard.

--
Brian Ristuccia
brianr@osiris.ml.org
bristucc@baynetworks.com
bristucc@cs.uml.edu

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu