Markus Deuling
9970f04b03
2007-11-07 Markus Deuling <deuling@de.ibm.com>
...
* shnbsd-tdep.c (shnbsd_supply_gregset, shnbsd_collect_gregset): Use
get_regcache_arch to get at the current architecture by regcache.
* xstormy16-tdep.c (xstormy16_frame_prev_register): Use get_frame_arch
to get at the current architecture by frame_info.
* fbsd-nat.c (fbsd_make_corefile_notes): Use get_regcache_arch to get
at the current architecture by regcache.
* gnu-v3-abi.c (gnuv3_skip_trampoline): Use get_frame_arch to get at
the current architecture by frame_info.
(build_gdb_vtable_type): Replace current_gdbarch by gdbarch.
* aix-thread.c (special_register_p): Add gdbarch as parameter.
(fetch_regs_kernel_thread, store_regs_kernel_thread): Add gdbarch to
caller of special_register_p.
2007-11-07 06:53:41 +00:00
Markus Deuling
0b9dfe2bb3
2007-11-07 Markus Deuling <deuling@de.ibm.com>
...
* infcall.c (call_function_by_hand): Use get_frame_arch to get at the
current architecture by frame_info.
2007-11-07 06:49:39 +00:00
Markus Deuling
c85419665b
2007-11-07 Markus Deuling <deuling@de.ibm.com>
...
* xtensa-tdep.h (SIZEOF_GREGSET, XTENSA_ELF_NGREG) Remove.
2007-11-07 06:44:50 +00:00
Markus Deuling
8fe9ea88f1
2007-11-07 Markus Deuling <deuling@de.ibm.com>
...
* s390-nat.c (supply_gregset, fill_gregset): Use get_regcache_arch to
get at the current architecture by regcache.
(SUBOFF): Add gdbarch to macro definition.
2007-11-07 06:36:57 +00:00
Markus Deuling
67d5789459
*** empty log message ***
2007-11-07 06:33:01 +00:00
Markus Deuling
7a22ecfc4b
2007-11-07 Markus Deuling <deuling@de.ibm.com>
...
* frv-tdep.c (frv_register_name, frv_check_watch_resources): Replace
macro CURRENT_VARIANT by its expression.
(CURRENT_VARIANT): Remove.
(frv_check_watch_resources): Add gdbarch parameter.
2007-11-07 06:10:23 +00:00
Markus Deuling
213a758aef
2007-11-07 Markus Deuling <deuling@de.ibm.com>
...
* MAINTAINERS (Write After Approval): Add self.
2007-11-07 05:45:08 +00:00
gdbadmin
53c8095f60
*** empty log message ***
2007-11-07 00:00:02 +00:00
gdbadmin
c63eb11c7b
*** empty log message ***
2007-11-06 00:00:03 +00:00
Ulrich Weigand
f03eb1cffe
* features/rs6000/power-core.xml: Use uint32 as register type.
...
* features/rs6000/power64-core.xml: Use uint64/uint32 as register type.
* features/rs6000/powerpc-32.c: Regenerate.
* features/rs6000/powerpc-403.c: Regenerate.
* features/rs6000/powerpc-403gc.c: Regenerate.
* features/rs6000/powerpc-505.c: Regenerate.
* features/rs6000/powerpc-602.c: Regenerate.
* features/rs6000/powerpc-603.c: Regenerate.
* features/rs6000/powerpc-604.c: Regenerate.
* features/rs6000/powerpc-64.c: Regenerate.
* features/rs6000/powerpc-7400.c: Regenerate.
* features/rs6000/powerpc-750.c: Regenerate.
* features/rs6000/powerpc-860.c: Regenerate.
* features/rs6000/powerpc-e500.c: Regenerate.
2007-11-05 21:55:39 +00:00
Daniel Jacobowitz
f9387fc3b0
* linux-low.c: Include <sched.h>.
2007-11-05 19:22:08 +00:00
Joel Brobecker
c40e75cd6e
* breakpoint.c (set_raw_breakpoint_without_location): Make static.
2007-11-05 18:24:29 +00:00
Joel Brobecker
9b70b9936e
* breakpoint.h (create_solib_load_event_breakpoint)
...
(create_solib_unload_event_breakpoint)
(create_fork_event_catchpoint, create_vfork_event_catchpoint)
(create_exec_event_catchpoint): Delete declaration.
* breakpoint.c (create_solib_load_event_breakpoint)
(solib_load_unload_1, create_solib_unload_event_breakpoint): Delete.
(create_fork_event_catchpoint, create_vfork_event_catchpoint)
(create_exec_event_catchpoint): Make static.
2007-11-05 18:18:47 +00:00
Joel Brobecker
60b0bfbcb3
* breakpoint.h (set_breakpoint_sal): Remove declaration.
...
* breakpoint.c (set_breakpoint_sal): Delete.
2007-11-05 18:09:18 +00:00
Joel Brobecker
a239dc2386
* buildsym.c (finish_block): Remove "#if 1"/"#endif" brackets.
...
(make_blockvector): Likewise. Remove FIXME comment.
2007-11-05 18:06:10 +00:00
Luis Machado
1a619819d6
* printcmd.c: (printf_command): Add support for new DFP
...
modifiers %H, %D and %DD.
* configure.ac: Add check for DECFLOAT printf support.
* configure: Regenerated.
* doc/gdb.texinfo: Update printf command's description.
* testsuite/gdb.base/printcmds.exp: New function
test_printf_with_dfp.
2007-11-05 11:32:31 +00:00
gdbadmin
387e6cdd96
*** empty log message ***
2007-11-05 00:00:34 +00:00
gdbadmin
1a2436f71e
*** empty log message ***
2007-11-04 00:00:34 +00:00
gdbadmin
9b1d0e0121
*** empty log message ***
2007-11-03 00:00:03 +00:00
Doug Evans
5b01a6fa22
* gdb.disasm/t01_mov.s: Remove carriage returns.
...
* gdb.disasm/t02_mova.s: Ditto.
* gdb.disasm/t03_add.s: Ditto.
* gdb.disasm/t04_sub.s: Ditto.
* gdb.disasm/t05_cmp.s: Ditto.
* gdb.disasm/t06_ari2.s: Ditto.
* gdb.disasm/t07_ari3.s: Ditto.
* gdb.disasm/t08_or.s: Ditto.
* gdb.disasm/t09_xor.s: Ditto.
* gdb.disasm/t10_and.s: Ditto.
* gdb.disasm/t11_logs.s: Ditto.
* gdb.disasm/t12_bit.s: Ditto.
* gdb.disasm/t13_otr.s: Ditto.
2007-11-02 20:33:12 +00:00
Ulrich Weigand
086280be76
* gdbtypes.h (struct cplus_struct_type): Remove runtime_ptr member.
...
(TYPE_RUNTIME_PTR, TYPE_VTABLE, TYPE_HAS_VTABLE,
TYPE_PRIMARY_BASE, TYPE_VIRTUAL_BASE_LIST): Remove macros.
(HP_ACC_VFUNC_START, HP_ACC_VBASE_START, HP_ACC_TYPEINFO_OFFSET,
HP_ACC_TOP_OFFSET_OFFSET): Likewise.
(has_vtable, primary_base_class, virtual_base_list_length,
virtual_base_list_length_skip_primaries, virtual_base_index,
virtual_base_index_skip_primaries, class_index_in_primary_list,
count_virtual_fns): Remove prototypes.
* gdbtypes.c (has_vtable, primary_base_class, current_vbase_list,
virtual_base_list_aux, virtual_base_list, virtual_base_list_length,
virtual_base_list_length_skip_primaries, virtual_base_index,
virtual_base_index_skip_primaries, class_index_in_primary_list,
count_virtual_fns): Remove.
* cp-valprint.c (cp_print_hpacc_virtual_table_entries): Remove.
(hpacc_vtbl_ptr_name, hpacc_vtbl_ptr_type_name): Remove.
(cp_print_value_fields): Remove support for HP aCC vtables.
(cp_print_value): Likewise.
* c-typeprint.c (c_type_print_base): Likewise.
* value.h (find_rt_vbase_offset): Remove prototype.
* valops.c (find_rt_vbase_offset): Remove.
(search_struct_method): Remove support for HP aCC vtables.
(find_method_list): Likewise.
2007-11-02 19:35:19 +00:00
Ulrich Weigand
aba2dd37f7
* language.h (struct language_defn): Remove la_builtin_type_vector
...
and string_char_type members.
* language.c (language_string_char_type): No longer consult
la->string_char_type.
(language_lookup_primitive_type_by_name): No longer consult
current_language->la_builtin_type_vector.
* language.c (unknown_language_defn, auto_language_defn,
local_language_defn): Adapt initializer.
* ada-lang.c (ada_language_defn): Likewise.
* c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn,
minimal_language_defn): Likewise.
* f-lang.c (f_language_defn): Likewise.
* jv-lang.c (java_language_defn): Likewise.
* m2-lang.c (m2_language_defn): Likewise.
* objc-lang.c (objc_language_defn): Likewise.
* p-lang.c (pascal_language_defn): Likewise.
* scm-lang.c (scm_language_defn): Likewise.
2007-11-02 19:34:11 +00:00
Ulrich Weigand
09a7aba80a
2007-11-02 Markus Deuling <deuling@de.ibm.com>
...
* frame.c (frame_id_inner): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
(frame_find_by_id, get_prev_frame_1): Use get_frame_arch to get at the
current architecture by frame_info.
* frame.h (frame_id_inner): Add gdbarch parameter.
* stack.c (return_command): Use get_frame_arch to get at the current
architecture by frame_info. Update call of frame_id_inner.
* infrun.c (handle_inferior_event): Likewise.
* dummy-frame.c (dummy_frame_push): Use get_regcache_arch to get at the
current architecture by regcache. Update call of frame_id_inner.
2007-11-02 14:47:28 +00:00
Ulrich Weigand
d93859e2e8
2007-11-02 Markus Deuling <deuling@de.ibm.com>
...
* gdbarch.sh (register_name): Add gdbarch parameter.
* gdbarch.{c,h}: Regenerate.
* target-descriptions.c (tdesc_register_name): Add gdbarch parameter.
(tdesc_register_name): Replace current_gdbarch by gdbarch.
* target-descriptions.h (tdesc_register_name): Add gdbarch parameter.
* xstormy16-tdep.c (xstormy16_register_name): Add gdbarch parameter.
* vax-tdep.c (vax_register_name): Add gdbarch parameter.
* spu-tdep.c (spu_register_name): Add gdbarch parameter.
* s390-tdep.c (s390_register_name): Add gdbarch parameter.
* mt-tdep.c (mt_register_name): Add gdbarch parameter.
(mt_registers_info): Replace current_gdbarch by gdbarch.
(mt_register_reggroup_p): Add gdbarch to mt_register_name call.
* mips-tdep.c (mips_register_name): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
(mips_register_name): Add gdbarch to tdesc_register_name call.
* mep-tdep.c (mep_register_name): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
(mep_register_reggroup_p): Add gdbarch to mep_register_name call.
* m32c-tdep.c (m32c_register_name): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
* m88k-tdep.c (m88k_register_name): Add gdbarch parameter.
* m68k-tdep.c (m68k_register_name): Add gdbarch parameter.
* m32r-tdep.c (m32r_register_name): Add gdbarch parameter.
(m32r_frame_unwind_cache): Use get_frame_arch to get at the current
architecture by frame_info.
* iq2000-tdep.c (iq2000_register_name): Add gdbarch parameter.
* ia64-tdep.c (ia64_register_name): Add gdbarch parameter.
* hppa-tdep.c (hppa32_register_name, hppa64_register_name): Add gdbarch
parameter.
* h8300-tdep.c (h8300_register_name, h8300s_register_name)
(h8300sx_register_name): Add gdbarch parameter.
* cris-tdep.c (cris_register_name, crisv32_register_name): Add
gdbarch parameter. Replace current_gdbarch by gdbarch.
(cris_gdbarch_init): Replace current_gdbarch by gdbarch (comment).
* avr-tdep.c (avr_register_name): Add gdbarch parameter.
* arm-tdep.c (arm_register_name): Add gdbarch paramete
* amd64-tdep.c (amd64_register_name): Add gdbarch parameter. Update
caller.
* amd64-tdep.h (amd64_register_name): Add gdbarch parameter.
* amd64-linux-tdep.c (amd64_linux_register_name): Add gdbarch parameter.
* alpha-tdep.c (alpha_register_name): Add gdbarch parameter.
(alpha_cannot_fetch_register, alpha_cannot_store_register): Update call
of alpha_register_name.
* frv-tdep.c (frv_register_name): Add gdbarch parameter.
* i386-tdep.c (i386_register_name): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
(i386_register_type): Replace ?current_gdbarch by gdbarch.
* i386-tdep.h (i386_register_name): Add gdbarch parameter.
* i386-linux-tdep.c (i386_linux_register_name): Add gdbarch parameter.
* m68hc11-tdep.c (m68hc11_register_name): Add gdbarch parameter.
(m68hc11_register_reggroup_p): Add gdbarch to call of
m68hc11_register_name.
* mn10300-tdep.c (mn10300_generic_register_name, am33_register_name)
(am33_2_register_name): Add gdbarch parameter.
(mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
architecture by frame_info.
(mn10300_dump_tdep): Replace current_gdbarch by gdbarch.
* rs6000-tdep.c (rs6000_register_name): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
* score-tdep.c (score_register_name): Add gdbarch parameter.
(score_return_value, score_push_dummy_call): Replace current_gdbarch
by gdbarch.
* sh64-tdep.c (sh64_register_name): Add gdbarch parameter.
(sh64_compact_reg_base_num, sh64_register_convert_to_virtual)
(sh64_register_convert_to_raw, sh64_fv_reg_base_num)
(sh64_dr_reg_base_num, sh64_fpp_reg_base_num): Add gdbarch parameter
and update caller. Replace current_gdbarch by gdbarch.
(sh64_extract_return_value, sh64_store_return_value): Use
get_regcache_arch to get at the current architecture by regcache.
* sh-tdep.c (sh_sh_register_name, sh_sh3_register_name)
(sh_sh3e_register_name, sh_sh2e_register_name, sh_sh2a_register_name)
(sh_sh2a_nofpu_register_name, sh_sh_dsp_register_name)
(sh_sh3_dsp_register_name, sh_sh4_register_name)
(sh_sh4_nofpu_register_name, sh_sh4al_dsp_register_name): Add gdbarch
parameter.
(fv_reg_base_num, dr_reg_base_num, sh_justify_value_in_reg)
(sh_next_flt_argreg): Add gdbarch parameter and update caller. Replace
current_gdbarch by gdbarch.
(sh_extract_return_value_fpu, sh_store_return_value_fpu): Use
get_regcache_arch to get at the current architecture by regcache.
* sparc-tdep.c (sparc32_register_name): Add gdbarch parameter.
* sparc64-tdep.c (sparc64_register_name): Add gdbarch parameter.
* v850-tdep.c (v850_register_name, v850e_register_name): Add gdbarch
parameter.
(v850_unwind_sp, v850_unwind_pc): Replace current_gdbarch by gdbarch.
* xtensa-tdep.c (xtensa_register_name): Add gdbarch parameter. Replace
current_gdbarch by gdbarch.
(xtensa_pseudo_register_read, xtensa_pseudo_register_write)
(xtensa_frame_prev_register): Add gdbarch parameter to
xtensa_register_name call.
2007-11-02 14:27:15 +00:00
gdbadmin
e4342ca3b8
*** empty log message ***
2007-11-02 00:00:03 +00:00
Daniel Jacobowitz
51c2684ec1
* linux-low.c (linux_tracefork_grandchild): New.
...
(linux_tracefork_child): Use clone.
(linux_test_for_tracefork): Use clone; allocate and free a stack.
2007-11-01 19:19:39 +00:00
Jan Kratochvil
ec33ab7fc4
* gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
2007-11-01 17:34:57 +00:00
gdbadmin
823963270f
*** empty log message ***
2007-11-01 00:00:03 +00:00
Ulrich Weigand
82233d87ed
* ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Fall back to
...
find_solib_trampoline_target if PC is not in .plt section.
2007-10-31 23:45:10 +00:00
Joel Brobecker
75f831630e
* Makefile.in: Use $(SHELL) instead of "sh" to call regdat.sh.
2007-10-31 21:39:14 +00:00
Ulrich Weigand
02c75f7232
* elfread.c (elf_symtab_read): When constructing a solib trampoline
...
minimal symbol from an undefined dynamic symbol, use proper section.
2007-10-31 19:09:14 +00:00
Ulrich Weigand
0879078470
2007-10-31 Markus Deuling <deuling@de.ibm.com>
...
* arm-linux-nat.c (fetch_register, fetch_regs): Use get_regcache_arch
to get at the current architecture by regcache.
2007-10-31 14:15:49 +00:00
gdbadmin
081a0cdd45
*** empty log message ***
2007-10-31 00:00:03 +00:00
Ulrich Weigand
ae0d01ff0c
* gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
...
provide DFP support.
2007-10-30 22:29:06 +00:00
Ulrich Weigand
8cff2ae624
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* libunwind-frame.c (libunwind_frame_sniffer)
libunwind_frame_prev_register, libunwind_sigtramp_frame_sniffer)
(libunwind_frame_cache): Use get_frame_arch to get at the current
architecture by frame_info.
(libunwind_get_reg_special): Replace current_gdbarch by gdbarch.
2007-10-30 22:00:29 +00:00
Ulrich Weigand
505bbca2cd
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* iq2000-tdep.c (iq2000_frame_prev_register): Use get_frame_arch to get
at the current architecture by frame_info.
2007-10-30 21:59:43 +00:00
Ulrich Weigand
b1a653ae15
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* inf-child.c (inf_child_fetch_inferior_registers): Use
get_regcache_arch to get at the current architecture by regcache.
2007-10-30 21:58:58 +00:00
Ulrich Weigand
3b3b142300
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* inf-ptrace.c (inf_ptrace_fetch_registers)
(inf_ptrace_fetch_register, inf_ptrace_store_register)
(inf_ptrace_store_registers): Use get_regcache_arch to get at the
current architecture by regcache.
2007-10-30 21:58:01 +00:00
Ulrich Weigand
8d90747a2d
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* hpux-thread.c (hpux_thread_fetch_registers)
(hpux_thread_store_registers): Use get_regcache_arch to get at the
current architecture by regcache.
2007-10-30 21:57:04 +00:00
Ulrich Weigand
65c5db89dd
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* hppa-tdep.c (hppa_frame_cache): Use get_frame_arch to get at the
current architecture by frame_info.
2007-10-30 21:56:12 +00:00
Ulrich Weigand
7067c68977
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* go32-nat.c (fetch_register, go32_fetch_registers, store_register)
(go32_store_registers): Use get_regcache_arch to get at the current
architecture by regcache.
2007-10-30 21:54:06 +00:00
Ulrich Weigand
8a7e34d89e
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* gdbtypes.c (gdbtypes_post_init): Replace current_gdbarch by gdbarch.
2007-10-30 21:53:18 +00:00
Ulrich Weigand
992166eeb0
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch
to get at the current architecture by frame_info.
2007-10-30 21:52:26 +00:00
Ulrich Weigand
bb09620c17
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* f-lang.c (build_fortran_types): Replace current_gdbarch by gdbarch.
2007-10-30 21:51:34 +00:00
Ulrich Weigand
8f4f3fbe31
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* core-regset.c (fetch_core_registers): Use get_regcache_arch to get at
the current architecture by regcache.
2007-10-30 21:50:46 +00:00
Ulrich Weigand
13b8769fe0
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* corelow.c (get_core_registers): Use get_regcache_arch to get at the
current architecture by regcache.
2007-10-30 21:46:25 +00:00
Ulrich Weigand
27524c05b8
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* bsd-uthread.c (bsd_uthread_fetch_registers)
(bsd_uthread_store_registers): Use get_regcache_arch to get at the
current architecture by regcache.
2007-10-30 21:45:17 +00:00
Ulrich Weigand
fbff0d8f0b
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* avr-tdep.c (avr_frame_unwind_cache, avr_frame_prev_register): Use
get_frame_arch to get at the current architecture by frame_info.
2007-10-30 21:44:20 +00:00
Ulrich Weigand
e1e01acdc8
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.
2007-10-30 21:43:33 +00:00
Ulrich Weigand
b2cb219a9d
2007-10-30 Markus Deuling <deuling@de.ibm.com>
...
* armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
(store_regs): Use get_regcache_arch to get at the current architecture
by regcache.
2007-10-30 21:42:22 +00:00