This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
questions
- To: gdb-patches at sourceware dot cygnus dot com, Michael Snyder <msnyder at redhat dot com>, Andrew Cagney <ac131313 at cygnus dot com>
- Subject: questions
- From: DJBARROW at de dot ibm dot com
- Date: Fri, 13 Oct 2000 17:32:08 +0200
1) Is the multi arch stuff experimental/incomplete
configure --target=i586-ibm-linux --target=m68hc11,
or similar work ?
How do you switch targets in gdb ?
set target maybe ???
2) Do you get into trouble with hard definitions like CORE_ADDR & LONGEST
when moving from between
32 & 64 bit targets dynamically & if not how do you avoid it.
Why isn't anybody using harder definitions like __u32 in asm/types.h
rather than depending on ints to be 32 bits everywhere.
>GDB no longer accepts new targets that do not use the new multi-arch
>framework. See the m68hc11 target.
2) It should be possible ( though difficult to autogenerate) this stuff
from the older existing definitions using m4/perl or similar.
e.g.
#include<config/$ARCH/tm-ARCH.h>
char $ARCH_register_names=REGISTER_NAMES;
D.J. Barrow Linux for S/390 kernel developer
eMail: djbarrow@de.ibm.com,barrow_dj@yahoo.com
Phone: +49-(0)7031-16-2583
IBM Germany Lab, Schönaicherstr. 220, 71032 Böblingen