mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 10:03:47 +08:00
* s390-tdep.c: Include linux-tdep.h.
(s390_gdbarch_init): Call linux_init_abi.
This commit is contained in:
parent
a5ee0f0c4d
commit
7072899291
@ -1,3 +1,8 @@
|
||||
2010-08-04 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* s390-tdep.c: Include linux-tdep.h.
|
||||
(s390_gdbarch_init): Call linux_init_abi.
|
||||
|
||||
2010-08-04 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* corelow.c (core_pid_to_str): Default to using normal_pid_to_str
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "dis-asm.h"
|
||||
#include "solib-svr4.h"
|
||||
#include "prologue-value.h"
|
||||
|
||||
#include "linux-tdep.h"
|
||||
#include "s390-tdep.h"
|
||||
|
||||
#include "features/s390-linux32.c"
|
||||
@ -2909,6 +2909,10 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
||||
displaced_step_at_entry_point);
|
||||
set_gdbarch_max_insn_length (gdbarch, S390_MAX_INSTR_SIZE);
|
||||
|
||||
/* Note that GNU/Linux is the only OS supported on this
|
||||
platform. */
|
||||
linux_init_abi (info, gdbarch);
|
||||
|
||||
switch (tdep->abi)
|
||||
{
|
||||
case ABI_LINUX_S390:
|
||||
|
Loading…
Reference in New Issue
Block a user