Thread View: gnu.gdb.bug
1 messages
1 total messages
Started by David Hull
Sat, 11 Feb 1989 01:40
problem setting breakpoints
Author: David Hull
Date: Sat, 11 Feb 1989 01:40
Date: Sat, 11 Feb 1989 01:40
29 lines
1467 bytes
1467 bytes
I'm in the process of porting gdb 3.1 to a new processor, the
Intergraph CLIPPER. The system is running CLIX 3.0, which is based on
SVR3. I'm currently trying to get breakpoints working. The problem is
that the break command seems to be picking the wrong address to insert the
breakpoint at. The following excerpt from a gdb session shows what I
mean:
(gdb) b main
Breakpoint 1 at 0x1560000: file hello.c, line 7.
(gdb) p main
$1 = {int ()} 0x148
Unfortunately, the CLIPPER doesn't currently have a working debugger
(it has sdb, but it doesn't work). If anyone has any idea what the
problem might be, please send me mail. My guess is that it is a
big-endian/little-endian problem (the CLIPPER is little-endian),
but I don't know where to look.
Also, if someone would like to collaborate with me on the port, let me know!
-David
P.S. Did I do right posting to gnu.gdb.bug, or should I have mailed this
to bug-gdb@somewhere?
--
---------------------------------------
David Hull TRW Inc. Redondo Beach, CA
...!{uunet,cit-vax,trwrb}!wiley!david
david%wiley.uucp@csvax.caltech.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads