From: Larry Gray <larry@greenmotor.com>
To: gdb@sourceware.cygnus.com
Subject: Program thats runs in cpu32bug, won't run in gdb?
Date: Wed, 26 Sep 2001 08:50:00 -0000 [thread overview]
Message-ID: <0109261150070A.01569@larry> (raw)
Hello,
I'm using an sbc that contains cpu32bug, I compiled a small program with
m68k-coff-gcc, and run it successfully on the board using cpu32bug (via
serial port using minicom). I then compiled gdb-4.18 for m68k-coff, all
worked fine. After starting m68k-coff-gdb, I connect to the target cpu32bug,
and load the program, everything works fine. I verify the pc and sp with the
info registers command, and display the first few memory locations. However
when I type run, I get:
Starting program: /home/larry/hello.coff
Program received signal SIGTRAP, Trace/breakpoint trap.
0x39d0 in ?? ()
I can then quit gdb, open minicom, and run the program from cpu32bug, so gdb
loads the program correctly.
What am I missing?
Thanks in Advance,
Larry Gray
larry@greenmotor.com
reply other threads:[~2001-09-26 8:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0109261150070A.01569@larry \
--to=larry@greenmotor.com \
--cc=gdb@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox