Commit Graph

10109 Commits

Author SHA1 Message Date
Mark Kettenis 27d1e71648 * NEWS (New native configurations): Mention OpenBSD/amd64. 2004-03-13 13:11:53 +00:00
Mark Kettenis c3364ea481 * config/i386/nm-fbsd.h: Include "config/nm-bsd.h".
(PTRACE_ARG3_TYPE, FETCH_INFERIOR_REGISTERS, ATTACH_DETACH):
Remove defines.
* config/i386/nm-fbsd64.h: Likewise.
* config/i386/nm-obsd.h: Likewise.
* config/sparc/nm-fbsd.h: Likewise.  Update copyright year.
* config/alpha/nm-fbsd.h: Likewise.  Update copyright year.
2004-03-13 13:07:20 +00:00
Kevin Buettner 76e4319948 Revise ChangeLog entry of previous commit to credit Richard Sandiford
for FR450 support.
2004-03-13 01:27:20 +00:00
Kevin Buettner b2d6d697ea Add FR450 support. 2004-03-13 01:24:20 +00:00
Kevin Buettner 34ce532e64 * frv-tdep.c, frv-tdep.h (first_gpr_regnum, sp_regnum, fp_regnum)
(struct_return_regnum, last_gpr_regnum, first_fpr_regnum)
	(last_fpr_regnum, pc_regnum, first_spr_regnum, psr_regnum, ccr_regnum)
	(cccr_regnum, fdpic_loadmap_exec_regnum, fdpic_loadmap_interp_regnum)
	(tbr_regnum, brr_regnum, dbar0_regnum, dbar1_regnum, dbar2_regnum)
	(dbar3_regnum, lr_regnum, lcr_regnum, iacc0h_regnum, iacc0l_regnum)
	(last_spr_regnum, frv_num_regs, first_pseudo_regnum, iacc0_regnum)
	(last_pseudo_regnum, frv_num_pseudo_regs): Move constant (enum)
	definitions from frv-tdep.c to frv-tdep.h.
2004-03-13 01:13:04 +00:00
Kevin Buettner c4d1051556 Add shared library support for FR-V FDPIC ABI. 2004-03-13 00:50:53 +00:00
Kevin Buettner ed1bd989f7 Fix typo in Makefile.in; commit ChangeLog entries for previous change. 2004-03-13 00:36:53 +00:00
Mark Kettenis 82b38f72ae * solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H
wrapper.
2004-03-12 22:01:39 +00:00
Andrew Cagney db1ea9ba51 2004-03-11 Andrew Cagney <cagney@redhat.com>
* solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.
2004-03-11 23:51:58 +00:00
Kevin Buettner f8766ec100 * solist.h (master_so_list): New function.
* solib.c (master_so_list): Likewise.
	* solib-svr4.c (enable_break): Iterate over so_list entries
	obtained from master list instead of entries obtained directly
	via svr4_current_sos().
2004-03-11 17:04:40 +00:00
Ben Elliston 523f6a2717 * MAINTAINERS: Update my mail address. 2004-03-10 02:58:24 +00:00
Kazuhiro Inaoka 37814c1874 2004-03-10 Kei Sakamoto <sakamoto.kei@renesas.com>
* remote-m32r-sdi.c: Support hardware watchpoint.
2004-03-10 00:18:44 +00:00
Daniel Jacobowitz 8b9740d8c9 * user-regs.c: Update copyright years.
(struct user_regs): Rename to gdb_user_regs.
	(append_user_reg, builtin_user_regs, user_regs_init)
	(user_reg_add, user_reg_map_name_to_regnum)
	(usernum_to_user_reg): Update.
2004-03-09 20:03:37 +00:00
Daniel Jacobowitz 4bb7a0a769 * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die)
(skip_children): New functions.
	(locate_pdi_sibling): Call skip_children.
2004-03-09 19:38:11 +00:00
Daniel Jacobowitz 44e1a9eb25 * arm-tdep.c (arm_use_struct_convention): Look through typedefs.
* gdbtypes.c (check_typedef): Update comments.
2004-03-09 17:08:25 +00:00
Daniel Jacobowitz f3dd693351 * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array.
(struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs
	pointer.  Update comment about comp_unit_head.
	(struct abbrev_info): Shorten two int flags.
	(dwarf_alloc_abbrev): Take a CU argument.
	(dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table
	each time through the loop.  Update cleanup argument.
	(psymtab_to_symtab_1): Update cleanup call.
	(dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the
	abbrev_obstack.
	(dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table.
	Just call obstack_free and clear the pointer.
2004-03-09 16:57:44 +00:00
Daniel Jacobowitz b40c7d58b1 * infrun.c (handle_inferior_event): Remove short-circuit code for
events in a different thread.
2004-03-09 16:40:08 +00:00
Daniel Jacobowitz 333dabeb90 * target.c (debug_to_xfer_memory): If targetdebug is 1, don't
print the whole transfer.
	(initialize_targets): Update description of "set debug target".
2004-03-09 16:16:52 +00:00
Daniel Jacobowitz aa17d93ef5 * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX. 2004-03-09 15:44:26 +00:00
Nathan J. Williams 0b71f08f41 2004-03-08 Nathan J. Williams <nathanw@wasabisystems.com>
* MAINTAINERS (write after approval): Add myself.
2004-03-08 17:52:27 +00:00
Corinna Vinschen 3930f270e6 * sh-tdep.c (sh_print_registers_info): Use for loop.
Don't skip multiple registers when a float register is encountered.
2004-03-08 10:18:13 +00:00
Corinna Vinschen a2b4a96c10 Fix PR tdep/1291.
* sh-tdep.c (sh_analyze_prologue): Align PC relative addressing
	to official SH documentation.
2004-03-08 10:15:33 +00:00
Andrew Cagney f15a4bc0e0 2004-03-07 Andrew Cagney <cagney@redhat.com>
* ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete
	unused function.
2004-03-08 01:45:02 +00:00
Daniel Jacobowitz 9498281f9a * arm-tdep.c (thumb_get_next_pc): Handle BX.
(arm_get_next_pc): Handle BX and BLX.
2004-03-07 20:03:12 +00:00
Andrew Cagney eded0a3148 2004-03-07 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM,
	FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with
	HPPA_SP_REGNUM.
	(hppa_register_raw_size, hppa_register_byte, hppa_read_fp)
	(hppa_target_read_fp): Delete.
	(hppa_gdbarch_init): Do not set deprecated register_raw_size,
	register_virtual_size, max_register_raw_size,
	max_register_virtual_size, register_byte, register_size,
	target_read_fp, fp_regnum, and register_bytes.  Set register_type
	instead of register_virtual_type.
	(hppa32_register_type, hppa64_register_type): Replace
	hppa32_register_virtual_type and hppa64_register_virtual_type.
	* config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM)
	(HPPA_FP_REGNUM): Define.
2004-03-07 19:58:27 +00:00
Andrew Cagney f5f907e2a9 2004-03-07 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (hppa_gdbarch_init): Add missing "break".
2004-03-07 19:21:13 +00:00
Andrew Cagney 69b4bbe450 2004-03-07 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info)
	(pa_print_registers, pa_print_fp_reg, pa_strcat_registers)
	(pa_strcat_fp_reg, pa_register_look_aside): Delete.
	* config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO)
	(pa_do_registers_info): Delete.
2004-03-07 19:00:43 +00:00
Andrew Cagney 210197d29b Oops, fix tipo. 2004-03-07 18:09:23 +00:00
Andrew Cagney 78161e4820 2004-03-07 Andrew Cagney <cagney@redhat.com>
* infcall.c (legacy_push_dummy_code): Delete #ifdef
	GDB_TARGET_IS_HPPA code.
	* config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY)
	(hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED)
	(DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete.
	* config/pa/tm-hppa64.h (CALL_DUMMY): Delete.
	* hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid)
	(hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments)
	(hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc)
	(hppa_init_extra_frame_info, hppa_saved_pc_after_call)
	(hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs)
	(hppa_frameless_function_invocation, hppa64_store_return_value)
	(hppa_store_struct_return, hppa64_extract_return_value)
	(hppa64_use_struct_convention, hppa_frame_find_saved_regs)
	(hppa32_call_dummy_length, hppa64_call_dummy_length)
	(find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET)
	(find_proc_framesize, deposit_21, restore_pc_queue)
	(find_return_regnum, pc_in_interrupt_handler, deposit_14)
	(rp_saved, pc_in_linker_stub):
2004-03-07 18:06:14 +00:00
Andrew Cagney 782eae8b54 2004-03-07 Andrew Cagney <cagney@redhat.com>
Unconditionally enable 64-bit frame and ABI code.
	* hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated
	call_dummy_breakpoint_offset, call_dummy_length, stack_align,
	push_dummy_frame, fix_call_dummy, push_arguments,
	call_dummy_location, extract_return_value, use_struct_convention,
	store_return_value, store_struct_return, saved_pc_after_call,
	init_frame_pc, frame_init_saved_regs, init_extra_frame_info,
	frame_chain, frame_chain_valid, frameless_function_invocation,
	frame_saved_pc, and pop_frame.
2004-03-07 17:19:26 +00:00
Andrew Cagney 449e113712 2004-03-07 Andrew Cagney <cagney@redhat.com>
* hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM.
	(hppa64_return_value, hppa64_push_dummy_call): Rewrite.
	(hppa_gdbarch_init): Do not set PC_REGNUM.
2004-03-07 17:06:21 +00:00
Mark Kettenis 1250757219 * config/alpha/tm-fbsd.h: Remove file.
* config/alpha/fbsd.mt: Tweak comment.
(TM_FILE): Set to tm-alpha.h.
2004-03-06 13:50:58 +00:00
Andrew Cagney c107cc1b31 2004-03-05 Andrew Cagney <cagney@redhat.com>
* infrun.c (step_over_function): When non-legacy code, and no
	step_frame_id, use the unwinder to get the caller's frame ID.
2004-03-06 00:10:06 +00:00
Mark Kettenis 8b0c363390 * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
bfd_arch_unknown.  Adjust comment.
2004-03-05 21:01:56 +00:00
Mark Kettenis f2e7c15d99 * i386-nat.c: Fix typo in comment. Re-introduce paranoiac.
* i386obsd-tdep.c: Correct spelling in comment.
* i386nbsd-tdep.c: Correct spelling in comment.
* sparc-tdep.c: Correct spelling in comments.
2004-03-05 20:58:00 +00:00
David Carlton 1198ecbe71 2004-03-05 David Carlton <carlton@kealia.com>
* cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
	bug.

2004-03-05  David Carlton  <carlton@kealia.com>

	* gdb.cp/rtti.exp: Add 'print *obj3' test.
	* gdb.cp/rtti.h: Update copyright.
	(namespace n2::n3): New.
	* gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
	(n2::n3::func3): New.
	(main): Call n2::n3::func3.
	* gdb.cp/rtti2.cc: Update copyright.
	(n2::create3): New.
2004-03-05 17:32:25 +00:00
Mark Kettenis 9eb42ed178 * sparc-tdep.c: Fix typo in comment. 2004-03-05 15:34:29 +00:00
Joel Brobecker 52b5e991ee * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value. 2004-03-05 04:49:52 +00:00
Daniel Jacobowitz d81510055c * dwarf2read.c: Add comment describing memory lifetimes.
(struct dwarf2_pinfo): Update comment.
	(dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
	(read_enumeration, new_symbol): Don't use obsavestring.
2004-03-05 03:30:36 +00:00
Mark Kettenis 722d18c22c * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
instead of amd64_fill_fxsave.
* amd64bsd-nat.c (store_inferior_registers): Likewise.
* amd64fbsd-nat.c (fill_fpregset): Likewise.
2004-03-04 10:35:57 +00:00
Mark Kettenis cbeae229a5 * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
Reorganize code a bit.
2004-03-04 10:10:33 +00:00
Orjan Friberg b4206d25f7 2004-03-04 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
	when the frame pointer is pushed.  Don't set the frame pointer's
	address on the stack unless it's actually located there.
	Set the SRP's address on the stack correctly when the PC is still in
	the prologue.
	(cris_return_value): New function.
	(cris_gdbarch_init): Clear deprecated store_return_value,
	extract_return_value.
2004-03-04 09:10:20 +00:00
Jim Blandy 49b0b19512 * stabsread.c (reg_value_complaint): The maximum register number
is one less than the number of registers.
2004-03-02 20:31:56 +00:00
Andrew Cagney e9ff708b9b 2004-03-02 Andrew Cagney <cagney@redhat.com>
* i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
	I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM.  Remove
	trailing comma and redundant assignment of I386_ST0_REGNUM.
	* amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
	32-bit segment registers.
2004-03-02 15:58:59 +00:00
Andrew Cagney d4715e41ad 2004-03-01 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
	use frame_relative_level and get_next_frame.
2004-03-02 02:20:25 +00:00
Andrew Cagney 3ce2bf1815 2004-02-29 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
	(rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
	* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
	Delete macro.
2004-03-01 00:50:56 +00:00
Daniel Jacobowitz 2da6aac335 * inflow.c (terminal_inferior): Don't give up the terminal if we
previously couldn't get the inferior's terminal state.
2004-02-29 19:17:49 +00:00
Daniel Jacobowitz 6ba34a8d52 * regcache.c (read_pc_pid): Restore inferior_ptid after reading
PC_REGNUM.
2004-02-29 17:01:38 +00:00
Andrew Cagney 168efedae1 Branch didn't get cut, remove reference. 2004-02-29 03:39:04 +00:00
Andrew Cagney faae5abe9a 2004-02-28 Andrew Cagney <cagney@redhat.com>
* NEWS: Refer to GDB 6.1.
	* README: Refer to GDB 6.1.
	* PROBLEMS: Refer to GDB 6.1.

Index: doc/ChangeLog
2004-02-28  Andrew Cagney  <cagney@redhat.com>

	* gdb.texinfo (Contributors): Mention GDB 6.1 release engineer.
2004-02-29 02:57:24 +00:00