This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

questions




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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]