This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
insight & ddd
- From: Ian Gilmour <ian dot gilmour at ffei dot co dot uk>
- To: "'insight at sources dot redhat dot com'" <insight at sources dot redhat dot com>
- Date: Fri, 29 Nov 2002 16:30:17 -0000
- Subject: insight & ddd
I've used ddd for a while and am just starting off using insight.
I've got a gdb user macro in ~/.gdbinit that runs fine using
powerpc-eabi-gdb (insight version) but when I run the same
macro using ddd as the front-end (and insight as the gdb backend) I get...
-----------------------------
GNU DDD 3.3 (i586-mandrake-linux-gnu), by Dorothea Lütkehaus and Andreas
Zeller.
Copyright © 1995-1999 Technische Universität Braunschweig, Germany.
Copyright © 1999-2001 Universität Passau, Germany.
setting up printing options...
(gdb) psimddd
Connected to the simulator.
Breakpoint 1 at 0x36d8: file twothreads.c, line 25.
void cyg_user_start(void);
Breakpoint 2 at 0x788c: file
/usr/local/tools/src/ecosCVS/ecos/packages/infra/current/src/tcdiag.cxx,
line 261.
void cyg_test_exit(void);
Breakpoint 3 at 0x600c: file
/usr/local/tools/src/ecosCVS/ecos/packages/infra/current/src/buffer.cxx,
line 727.
void cyg_assert_fail(char *, char *, cyg_uint32, char *);
Segmentation fault
------------------------------
psimddd contains...
------------------------------
define psimddd
target sim -o '/iobus/pal@0xf0001000/reg 0xf0001000 32'
load
rbreak cyg_user_start
rbreak cyg_test_exit
rbreak cyg_assert_fail
end
------------------------------
Any clues as to whether this is a ddd problem, an insight problem or my
config?
Do I need a raw version of gdb to overcome it?
Any ideas?
N.B. Host is linux.
cheers,
Ian