Commit Graph

16110 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
Kevin Buettner 7e2958339b Add support for FDPIC executables. 2004-03-13 00:16:23 +00:00
gdbadmin 60e56bb8e3 *** empty log message *** 2004-03-13 00:00:05 +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
Daniel Jacobowitz fa6a77dc8f * linux-low.c: Include <errno.h>. Remove extern declaration of
errno.
2004-03-12 20:51:50 +00:00
Daniel Jacobowitz 6d782a97bd * gdbreplay.c, server.h, utils.c: Update copyright years. 2004-03-12 20:51:21 +00:00
David Carlton 0e02aa5022 2004-03-12 David Carlton <carlton@kealia.com>
* gdb.cp/pr-1553.exp: New.  Tests for PR c++/1553.
	* gdb.cp/pr-1553.cc: Ditto.
	* gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
	pass branch.
2004-03-12 17:46:27 +00:00
Michael Chastain c20b71be64 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp: Accept more template types.
2004-03-12 16:40:07 +00:00
gdbadmin 67ba4b3b22 *** empty log message *** 2004-03-12 00:00:03 +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
gdbadmin 3992ae8ddd *** empty log message *** 2004-03-11 00:00:33 +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
gdbadmin cff63485c0 *** empty log message *** 2004-03-10 00:00:35 +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
Michael Chastain c7414a01d5 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
From Corinna Vinschen with modifications.
	* gdb.cp/classes.cc (enums1): Add a line to extend scope of
	local variable obj_with_enum.
	* gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
	results with obj_with_enum.
2004-03-09 17:34:39 +00:00
Michael Chastain ed69573cd5 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.cc: New file, copied from misc.cc.
	* gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
2004-03-09 17:11:55 +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
Michael Chastain 283014616e 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/misc.cc: Add copyright notice.
2004-03-09 17:02:06 +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 701b08bb0b * gdb.texinfo (Debugging Output): Document values for "set debug
target".
2004-03-09 16:16:35 +00:00
Daniel Jacobowitz aa17d93ef5 * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX. 2004-03-09 15:44:26 +00:00
gdbadmin 012f02b694 *** empty log message *** 2004-03-09 00:00:02 +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
gdbadmin a5da26a4ed *** empty log message *** 2004-03-08 00:00:03 +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
gdbadmin 87c8a88098 *** empty log message *** 2004-03-07 00:00:02 +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
gdbadmin 5b469bcad5 *** empty log message *** 2004-03-06 00:00:32 +00:00