mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 14:30:48 +00:00
2003-05-30 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: Regardless of the multi-arch level, always define the macro when not already defined. * gdbarch.h, gdbarch.c: Re-generate.
This commit is contained in:
parent
081933c009
commit
c25083afe3
@ -1,3 +1,9 @@
|
||||
2003-05-30 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* gdbarch.sh: Regardless of the multi-arch level, always define
|
||||
the macro when not already defined.
|
||||
* gdbarch.h, gdbarch.c: Re-generate.
|
||||
|
||||
2003-05-30 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* alpha-mdebug-tdep.c (alpha_mdebug_frame_p): Reject prologues.
|
||||
|
488
gdb/gdbarch.h
488
gdb/gdbarch.h
File diff suppressed because it is too large
Load Diff
@ -853,11 +853,9 @@ do
|
||||
printf "#if (GDB_MULTI_ARCH ${gt_level}) && defined (${macro})\n"
|
||||
printf "#error \"Non multi-arch definition of ${macro}\"\n"
|
||||
printf "#endif\n"
|
||||
printf "#if GDB_MULTI_ARCH\n"
|
||||
printf "#if (GDB_MULTI_ARCH ${gt_level}) || !defined (${macro})\n"
|
||||
printf "#if !defined (${macro})\n"
|
||||
printf "#define ${macro} (gdbarch_${function} (current_gdbarch))\n"
|
||||
printf "#endif\n"
|
||||
printf "#endif\n"
|
||||
fi
|
||||
done
|
||||
|
||||
@ -924,18 +922,9 @@ do
|
||||
printf "#if (GDB_MULTI_ARCH ${gt_level}) && defined (${macro})\n"
|
||||
printf "#error \"Non multi-arch definition of ${macro}\"\n"
|
||||
printf "#endif\n"
|
||||
if test "${level}" = ""
|
||||
then
|
||||
printf "#if !defined (${macro})\n"
|
||||
printf "#define ${macro} (gdbarch_${function} (current_gdbarch))\n"
|
||||
printf "#endif\n"
|
||||
else
|
||||
printf "#if GDB_MULTI_ARCH\n"
|
||||
printf "#if (GDB_MULTI_ARCH ${gt_level}) || !defined (${macro})\n"
|
||||
printf "#define ${macro} (gdbarch_${function} (current_gdbarch))\n"
|
||||
printf "#endif\n"
|
||||
printf "#endif\n"
|
||||
fi
|
||||
printf "#if !defined (${macro})\n"
|
||||
printf "#define ${macro} (gdbarch_${function} (current_gdbarch))\n"
|
||||
printf "#endif\n"
|
||||
fi
|
||||
if class_is_function_p
|
||||
then
|
||||
@ -982,8 +971,16 @@ do
|
||||
printf "#if (GDB_MULTI_ARCH ${gt_level}) && defined (${macro})\n"
|
||||
printf "#error \"Non multi-arch definition of ${macro}\"\n"
|
||||
printf "#endif\n"
|
||||
printf "#if GDB_MULTI_ARCH\n"
|
||||
printf "#if (GDB_MULTI_ARCH ${gt_level}) || !defined (${macro})\n"
|
||||
if [ "x${actual}" = "x" ]
|
||||
then
|
||||
d="#define ${macro}() (gdbarch_${function} (current_gdbarch))"
|
||||
elif [ "x${actual}" = "x-" ]
|
||||
then
|
||||
d="#define ${macro} (gdbarch_${function} (current_gdbarch))"
|
||||
else
|
||||
d="#define ${macro}(${actual}) (gdbarch_${function} (current_gdbarch, ${actual}))"
|
||||
fi
|
||||
printf "#if !defined (${macro})\n"
|
||||
if [ "x${actual}" = "x" ]
|
||||
then
|
||||
printf "#define ${macro}() (gdbarch_${function} (current_gdbarch))\n"
|
||||
@ -994,7 +991,6 @@ do
|
||||
printf "#define ${macro}(${actual}) (gdbarch_${function} (current_gdbarch, ${actual}))\n"
|
||||
fi
|
||||
printf "#endif\n"
|
||||
printf "#endif\n"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user