aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2006-02-10 20:56:15 +0000
committerJoel Brobecker <brobecker@gnat.com>2006-02-10 20:56:15 +0000
commit1f82754b119f92e76335667e98be68ed79586a8e (patch)
tree5b8f4ba2f685f3ec83567d7a21bf5649b77ac3b6 /gdb/rs6000-tdep.c
parent577b70472619cc7e34c521607193a9a4e040221a (diff)
downloadgdb-1f82754b119f92e76335667e98be68ed79586a8e.zip
gdb-1f82754b119f92e76335667e98be68ed79586a8e.tar.gz
gdb-1f82754b119f92e76335667e98be68ed79586a8e.tar.bz2
* defs.h (gdb_osabi): New enum value GDB_OSABI_AIX.
* osabi.c (gdb_osabi_name): Add name of new value GDB_OSABI_AIX. * rs6000-tdep.h: New file. * rs6000-tdep.c: Include "rs6000-tdep.h". (rs6000_gdbarch_init): Remove enabling of software single step. Will be done in the AIX-specific initialization routine. * rs6000-aix-tdep.c: New file. * config/powerpc/aix.mt (TDEPFILES): Add rs6000-aix-tdep.o. * Makefile.in (rs6000_tdep_h): New variable. (rs6000-tdep.o): Update dependencies. (rs6000-aix-tdep.o): New rule.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 19a4bc9..f782800 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -60,6 +60,7 @@
#include "frame-base.h"
#include "reggroups.h"
+#include "rs6000-tdep.h"
/* If the kernel has to deliver a signal, it pushes a sigcontext
structure on the stack and then calls the signal handler, passing
@@ -3518,16 +3519,6 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
frame_base_append_sniffer (gdbarch, rs6000_frame_base_sniffer);
}
- if (from_xcoff_exec)
- {
- /* NOTE: jimix/2003-06-09: This test should really check for
- GDB_OSABI_AIX when that is defined and becomes
- available. (Actually, once things are properly split apart,
- the test goes away.) */
- /* RS6000/AIX does not support PT_STEP. Has to be simulated. */
- set_gdbarch_software_single_step (gdbarch, rs6000_software_single_step);
- }
-
init_sim_regno_table (gdbarch);
return gdbarch;