This is the mail archive of the gdb@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]
Other format: [Raw text]

Re: Can't build m68k-linux gdb-5.2.1


I'm trying to build a gdb for m68k-linux, configured as:

All the missing references are in gdb/m68klinux-nat.c, so I'd assume
this is supposed to be built, but isn't for --target=m68k-linux.  Does
anyone have any idea how I can get it to be built?
Looks like for the moment you'll need to use m68k-elf.

The file m68klinux-nat.c should only contain stuff for a native build (eg ptrace interface). The OS dependant, but not specific to native, is typically put in a file like m68k-linux-tdep.c. cf m68knbsd-tdep.c. Patches against mainline welcome (do you have an FSF assignment?).

It should also be noted that GDB's mainline m68k was recently multi-arched so while the m68k-elf should be ok, I'm not sure what the state of m68k-linux-gnu is.

Would you be able to create abug report to track this:
http://sources.redhat.com/gdb/bugs/

While I'm at it, how do I configure(and build) a gdbserver to run on
m68k-linux that's built on an x86-linux machine?

All help is appreciated.
You'll need to config/compile it using a cross compiler (m68k-linux-gnu-gcc say).

enjoy,
Andrew



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