Commit Graph

17868 Commits

Author SHA1 Message Date
Mark Kettenis e0eee039ce * config/mips/obsd64.mh (NATDEPFILES): Unwrap line. 2004-12-27 15:08:13 +00:00
gdbadmin d274dd3683 *** empty log message *** 2004-12-27 00:00:33 +00:00
Mark Kettenis c9591d9843 * inftarg.c (child_xfer_partial): Remove code that handles
TARGET_OBJ_WCOOKIE.
2004-12-26 23:24:26 +00:00
gdbadmin aa0d59f223 *** empty log message *** 2004-12-26 00:00:33 +00:00
Mark Kettenis 4c4e409cd4 * inftarg.c (child_create_inferior) [HPUXHPPA]: Remove code. 2004-12-25 12:31:35 +00:00
Mark Kettenis 536ffdb7e1 * gdbint.texinfo (Algorithms): Remove description of
TARGET_DISABLE_HW_WATCHPOINTS and TARGET_ENABLE_HW_WATCHPOINTS.
2004-12-25 10:19:48 +00:00
gdbadmin 01f2a9c402 *** empty log message *** 2004-12-25 00:00:04 +00:00
Mark Kettenis b4dc5ffa12 * target.h (TARGET_DISABLE_HW_WATCHPOINTS)
(TARGET_ENABLE_HW_WATCHPOINTS): Remove macros.
* infrun.c (struct execution_control_state): Remove
enable_hw_watchpoints_after_wait member.
(number_of_threads_in_syscalls): Remove variable.
(init_wait_for_inferior): Don't initialize
number_of_threads_in_syscalls.
(init_execution_control_state): Don't initialize
ECS->enable_hw_watchpoints_after_wait.
(handle_inferior_event): Never invoke TARGET_ENABLE_HW_WATCHPOINTS
or TARGET_DISABLE_HW_WATCHPOINTS.
2004-12-24 22:54:02 +00:00
Mark Kettenis 3d171c85e7 * i386-tdep.h (i386_collect_gregset): New prototype.
* i386-nto-tdep.c (i386_nto_target): Move variable.  Add comment.
(i386nto_gregset_reg_offset): Rename frame regmap.
(nto_reg_offset): Tweak comment.  Use ARRAY_SIZE.
(i386nto_supply_gregset): Implement using register set support.
(i386nto_supply_regset): Remove redundant comment.
(i386nto_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset.
* nto-tdep.c (fetch_core_registers): Remove function.
(regset_core_fns): Remove structure.
(_initialize_nto_tdep): Don't call deprecated_add_core_fns.
2004-12-24 14:45:32 +00:00
gdbadmin b4c8d1433f *** empty log message *** 2004-12-24 00:00:33 +00:00
Mark Kettenis 17ca283af2 * i386-nto-tdep.c: Reorder include files.
(i386nto_svr4_fetch_link_map_offsets): Remove function.
(init_i386nto_ops, i386nto_init_abi): Use
svr4_ilp32_fetch_link_map_offsets instead of
i386nto_svr4_fetch_link_map_offsets.
2004-12-23 22:34:23 +00:00
gdbadmin f471f2e78b *** empty log message *** 2004-12-23 00:00:04 +00:00
gdbadmin 15dafedca8 *** empty log message *** 2004-12-22 00:00:03 +00:00
Mark Kettenis 8f4e467cb1 * hppa-tdep.c (hppa_frame_prev_register_helper): Make 64-bit safe. 2004-12-21 22:50:54 +00:00
Mark Kettenis 9738b0348b * hppa-tdep.c (hppa64_return_value): Fix previous commit. 2004-12-21 22:06:40 +00:00
Mark Kettenis 08a2711331 * hppa-tdep.c (hppa32_return_value): Move further down.
(hppa64_return_value): Re-implement.
2004-12-21 21:36:28 +00:00
Jim Blandy 8480adf25b * remote.c (fetch_register_using_p): Fix formatting. 2004-12-21 21:24:56 +00:00
Paul N. Hilfinger 0b48a29120 * ada-lang.c (ada_print_subexp): Remove i18n markup from Ada code
output.
* ada-typeprint.c (ada_typedef_print): Ditto.
(print_unchecked_union_type): Ditto.
(print_record_type): Ditto, and correct output for non-derived
types that was inadvertently left off during the markup.
2004-12-21 10:03:55 +00:00
gdbadmin 5acea80106 *** empty log message *** 2004-12-21 00:00:33 +00:00
gdbadmin 12769ad22a *** empty log message *** 2004-12-20 00:00:33 +00:00
Mark Kettenis 81092a3ee1 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence): Check
whether the name returned by find_pc_partial_function is a null
pointer, not whether it is an empty string.
2004-12-19 22:09:26 +00:00
Mark Kettenis 38ca4e0c24 * hppa-tdep.h (hppa_regnum): Add HPPA_DP_REGNUM, HPPA_RET0_REGNUM,
HPPA_RET1_REGNUM and HPPA64_FP4_REGNUM.
* hppa-tdep.c (hppa64_integral_or_pointer_p)
(hppa64_floating_p) New functions.
(hppa64_push_dummy_call): Re-implement.
(hppa32_register_type): Rename argument reg_nr to regnum.
(hppa64_register_type): Likewise.  Use HPPA64_FP4_REGNUM instead
of HPPA_FP4_REGNUM.
(hppa32_cannot_store_register): Renamed from
hppa_cannot_store_register.
(hppa64_cannot_store_register): New function.
(hppa_gdbarch_init): Set cannot_store_register and
cannot_fetch_register to hppa32_cannot_store_register or
hppa64_cannot_store_register when appropriate.
2004-12-19 21:09:40 +00:00
gdbadmin a94ab04713 *** empty log message *** 2004-12-19 00:00:02 +00:00
Mark Kettenis 87285d5bcb * hppah-nat.c: Remove file.
* infttrace.h: Remove file.
* infttrace.c: Remove file.
* Makefile.in (ALLDEPFILES): Remove hppah-nat.c
(infttrace_h): Remove variable.
(hppah-nat.o, infttrace.o): Remove dependencies.
* configure.host (hppa*64*-*-hpux11*): Remove.
* config/pa/hpux11w.mh: Remove file.
* config/pa/nm-hppah.h: Remove file.
* config/pa/nm-hppah11.h: Remove file.
2004-12-18 17:36:33 +00:00
Mark Kettenis 70d1ae419f * config/djgpp/fnchange.lst: Resolve name clash between
../bfd/elf32-arm.c and ../bfd/elf32-arc.c, i386-sol2-nat.c and
i386-sol2-tdep.c, mips64obsd-nat.c and mips64obsd-tdep.c,
testsuite/gdb.base/bitfields.c and
testsuite/gdb.base/bitfields2.c, testsuite/gdb.base/bitfields.exp
and testsuite/gdb.base/bitfields2.exp.  Remove entry for
config/m88k/xm-delta88v4.h.
2004-12-18 14:53:39 +00:00
Mark Kettenis d0ac9ef822 * solib-pa64.c: Only include <dlfcn.h>, <elf.h> and <elf_hp.h> if
PA_SOM_ONLY isn't defined.
2004-12-18 14:27:57 +00:00
Mark Kettenis 17fe2d6e13 * somread.c: Include "solib-som.h".
(som_symfile_init, som_new_init, som_symfile_read,
som_symfile_finish, som_symtab_read, som_symfile_offsets): Remove
redudant prototypes.
* Makefile.in (somread.o): Update dependencies.
2004-12-18 14:21:09 +00:00
gdbadmin d29b835cdb *** empty log message *** 2004-12-18 00:00:36 +00:00
Jim Blandy 1ee455f4ea * remote.c (fetch_register_using_p): Indentation cleanup. 2004-12-17 22:19:51 +00:00
Randolph Chung 1c95a4acbf 2004-12-17 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (setup_d_pid_in_inferior): Make static.
	(find_stub_with_shl_get): Make static.
