Fix build breakage in NetBSD tdep files
A recent patch caused some build failures in NetBSD tdep files. I saw this failure in my --enable-target=all build. This patch fixes the problems. Tested by rebuilding. I am going to check this in. gdb/ChangeLog 2020-04-06 Tom Tromey <tromey@adacore.com> * sh-nbsd-tdep.c: Include nbsd-tdep.h. * ppc-nbsd-tdep.c: Include nbsd-tdep.h. * mips-nbsd-tdep.c (mipsnbsd_init_abi): Add missing ";". * arm-nbsd-tdep.c: Include nbsd-tdep.h. * hppa-nbsd-tdep.c: Include nbsd-tdep.h.
This commit is contained in:
parent
93689ce912
commit
dea34e8cc3
@ -1,3 +1,11 @@
|
|||||||
|
2020-04-06 Tom Tromey <tromey@adacore.com>
|
||||||
|
|
||||||
|
* sh-nbsd-tdep.c: Include nbsd-tdep.h.
|
||||||
|
* ppc-nbsd-tdep.c: Include nbsd-tdep.h.
|
||||||
|
* mips-nbsd-tdep.c (mipsnbsd_init_abi): Add missing ";".
|
||||||
|
* arm-nbsd-tdep.c: Include nbsd-tdep.h.
|
||||||
|
* hppa-nbsd-tdep.c: Include nbsd-tdep.h.
|
||||||
|
|
||||||
2020-04-06 Tom Tromey <tromey@adacore.com>
|
2020-04-06 Tom Tromey <tromey@adacore.com>
|
||||||
|
|
||||||
* dwarf2/read.c (read_base_type) <DW_ATE_complex_float>: Handle
|
* dwarf2/read.c (read_base_type) <DW_ATE_complex_float>: Handle
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include "arch/arm.h"
|
#include "arch/arm.h"
|
||||||
#include "arm-nbsd-tdep.h"
|
#include "arm-nbsd-tdep.h"
|
||||||
|
#include "nbsd-tdep.h"
|
||||||
#include "arm-tdep.h"
|
#include "arm-tdep.h"
|
||||||
#include "regset.h"
|
#include "regset.h"
|
||||||
#include "solib-svr4.h"
|
#include "solib-svr4.h"
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
#include "hppa-tdep.h"
|
#include "hppa-tdep.h"
|
||||||
#include "hppa-bsd-tdep.h"
|
#include "hppa-bsd-tdep.h"
|
||||||
|
#include "nbsd-tdep.h"
|
||||||
#include "gdbarch.h"
|
#include "gdbarch.h"
|
||||||
|
|
||||||
/* From <machine/mcontext.h>. */
|
/* From <machine/mcontext.h>. */
|
||||||
|
@ -354,7 +354,7 @@ static void
|
|||||||
mipsnbsd_init_abi (struct gdbarch_info info,
|
mipsnbsd_init_abi (struct gdbarch_info info,
|
||||||
struct gdbarch *gdbarch)
|
struct gdbarch *gdbarch)
|
||||||
{
|
{
|
||||||
nbsd_init_abi (info, gdbarch)
|
nbsd_init_abi (info, gdbarch);
|
||||||
|
|
||||||
set_gdbarch_iterate_over_regset_sections
|
set_gdbarch_iterate_over_regset_sections
|
||||||
(gdbarch, mipsnbsd_iterate_over_regset_sections);
|
(gdbarch, mipsnbsd_iterate_over_regset_sections);
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
#include "tramp-frame.h"
|
#include "tramp-frame.h"
|
||||||
|
|
||||||
#include "ppc-tdep.h"
|
#include "ppc-tdep.h"
|
||||||
#include "ppc-nbsd-tdep.h"
|
#include "nbsd-tdep.h"
|
||||||
|
#include "ppc-tdep.h"
|
||||||
#include "solib-svr4.h"
|
#include "solib-svr4.h"
|
||||||
|
|
||||||
/* Register offsets from <machine/reg.h>. */
|
/* Register offsets from <machine/reg.h>. */
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#include "osabi.h"
|
#include "osabi.h"
|
||||||
|
|
||||||
#include "sh-tdep.h"
|
#include "sh-tdep.h"
|
||||||
|
#include "nbsd-tdep.h"
|
||||||
#include "solib-svr4.h"
|
#include "solib-svr4.h"
|
||||||
#include "gdbarch.h"
|
#include "gdbarch.h"
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include "osabi.h"
|
#include "osabi.h"
|
||||||
|
|
||||||
#include "vax-tdep.h"
|
#include "vax-tdep.h"
|
||||||
|
#include "nbsd-tdep.h"
|
||||||
#include "solib-svr4.h"
|
#include "solib-svr4.h"
|
||||||
|
|
||||||
/* NetBSD ELF. */
|
/* NetBSD ELF. */
|
||||||
|
Loading…
Reference in New Issue
Block a user