RISC-V: Add osabi support.
gdb/ * riscv-tdep.c (riscv_gdbarch_init): Call gdbarch_init_osabi.
This commit is contained in:
parent
3fd217186c
commit
117a0e996d
@ -1,3 +1,7 @@
|
||||
2018-07-16 Jim Wilson <jimw@sifive.com>
|
||||
|
||||
* riscv-tdep.c (riscv_gdbarch_init): Call gdbarch_init_osabi.
|
||||
|
||||
2018-07-16 Simon Marchi <simon.marchi@ericsson.com>
|
||||
|
||||
* ia64-libunwind-tdep.c (libunwind_frame_cache): Remove unused
|
||||
|
@ -2569,6 +2569,9 @@ riscv_gdbarch_init (struct gdbarch_info info,
|
||||
user_reg_add (gdbarch, riscv_register_aliases[i].name,
|
||||
value_of_riscv_user_reg, &riscv_register_aliases[i].regnum);
|
||||
|
||||
/* Hook in OS ABI-specific overrides, if they have been registered. */
|
||||
gdbarch_init_osabi (info, gdbarch);
|
||||
|
||||
return gdbarch;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user