aboutsummaryrefslogtreecommitdiff
path: root/gdb/tic6x-linux-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-08-08 11:00:50 -0600
committerTom Tromey <tromey@adacore.com>2022-09-20 12:25:19 -0600
commit549dfc51b07c0c749ebde15a3fa855ab496ea18a (patch)
tree19524424c91615492c20104d1e6b880e4afa5fc4 /gdb/tic6x-linux-tdep.c
parent9e468e953cd2f605a3f51d6ef6532e46b8fdd7b4 (diff)
downloadbinutils-549dfc51b07c0c749ebde15a3fa855ab496ea18a.zip
binutils-549dfc51b07c0c749ebde15a3fa855ab496ea18a.tar.gz
binutils-549dfc51b07c0c749ebde15a3fa855ab496ea18a.tar.bz2
Constify some target_so_ops instances
This changes some target_so_ops instances to be const. This makes their use a little more obvious (they can't be mutated) and also allows for the removal of some initialization code.
Diffstat (limited to 'gdb/tic6x-linux-tdep.c')
-rw-r--r--gdb/tic6x-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tic6x-linux-tdep.c b/gdb/tic6x-linux-tdep.c
index b99cfc0..855eb30 100644
--- a/gdb/tic6x-linux-tdep.c
+++ b/gdb/tic6x-linux-tdep.c
@@ -27,6 +27,7 @@
#include "elf-bfd.h"
#include "elf/tic6x.h"
#include "gdbarch.h"
+#include "solib-dsbt.h"
/* The offset from rt_sigframe pointer to SP register. */
#define TIC6X_SP_RT_SIGFRAME 8
@@ -161,7 +162,6 @@ tic6x_linux_syscall_next_pc (struct frame_info *frame)
}
-extern struct target_so_ops dsbt_so_ops;
static void
tic6x_uclinux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{