aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-01-17 00:00:48 +0000
committerAndrew Cagney <cagney@redhat.com>2004-01-17 00:00:48 +0000
commit7aea86e6b121d5a8f4e531180f7ba548f876c252 (patch)
tree24ec3c6c4d312f3d10ee139cbc938db9c10ded38 /gdb/rs6000-nat.c
parent593a5c7394ed22cfdf046429148727a51d5b1e74 (diff)
downloadgdb-7aea86e6b121d5a8f4e531180f7ba548f876c252.zip
gdb-7aea86e6b121d5a8f4e531180f7ba548f876c252.tar.gz
gdb-7aea86e6b121d5a8f4e531180f7ba548f876c252.tar.bz2
2004-01-16 Andrew Cagney <cagney@redhat.com>
Changes from Peter Schauer. * rs6000-tdep.c: Update copyright year. (rs6000_push_dummy_call): Update the stack pointer before accessing the corresponding stack region. * rs6000-nat.c: Update copyright year. (set_host_arch): Set "info.abfd" to "exec_bfd".
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r--gdb/rs6000-nat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index 7878984..3d6c07c 100644
--- a/gdb/rs6000-nat.c
+++ b/gdb/rs6000-nat.c
@@ -1,8 +1,8 @@
/* IBM RS/6000 native-dependent code for GDB, the GNU debugger.
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
- 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation,
- Inc.
+ 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
+ Foundation, Inc.
This file is part of GDB.
@@ -1002,6 +1002,7 @@ set_host_arch (int pid)
gdbarch_info_init (&info);
info.bfd_arch_info = bfd_get_arch_info (&abfd);
+ info.abfd = exec_bfd;
if (!gdbarch_update_p (info))
{