2004-12-17 19:21:20 +00:00
Randolph Chung 77d18ded6e 2004-12-17 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (IS_32BIT_TARGET): New.
	(in_opd_section): New.
	(hppa32_hpux_find_global_pointer): Rename from
	hppa_hpux_som_find_global_pointer.
	(hppa64_hpux_find_global_pointer): New.
	(ldsid_pattern): New.
	(hppa_hpux_search_pattern): New.
	(hppa32_hpux_search_dummy_call_sequence): New.
	(hppa64_hpux_search_dummy_call_sequence): New.
	(hppa_hpux_find_import_stub_for_addr): New.
	(hppa_hpux_sr_for_addr): New.
	(hppa_hpux_find_dummy_bpaddr): New.
	(hppa_hpux_init_abi): Use IS_32BIT_TARGET predicate.
	(hppa_hpux_som_init_abi): Set find_global_pointer method to
	hppa32_hpux_find_global_pointer instead of
	hppa_hpux_som_find_global_pointer.
	(hppa_hpux_elf_init_abi): Set find_global_pointer method.
	* hppa-tdep.c (hppa_init_objfile_priv_data): New.
	(read_unwind_info): Use function to initialize objfile-private data.
	(hppa32_push_dummy_call): Don't automatically set the RP if there is
	a push_dummy_code method.
	(hppa64_push_dummy_call): Retrieve and set the global pointer.
	Don't automatically set the RP if there is a push_dummy_code method.
	* hppa-tdep.h (hppa_objfile_private): Add dummy_call_sequence_reg and
	dummy_call_sequence_addr members.
	(hppa_init_objfile_priv_data): New prototype.
2004-12-17 19:09:53 +00:00
Joel Brobecker ff644745cd * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): New function.
* hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Add declaration.
        * solib-som.c (som_solib_create_inferior_hook): Replace stub
        msymbol search by call to hppa_lookup_stub_minimal_symbol. This
        extends the search to all objfiles, not just shared libraries.
        Remove unused variable.
2004-12-17 07:42:48 +00:00
gdbadmin bca22fde58 *** empty log message *** 2004-12-17 00:00:09 +00:00
Michael Snyder 5260ca71c4 2004-12-16 Michael Snyder <msnyder@redhat.com>
* MAINTAINERS: Add myself as maintainer for mn10300.
	* NEWS: Mention mn10300.
