Commit Graph

40794 Commits

Author SHA1 Message Date
Jason Eckhardt af858dae9d 2003-08-24 Jason Eckhardt <jle@rice.edu>
* config/tc-i860.c (md_assemble): Use isrc2 from the original
        instruction when expanding E_ADDR.
2003-08-25 02:48:14 +00:00
gdbadmin 3123f523be *** empty log message *** 2003-08-25 00:00:31 +00:00
Alan Modra 2ff3acebc0 daily update 2003-08-25 00:00:06 +00:00
Daniel Jacobowitz 85f8f9748e * NEWS: Mention fork tracing. 2003-08-24 21:21:11 +00:00
Jason Eckhardt 6d1227b86c 2003-08-24 Jason Eckhardt <jle@rice.edu>
* coff-i860.c (CALC_ADDEND): Define to be a no-op.
2003-08-24 20:54:05 +00:00
Jason Eckhardt f680ea79cc 2003-08-24 Jason Eckhardt <jle@rice.edu>
* elf32-i860.c (elf32_i860_relocate_pc16): Subtract 4 and
	shift by 2 before storing the relocated value.
2003-08-24 18:16:46 +00:00
Mark Kettenis 2de139ba84 * i387-tdep.h: Update copyright date.
(I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines.
2003-08-24 13:55:48 +00:00
Mark Kettenis 6564f77d9d * linux-proc.c (linux_proc_xfer_memory): Remove comment about
CFLAGS games to reflect reality.
2003-08-24 13:34:01 +00:00
Andrew Cagney 42cf1509a7 2003-08-24 Andrew Cagney <cagney@redhat.com>
* arm-tdep.c (_initialize_arm_tdep): Simplify by assuming
	GDB_MULTI_ARCH is always non-zero.
	* osabi.c (_initialize_gdb_osabi): Ditto.
	(gdbarch_init_osabi): Ditto.
	* sparc-tdep.c: Ditto for #if code.
2003-08-24 11:47:18 +00:00
Alan Modra 5c877b7234 daily update 2003-08-24 00:00:06 +00:00
gdbadmin db93e71f58 *** empty log message *** 2003-08-24 00:00:01 +00:00
Jason Eckhardt c28b1c2869 2003-08-23 Jason Eckhardt <jle@rice.edu>
[bfd/ChangeLog]
        * coff-i860.c (coff_i860_reloc_nyi): New function.
	(howto_table): Add entries for relocations PAIR, HIGHADJ, HIGH,
	LOWn, SPLITn, and BRADDR.
	(RTYPE2HOWTO): Check that the r_type is within the howto_table
	before trying to access the entry.
	(coff_i860_rtype_to_howto): Likewise.
	(coff_i860_reloc_type_lookup): New function.
	(i860_reloc_processing): New function.
	(coff_bfd_reloc_type_lookup): Define macro.
	(RELOC_PROCESSING): Define macro.
	Minor formatting adjustments.

[include/coff/ChangeLog]
	* coff/i860.h (COFF860_R_PAIR, COFF860_R_LOW0, COFF860_R_LOW1,
	COFF860_R_LOW2, COFF860_R_LOW3, COFF860_R_LOW4, COFF860_R_SPLIT0,
	COFF860_R_SPLIT1, COFF860_R_SPLIT2, COFF860_R_HIGHADJ,
	COFF860_R_BRADDR): Define new relocation constants and document.
	Minor formatting adjustments.
2003-08-23 23:00:09 +00:00
Mark Kettenis 0485f6ad30 * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument.
Update comments.
* x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype.  Update
comments.
* x86-64-linux-tdep.c (fetch_core_registers): Adjust call to
x86_64_supply_fxsave.
* x86-64-linux-nat.c (supply_fpregset): Adjust call to
x86_64_supply_fxsave.
* amd64fbsd-nat.c (supply_fpregset): Adjust call to
x86_64_supply_fxsave.
2003-08-23 13:58:18 +00:00
Andreas Jaeger c77161335b 2003-08-23 Andreas Jaeger <aj@suse.de>
* x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to
        i387_supply_fxsave.
2003-08-23 12:21:14 +00:00
Mark Kettenis ed504bdf4f * go32-nat.c (fetch_register): Call i387_supply_fsave instead of
i387_supply_register.
(go32_fetch_registers): Adjust call to i387_supply_fsave.
* i386nbsd-tdep.c (fetch_core_registers): Adjust call to
i387_supply_fsave.
(fetch_elfcore_registers): Adjust call to i387_supply_fsave and
i387_supply_fxsave.
* i386obsd-tdep.c (fetch_core_registers): Adjust call to
i387_supply_fsave.
* i386bsd-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
(fetch_inferior_registers): Remove extraneous whitespace.  Adjust
call to i387_supply_fxsave.  Call i387_supply_fsave instead of
supply_fpregset.
(store_inferior_registers): Remove extraneous whitespace.  Call
i387_fill_fsave instead of fill_fpregset.
* i386gnu-nat.c (fetch_fpregs): Adjust call to i387_supply_fsave.
(supply_fpregset): Likewise.
* i386v4-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
* i386-interix-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
* i386-linux-nat.c (supply_fpregset): Adjust call to
i387_supply_fsave.
(supply_fpxregset): Adjust call to i387_adjust_fxsave.
* i386-nto-tdep.c (i386nto_supply_fpregset): Adjust calls to
i387supply_fsave and i387_supply_fxsave.
* i387-tdep.c (i387_supply_fsave): Add `regnum' argument.
Incorporate code from `i387_supply_register.
(i387_supply_register): Remove.
(i387_supply_fxsave): Add `regnum' argument.
Update comments.
* i387-tdep.h (i387_supply_fsave, i387_supply_fsxave): Adjust
prototype.
(i387_supply_register): remove prototype.
Update comments.
2003-08-23 08:56:45 +00:00
Ben Elliston 95a745092b Revise DejaGnu patch submission guidelines. 2003-08-23 08:51:04 +00:00
Alan Modra 40a0491a90 * elflink.h (elf_link_add_object_symbols): Don't crash on NULL owner. 2003-08-23 04:10:34 +00:00
Michael Chastain 4be5d5207c 2003-08-22 Michael Chastain <mec@shout.net>
* config/djgpp/fnchange.lst: Remove gdb/testsuite/gdb.c++/*.
	Add lines for files in gdb/testsuite/gdb.cp/* that are
	still not 8.3 unique.
2003-08-23 03:59:43 +00:00
Michael Chastain 1105b7eff4 2003-08-22 Michael Chastain <mec@shout.net>
* gdb.cp: New directory.
	* gdb.cp/*: Copy from gdb.c++/*.
	* gdb.c++/*: Remove.
	* Makefile.in: Change gdb.c++ to gdb.cp.
	* configure.in:  Ditto.
	* configure: Regnerate.
2003-08-23 03:55:59 +00:00
gdbadmin dd21ace235 *** empty log message *** 2003-08-23 00:00:31 +00:00
Alan Modra 37f2f67a89 daily update 2003-08-23 00:00:05 +00:00
H.J. Lu 69bbc4c090 2003-08-22 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_create_dynamic_sections): Align the
	.got section at 8 bytes.
2003-08-22 23:35:59 +00:00
Daniel Jacobowitz 7ed85d2635 * gnu-v3-abi.c (gnuv3_baseclass_offset): Check whether
TYPE_VPTR_FIELDNO is valid.
2003-08-22 20:45:55 +00:00
Mark Kettenis eb0d3137b1 * utils.c (set_width_command): Remove prototypes.
(set_screen_size): New prototype.
(init_page_info): Simplify by fetching the screen size from
Readline.  Call set_screen_size.
(set_screen_size): New function.
(set_width): Add missing whitespace in comment.
(set_width_command): Call set_screen_size.
(set_height_command): New function.
(initialize_utils): Fix formatting.  Make "set height" command
call set_height_command.  Remove redundant code that turns off
pagination if output isn't a terminal.  Remove redundant call to
set_width_command.
2003-08-22 20:23:15 +00:00
Mark Kettenis 3567a8eaa2 * sparc64-tdep.h (sparc64_regnum): Fix comment.
(sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes.
(sparc_supply_rwindow, sparc_fill_rwindow): New prototypes.
* sparc64-tdep.c (sparc64_pseudo_register_read): Add missing
`case' keyword.
(sparc64_register_info): Give the reister with number
SPARC64_STATE_REGNUM a name.
(sparc64_pseudo_register_write): Add support for %cwp, %pstate,
%asi and %ccr.
(sparc64_push_dummy_call): Take BIAS into account when checking
stcak alignment.
(sparc_software_single_step): Remove assertions that check whether
NPC and NNPC were zero.
(sparc_supply_rwindow): Make public.  Merge functionality with
sparc64_supply_rwindow.
(sparc_fill_rwindow): Make public.  Merge functionality with
sparc64_fill_rwindow.
(sparc64_supply_rwindow, sparc64_fill_rwindow): Remove.
* sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set
SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p.
* sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call
sparc_supply_rwindow instead of sparc64_supply_rwindow.
2003-08-22 18:52:50 +00:00
Geoffrey Keating 630fa2138e Index: ChangeLog
2003-08-20  Geoffrey Keating  <geoffk@apple.com>

	PR 8180
	* configure.in: When testing with_libs and with_headers, treat
	'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
	* configure: Regenerate.

Index: gcc/ChangeLog
2003-08-20  Geoffrey Keating  <geoffk@apple.com>

	PR 8180
	* configure.in: When testing with_libs and with_headers, treat
	'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
	* configure: Regenerate.
2003-08-22 17:05:58 +00:00
Mark Kettenis 7e6d0ac8cf * reggroups.c: Add whitespace after declarations of local
variables in functions.
2003-08-22 09:49:01 +00:00
Michael Chastain 72e5f48470 2003-08-21 Michael Chastain <mec@shout.net>
* gdbtypes.h: Change array bound type from an int to enum.
2003-08-22 05:05:56 +00:00
Andrew Cagney 435ac22849 2003-08-21 Andrew Cagney <cagney@redhat.com>
* config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code.
	* config/sparc/tm-sparc.h: Ditto.
	* config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH
	unconditionally.
	* config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto.
2003-08-22 00:35:32 +00:00
gdbadmin 9839561f87 *** empty log message *** 2003-08-22 00:00:32 +00:00
Alan Modra 23597ff0e8 daily update 2003-08-22 00:00:05 +00:00
Mark Kettenis 0d0e1a63ef * objfiles.h (struct objfile): Add memebers `data' and `num_data'.
(register_objfile_data, set_objfile_data, objfile_data): New
prototypes.
* objfiles.c (objfile_alloc_data, objfile_free_data): New
prototypes.
(allocate_objfile): Call objfile_alloc_data.
(free_objfile): Call objfile_free_data.
(struct objfile_data): New.
(struct objfile_data_registration): New.
(struct objfile_data_registry): New.
(objfile_data_registry): New variable.
(register_objfile_data): New function.
(objfile_alloc_data, objfile_free_data): New functions.
(set_objfile_data, objfile_data): New functions.
* dwarf2-frame.c (dwarf2_frame_data): New variable.
(dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism.
(_initialize_dwarf2_frame): New function and prototype.
2003-08-21 22:35:33 +00:00
Andrew Cagney d90cf509bd 2003-08-21 Andrew Cagney <cagney@redhat.com>
* sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select
	a specific architecture.
	* arch-utils.h (set_architecture_from_arch_mach): Delete
	declaration.
	(target_architecture_hook): Delete declaration.
	* arch-utils.c: Delete non GDB_MULTI_ARCH includes.
	(default_float_format): Assume GDB_MULTI_ARCH.
	(default_double_format): Assume GDB_MULTI_ARCH.
	(set_endian_from_file): Delete function.
	(arch_ok): Delete function.
	(set_arch): Delete function.
	(set_architecture_from_arch_mach): Delete function.
	(set_architecture_from_file): Delete function.
	(set_architecture): Assume GDB_MULTI_ARCH.
	(set_gdbarch_from_file): Assume GDB_MULTI_ARCH.
2003-08-21 20:43:10 +00:00
Mark Kettenis 8b39fe56a2 Rewrite FreeBSD/sparc64 native configuration.
* sparcbsd-nat.c, sparcbsd-nat.h: New files.
* sparc64fbsd-nat.c: New file.
* sparc64fbsd-tdep.c: New file.
* sparc64-tdep.c sparc64-tdep.h: New files.
* Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o,
sparc64fbsd-tdep.o): New dependencies.
(SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c
and sparc64fbsd-tdep.c.
(sparc64_tdep_h, sparcbsd_nat_h): New variables.
* config/sparc/fbsd.mh: Remove copyright notice.
(NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and
sparcbsd-nat.o.
* config/sparc/fbsd.mt: Remove copyright notice.
(TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o,
solib-legacy.o.  Add sparc64-tdep.o and sparc64fbsd-tdep.o.
* config/sparc/nm-fbsd.h: Don't include "elf/common.h".
(SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS,
PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T,
regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu,
fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines.
* config/sparc/tm-fbsd.h: Don't include "solib.h" and
"sparc/tm-sp64.h".
(SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines.
(GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM.
2003-08-21 20:38:46 +00:00
Michael Chastain a7f19c79e3 2003-08-21 Michael Chastain <mec@shout.net>
* symtab.h: Add doco on the space critical structures and
	some measurements of space usage.
2003-08-21 19:55:32 +00:00
Michael Snyder da08ea5b1e 2003-08-21 Michael Snyder <msnyder@redhat.com>
* tracepoint.c (trace_dump_command): Trace break address
	is subject to DECR_PC_AFTER_BREAK.
        (set_traceframe_context): Make "trace_line" an int.
        Fixes suggested	by Mark	Newman	 <mark.newman@lmco.com>
2003-08-21 18:09:54 +00:00
Nick Clifton 85db1db4b9 Fix spelling typo. 2003-08-21 16:26:20 +00:00
Nick Clifton 8b9561304c Convert to ISO C90. Tidy up formatting. 2003-08-21 16:20:39 +00:00
Nick Clifton 87a7a0c093 Add PGI extensions 2003-08-21 14:03:23 +00:00
Nick Clifton 6c21aa7634 For elf32-hppa-linux, objects can have OSABI=Linux or OSABI=SysV; check for
both.
2003-08-21 14:00:06 +00:00
Nick Clifton 3673a93e66 Updated translations 2003-08-21 13:52:58 +00:00
Nick Clifton 6d9ab561ef (mbtoh): Replace input parameter to u-media-dual-expand and u-media-dual-btoh
with output parameter.
(cmbtoh): Add profiling hack.
2003-08-21 13:37:01 +00:00
Geoffrey Keating d2cc0e0dd3 Merge configure.in, configure with GCC. 2003-08-21 02:21:21 +00:00
Michael Snyder 6df2bf5047 2003-08-20 Michael Snyder <msnyder@redhat.com>
* sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG.
        * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set
        FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for
        argument passing.
        (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New
        functions, replace sh_push_dummy_call.
        (sh_gdbarch_init): Set push_dummy_call to one of new methods.
2003-08-21 00:01:31 +00:00
gdbadmin 49d481ae28 *** empty log message *** 2003-08-21 00:00:32 +00:00
Alan Modra 9a0b3ef03e daily update 2003-08-21 00:00:05 +00:00
Michael Chastain 0955bbf0c0 2003-08-20 Michael Chastain <mec@shout.net>
* gdbtypes.h (struct main_type): Rearrange to save space.
2003-08-20 23:00:06 +00:00
Michael Snyder 260a4188fe 2003-08-20 Michael Snyder <msnyder@redhat.com>
* trad-frame.c: Comment typo fix.
2003-08-20 22:30:17 +00:00
Kevin Buettner 8baa6f9257 * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include.
(frv_frame_init_saved_regs): Add declaration.
	(frame_extra_info): Add new field ``saved_regs''.
	(frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue)
	(frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular):
	Update frame related code.
	(frv_extract_struct_value_address): Adjust formatting.
	* Makefile.in (frv-tdep.o): Update dependencies.
	* config/frv/tm-frv.h (target_insert_watchpoint)
	(target_remove_watchpoint, target_insert_hw_breakpoint)
	(target_remove_hw_breakpoint): Delete these macros.
	(remote_insert_watchpoint, remote_remove_watchpoint)
	(remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove
	these declarations.
2003-08-20 20:22:41 +00:00
Michael Chastain 8719393994 2003-08-20 Michael Chastain <mec@shout.net>
* defs.h (ENUM_BITFIELD): New macro.
	* symtab.h (ENUM_BITFIELD): Use it.
	(BYTE_BITFIELD): Remove old macro, which was already disabled.
2003-08-20 17:39:18 +00:00