This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Does m68klinux-tdep.c handle uclinux too
- From: Vladimir Prus <vladimir at codesourcery dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 10 Dec 2009 12:52:29 +0300
- Subject: Does m68klinux-tdep.c handle uclinux too
Hi,
looking at m68klinux-tdep.c, I see this:
if (target_is_uclinux == -1)
{
/* Determine whether we are running on a uClinux or normal GNU/Linux
target so we can use the correct sigcontext layouts. */
CORE_ADDR dummy;
target_is_uclinux
= (target_auxv_search (¤t_target, AT_NULL, &dummy) > 0
&& target_auxv_search (¤t_target, AT_PAGESZ, &dummy) == 0);
}
However, looking at configure.tgt, I see:
m68*-*-aout* | m68*-*-coff* | m68*-*-elf* | m68*-*-rtems* | m68*-*-uclinux* | \
fido-*-elf*)
# Target: Motorola m68k embedded (e.g. bug monitors)
gdb_target_obs="m68k-tdep.o monitor.o dbug-rom.o dsrec.o"
;;
So, it seems that m68klinux-tdep.c is not even compiled for uclinux target.
Then, is something here that needs fixing?
- Volodya