aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-08-11 01:30:11 +0000
committerAndrew Cagney <cagney@redhat.com>2000-08-11 01:30:11 +0000
commit16f33e29665bda543991f02b53da05d7e6486f13 (patch)
tree7e64424379d575a729dac47add70b3eb3532dd4b /gdb/rs6000-nat.c
parent63872f9d95e101df1f08422179d1d676a2f10b9a (diff)
downloadgdb-16f33e29665bda543991f02b53da05d7e6486f13.zip
gdb-16f33e29665bda543991f02b53da05d7e6486f13.tar.gz
gdb-16f33e29665bda543991f02b53da05d7e6486f13.tar.bz2
Rename gdbarch_update() to gdbarch_update_p()
Diffstat (limited to 'gdb/rs6000-nat.c')
-rw-r--r--gdb/rs6000-nat.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c
index 6afb4cf..0bf1e32 100644
--- a/gdb/rs6000-nat.c
+++ b/gdb/rs6000-nat.c
@@ -908,7 +908,10 @@ set_host_arch (int pid)
memset (&info, 0, sizeof info);
info.bfd_arch_info = bfd_get_arch_info (&abfd);
- gdbarch_update (info);
+ if (!gdbarch_update_p (info))
+ {
+ internal_error ("set_host_arch: failed to select architecture");
+ }
}