aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-som.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-11-09 19:58:03 +0000
committerTom Tromey <tromey@redhat.com>2012-11-09 19:58:03 +0000
commitf5656eadf4383cc733b96ff49ba8efbea6922ad3 (patch)
tree9112778161c6473a6553b5c9491f7ad191f5f477 /gdb/solib-som.c
parent0420f52b9441ae498323d1656d5d2af66a1e13c7 (diff)
downloadgdb-f5656eadf4383cc733b96ff49ba8efbea6922ad3.zip
gdb-f5656eadf4383cc733b96ff49ba8efbea6922ad3.tar.gz
gdb-f5656eadf4383cc733b96ff49ba8efbea6922ad3.tar.bz2
* gdbarch.sh (target_gdbarch): Remove macro.
(get_target_gdbarch): Rename to target_gdbarch. * gdbarch.c, gdbarch.h: Rebuild. * ada-tasks.c, aix-thread.c, amd64-linux-nat.c, arch-utils.c, arm-tdep.c, auxv.c, breakpoint.c, bsd-uthread.c, corefile.c, darwin-nat-info.c, dcache.c, dsrec.c, exec.c, fbsd-nat.c, filesystem.c, gcore.c, gnu-nat.c, i386-darwin-nat.c, i386-nat.c, ia64-vms-tdep.c, inf-ptrace.c, infcmd.c, jit.c, linux-nat.c, linux-tdep.c, linux-thread-db.c, m32r-rom.c, memattr.c, mep-tdep.c, microblaze-tdep.c, mips-linux-nat.c, mips-linux-tdep.c, mips-tdep.c, monitor.c, moxie-tdep.c, nto-procfs.c, nto-tdep.c, ppc-linux-nat.c, proc-service.c, procfs.c, progspace.c, ravenscar-thread.c, record.c, remote-m32r-sdi.c, remote-mips.c, remote-sim.c, remote.c, rl78-tdep.c, rs6000-nat.c, rx-tdep.c, s390-nat.c, sol-thread.c, solib-darwin.c, solib-dsbt.c, solib-frv.c, solib-ia64-hpux.c, solib-irix.c, solib-pa64.c, solib-som.c, solib-spu.c, solib-sunos.c, solib-svr4.c, solib.c, spu-linux-nat.c, spu-multiarch.c, spu-tdep.c, symfile-mem.c, symfile.c, symtab.c, target-descriptions.c, target.c, target.h, tracepoint.c, windows-nat.c, windows-tdep.c, xcoffsolib.c, cli/cli-dump.c, common/agent.c, mi/mi-interp.c, python/py-finishbreakpoint.c, python/py-inferior.c, python/python.c: Update.
Diffstat (limited to 'gdb/solib-som.c')
-rw-r--r--gdb/solib-som.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/gdb/solib-som.c b/gdb/solib-som.c
index 6fea108..47bf5a3 100644
--- a/gdb/solib-som.c
+++ b/gdb/solib-som.c
@@ -185,7 +185,7 @@ struct {
static void
som_solib_create_inferior_hook (int from_tty)
{
- enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch);
+ enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ());
struct minimal_symbol *msymbol;
unsigned int dld_flags, status, have_endo;
asection *shlib_info;
@@ -288,7 +288,7 @@ Suggest linking with /opt/langtools/lib/end.o.\n\
GDB will be unable to track shl_load/shl_unload calls"));
goto keep_going;
}
- create_solib_event_breakpoint (target_gdbarch,
+ create_solib_event_breakpoint (target_gdbarch (),
SYMBOL_VALUE_ADDRESS (msymbol));
/* We have all the support usually found in end.o, so we can track
@@ -353,7 +353,7 @@ manpage for methods to privately map shared library text."));
anaddr = SYMBOL_VALUE_ADDRESS (msymbol);
/* Make the breakpoint at "_start" a shared library event breakpoint. */
- create_solib_event_breakpoint (target_gdbarch, anaddr);
+ create_solib_event_breakpoint (target_gdbarch (), anaddr);
clear_symtab_users (0);
}
@@ -525,7 +525,7 @@ struct dld_list {
static CORE_ADDR
link_map_start (void)
{
- enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch);
+ enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ());
struct minimal_symbol *sym;
CORE_ADDR addr;
char buf[4];
@@ -575,7 +575,7 @@ match_main (const char *name)
static struct so_list *
som_current_sos (void)
{
- enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch);
+ enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ());
CORE_ADDR lm;
struct so_list *head = 0;
struct so_list **link_ptr = &head;
@@ -642,27 +642,27 @@ som_current_sos (void)
#ifdef SOLIB_SOM_DBG
printf ("\n+ library \"%s\" is described at %s\n", new->so_name,
- paddress (target_gdbarch, lm));
+ paddress (target_gdbarch (), lm));
printf (" 'version' is %d\n", new->lm_info->struct_version);
printf (" 'bind_mode' is %d\n", new->lm_info->bind_mode);
printf (" 'library_version' is %d\n",
new->lm_info->library_version);
printf (" 'text_addr' is %s\n",
- paddress (target_gdbarch, new->lm_info->text_addr));
+ paddress (target_gdbarch (), new->lm_info->text_addr));
printf (" 'text_link_addr' is %s\n",
- paddress (target_gdbarch, new->lm_info->text_link_addr));
+ paddress (target_gdbarch (), new->lm_info->text_link_addr));
printf (" 'text_end' is %s\n",
- paddress (target_gdbarch, new->lm_info->text_end));
+ paddress (target_gdbarch (), new->lm_info->text_end));
printf (" 'data_start' is %s\n",
- paddress (target_gdbarch, new->lm_info->data_start));
+ paddress (target_gdbarch (), new->lm_info->data_start));
printf (" 'bss_start' is %s\n",
- paddress (target_gdbarch, new->lm_info->bss_start));
+ paddress (target_gdbarch (), new->lm_info->bss_start));
printf (" 'data_end' is %s\n",
- paddress (target_gdbarch, new->lm_info->data_end));
+ paddress (target_gdbarch (), new->lm_info->data_end));
printf (" 'got_value' is %s\n",
- paddress (target_gdbarch, new->lm_info->got_value));
+ paddress (target_gdbarch (), new->lm_info->got_value));
printf (" 'tsd_start_addr' is %s\n",
- paddress (target_gdbarch, new->lm_info->tsd_start_addr));
+ paddress (target_gdbarch (), new->lm_info->tsd_start_addr));
#endif
new->addr_low = lmi->text_addr;
@@ -692,7 +692,7 @@ som_current_sos (void)
static int
som_open_symbol_file_object (void *from_ttyp)
{
- enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch);
+ enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ());
CORE_ADDR lm, l_name;
char *filename;
int errcode;