* Can one debug 32-bit x86 images with an x86_64 gdb?
@ 2005-01-04 17:46 John Yates
2005-01-04 21:03 ` Andrew Cagney
0 siblings, 1 reply; 3+ messages in thread
From: John Yates @ 2005-01-04 17:46 UTC (permalink / raw)
To: gdb (E-mail)
We are starting to port our 32 bit product to an x86_64
platform (RH 4.0 beta2). Once we have it running as a
32 bit image (still compiled with gcc 2.96) we will start
the slog to gcc 3.x and a full 64 bit port.
Except for the 32 bit gcc which we have had to migrated
-- our code currently includes numerous anachronisms no
longer accepted by the 3.x compilers -- we have been able
to coax the native system tools (bison, ar, ld, etc) into
compliance with our 32 bit build procedure.
Debugging is a different story. The install gdb image
describes itself as:
6.1post-1.20040607.46rh
x86_64-redhat-linux-gnu
It does not decline to debug our 32 bit images yet it
produces total garbage. Is there a flag or environment
variable that I may have overlooked? Or is a single gdb
image not intended to fulfill both roles?
/john
--
John S. Yates, Jr. 508 665-6897 (voice)
Netezza Inc 508 665-6811 (fax)
200 Crossing Blvd. Framingham, MA 01701
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-04 21:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-04 17:46 Can one debug 32-bit x86 images with an x86_64 gdb? John Yates
2005-01-04 21:03 ` Andrew Cagney
2005-01-04 21:18 ` Mark Kettenis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox