]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* corelow.c (core_close): Don't hardcode the core's pid.
authorPedro Alves <palves@redhat.com>
Mon, 16 Feb 2009 03:16:24 +0000 (03:16 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 16 Feb 2009 03:16:24 +0000 (03:16 +0000)
commit959b87241d85b42da82c45ecc4bc904895092730
tree2907c74deb6dcb97ec313592635b253a0098f7a6
parentd0a63aa7a17ac9f0b3281c5f09f4ece637639141
* corelow.c (core_close): Don't hardcode the core's pid.
(core_open): Find core threads before calling
post_create_inferior.
(add_to_thread_list, get_core_register_section): Take into account
systems where the regset section names encode the pid of the
inferior.

* gdbarch.sh (core_reg_section_encodes_pid): New gdbarch setting.
* gdbarch.h, gdbarch.c: Regenerate.

* amd64-sol2-tdep.c (amd64_sol2_init_abi): Set it.
* i386-sol2-tdep.c (i386_sol2_init_abi): Set it.
* sparc-sol2-tdep.c (sparc32_sol2_init_abi): Set it.
* sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Set it.
gdb/ChangeLog
gdb/amd64-sol2-tdep.c
gdb/corelow.c
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/i386-sol2-tdep.c
gdb/sparc-sol2-tdep.c
gdb/sparc64-sol2-tdep.c