2004-12-16 23:53:12 +00:00
gdbadmin 120398a2fc *** empty log message *** 2004-12-16 00:00:02 +00:00
Kevin Buettner 28fe5f6afd * xstormy16-tdep.c (xstormy16_skip_prologue): Clear/initialize the
frame cache.
2004-12-15 22:45:39 +00:00
Jim Blandy f10b16d41f * gdb.threads/linux-dp.exp: Fix output regexp to handle output
under NPTL when there is debugging info available for libpthread.
2004-12-15 18:28:54 +00:00
gdbadmin deaac1f7e7 *** empty log message *** 2004-12-15 00:00:38 +00:00
Randolph Chung 1fb249302e 2004-12-14 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_in_function_epilogue_p): New function.
	(hppa_gdbarch_init): Set in_epilogue_p method.
2004-12-14 16:35:37 +00:00
Corinna Vinschen 3ffc5b9b5b * sh-tdep.c (sh_extract_return_value_nofpu): Rename from
sh_default_extract_return_value.
	(sh_extract_return_value_fpu): Rename from
	sh3e_sh4_extract_return_value.
	(sh_store_return_value_nofpu): Rename from
	sh_default_store_return_value.
	(sh_store_return_value_fpu): Rename from sh3e_sh4_store_return_value.
	(sh_return_value_nofpu): Accomodate above changes.
	(sh_return_value_fpu): Ditto.
2004-12-14 15:40:17 +00:00
gdbadmin 4446463b16 *** empty log message *** 2004-12-14 00:00:04 +00:00
Jerome Guitton fb6e181400 * gdb.ada/fixed_points.c: New file.
* gdb.ada/fixed_points.exp: New file.
2004-12-13 16:04:20 +00:00
Jerome Guitton 94e10a2220 * stabsread.c (read_huge_number): Add support for reading octal
signed number in twos complement, based on the size of this
	number.
	(read_range_type): Add support for reading octal signed bounds
	in twos complements, based on the size of the type.
	(read_type_number, read_cpp_abbrev, read_member_functions,
	read_cpp_abbrev, read_one_struct_field, read_baseclasses,
	read_struct_type, read_array_type, read_enum_type,
	read_sun_builtin_type, read_sun_floating_type): Update calls to
	read_huge_number.
	(read_type): Update call to read_range_type.
2004-12-13 15:56:47 +00:00
Randolph Chung 61aff869b9 2004-12-13 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (internalize_hp_cxx_exception_support): Call
	solib_get_solib_by_pc method through target vector.
	(hppa_hpux_som_find_global_pointer): Call solib_get_got_by_pc
	method through target vector.
2004-12-13 08:47:07 +00:00
Randolph Chung 4bb7a26649 2004-12-13 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (internalize_hp_cxx_exception_support): Call
	solib_get_solib_by_pc method through target vector.
2004-12-13 08:43:17 +00:00
Joel Brobecker 3ddae2db59 Correct date in last entry. 2004-12-13 05:10:16 +00:00
Joel Brobecker a99b228b02 * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Change
parameter name to make it clear that we already have a next
        frame.  Return the sigcontext from that next frame instead
        of the frame following it.
2004-12-13 05:07:23 +00:00
Randolph Chung acf86d5407 2004-12-13 Randolph Chung <tausq@debian.org>
* Makefile.in (pa64solib_h, somsolib_h): Delete.
	(solib_pa64_h, solib_som_h): New.
	(HFILES_NO_SRCDIR, ALLDEPFILES): Replace somsolib.h with solib-som.h.
	(hppa-hpux-tdep.o, hpread.o): Update dependencies.
	(pa64solib.o, somsolib.o): Delete.
	(solib-pa64.o, solib-som.o): New.
	* hppa-hpux-tdep.c: Include new solib interfaces.
	(hppa_hpux_som_init_abi): Attach to SOM solib interface.
	(hppa_hpux_elf_init_abi): Attach to PA64 ELF solib interface.
	* hppa-tdep.c (internalize_unwinds): If solib_get_text_base method
	is available, use it to determine the base of unwind records.
	* hppa-tdep.h (gdbarch_tdep): Add new solib methods.
	* hpread.c: Replace somsolib.h with solib-som.h.
	(hpread_process_one_debug_symbol): Use target vector to get thread
	start address.
	* config/pa/hppa64.mt (TDEPFILES): Use new solib interface.
	* config/pa/hppahpux.mt (TDEPFILES): Likewise.
	* config/pa/hpux.mh (NATDEPFILES): Delete references to target objects.
	* config/pa/tm-hppah.h: Use new solib interface.
2004-12-13 04:06:16 +00:00
Randolph Chung 0efcf9dce5 2004-12-13 Randolph Chung <tausq@debian.org>
* tramp-frame.c (tramp_frame_sniffer): Allow frames with names or
	sections to be trampolines too.
2004-12-13 03:38:23 +00:00
gdbadmin 44548205b4 *** empty log message *** 2004-12-13 00:00:33 +00:00