Mark Kettenis [Wed, 17 Sep 2003 19:48:42 +0000 (19:48 +0000)]
* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.
* gdbarch.h, gdbarch.c: Regenerate.
(stabs_argument_has_addr): New architecture method.
* arch-utils.h (default_stabs_argument_has_addr): New prototype.
* arch-utils.c: Include "buildsym.h".
(default_stabs_argument_has_addr): New function.
* stabsread.c (define_symbol): Use stabs_argument_has_addr
instead of DEPRECATED_REG_STRUCT_HAS_ADDR.
Andrew Cagney [Wed, 17 Sep 2003 15:42:21 +0000 (15:42 +0000)]
2003-09-17 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM.
* gdbarch.h, gdbarch.c: Regenerate.
* core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update.
* regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update.
* sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update.
* sparcnbsd-tdep.c: Update.
Andrew Cagney [Wed, 17 Sep 2003 14:24:31 +0000 (14:24 +0000)]
2003-09-17 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE.
* gdbarch.h, gdbarch.c: Regenerate.
* arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update.
* d10v-tdep.c, frame.c: Update.
* hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update.
* hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update.
* ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update.
* mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update.
* mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update.
* ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update.
* remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update.
* remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update.
* sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update.
* v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update.
* config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update.
* config/pa/nm-hppah.h: Update.
2003-09-17 Andrew Cagney <cagney@redhat.com>
* mi/mi-main.c: Rename REGISTER_BYTE to DEPRECATED_REGISTER_BYTE.
Alan Modra [Wed, 17 Sep 2003 11:27:39 +0000 (11:27 +0000)]
* config/tc-msp430.c (MAX_OP_LEN): Set to 256.
(msp430_operands): Remove redundant l2[16] within switch-case.
gdbadmin [Wed, 17 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 17 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Tue, 16 Sep 2003 23:33:17 +0000 (23:33 +0000)]
2003-09-16 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit
"use_struct_convention" to "ppc_linux_use_struct_convention".
(ppc_linux_use_struct_convention): New function.
* rs6000-tdep.c (rs6000_use_struct_convention): New function.
(rs6000_gdbarch_init): For AIX, set "use_struct_convention" to
"rs6000_use_struct_convention".
* ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete
declaration.
* ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention):
Delete function.
Andrew Cagney [Tue, 16 Sep 2003 18:56:35 +0000 (18:56 +0000)]
2003-09-16 Andrew Cagney <cagney@redhat.com>
* buildsym.c: Remove more occurances of "register".
* coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto.
* environ.c, eval.c, f-valprint.c, findvar.c: Ditto.
* gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto.
* infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto.
* printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto.
* sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto.
* standalone.c, symfile.c, symmisc.c, symtab.c: Ditto.
* utils.c, valops.c, values.c, xcoffread.c: Ditto.
Corinna Vinschen [Tue, 16 Sep 2003 15:56:03 +0000 (15:56 +0000)]
* sh-tdep.h (struct gdbarch_tdep): Remove. Change all register
numbers to enumeration values.
* sh-tdep.c: Accomodate above change.
(SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS.
(NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only).
(NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only).
(IS_ADD_IMM_SP): Rename from IS_ADD_SP.
(IS_FPUSH): Rename from IS_FMOV.
(sh_extract_struct_value_address): Remove useless comment.
(sh_dsp_register_sim_regno): Use register values from sh-tdep.h
instead of own local values.
(sh_dump_tdep): Remove.
(_initialize_sh_tdep): Accomodate removing sh_dump_tdep.
* sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes.
Andrew Cagney [Tue, 16 Sep 2003 01:47:54 +0000 (01:47 +0000)]
Index: include/ChangeLog
2003-09-15 Andrew Cagney <cagney@redhat.com>
* floatformat.h (floatformat_to_double): Make input buffer constant.
(floatformat_from_double, floatformat_is_valid): Ditto.
Index: libiberty/ChangeLog
2003-09-15 Andrew Cagney <cagney@redhat.com>
* floatformat.c (get_field): Make "data" constant.
(floatformat_is_valid, floatformat_to_double): Make "from"
constant, fix casts.
(floatformat_from_double): Make "from" constant.
Alan Modra [Tue, 16 Sep 2003 00:45:49 +0000 (00:45 +0000)]
* configure.in: Handle arm-*-rtems* and thumb-*rtems*.
* configure: Regenerate.
Alan Modra [Tue, 16 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 16 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Mon, 15 Sep 2003 21:33:44 +0000 (21:33 +0000)]
2003-09-15 Andrew Cagney <cagney@redhat.com>
* doublest.c (convert_floatformat_to_doublest): No longer need to
cast "exp_bias" to an int. Reverts 2002-12-04 change.
Andrew Cagney [Mon, 15 Sep 2003 21:28:56 +0000 (21:28 +0000)]
2003-09-15 Andrew Cagney <cagney@redhat.com>
* floatformat.h (struct floatformat): Make "exp_bias" signed.
Daniel Jacobowitz [Mon, 15 Sep 2003 20:15:19 +0000 (20:15 +0000)]
* values.c (unpack_double): Call floatformat_is_valid.
Daniel Jacobowitz [Mon, 15 Sep 2003 20:14:39 +0000 (20:14 +0000)]
* floatformat.c (floatformat_is_valid): New function.
(get_field, put_field): Correct comments.
Daniel Jacobowitz [Mon, 15 Sep 2003 20:13:45 +0000 (20:13 +0000)]
* floatformat.h (floatformat_is_valid): Add prototype.
Mark Kettenis [Mon, 15 Sep 2003 20:05:17 +0000 (20:05 +0000)]
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of
ps_strings into a long.
Mark Kettenis [Mon, 15 Sep 2003 19:30:50 +0000 (19:30 +0000)]
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from
_initialize_am64fbsd_nat.
* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.
(stabs_argument_has_addr): New architecture method.
* arch-utils.h (default_stabs_argument_has_addr): New prototype.
* arch-utils.c: Include "buildsym.h".
(default_stabs_argument_has_addr): New function.
* stabsread.c (define_symbol): Use stabs_argument_has_addr
instead of DEPRECATED_REG_STRUCT_HAS_ADDR.
Kevin Buettner [Mon, 15 Sep 2003 17:19:23 +0000 (17:19 +0000)]
* dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset
associated with DW_AT_ranges attribute is out of bounds.
David Lecomber [Mon, 15 Sep 2003 15:14:12 +0000 (15:14 +0000)]
2003-09-15 David Lecomber <dsl@sources.redhat.com>
* f-valprint.c: Apply array element printing limits to multi-dimensional arrays
Anthony Green [Mon, 15 Sep 2003 14:40:44 +0000 (14:40 +0000)]
Fix C90 conversion
Corinna Vinschen [Mon, 15 Sep 2003 09:52:56 +0000 (09:52 +0000)]
* gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
* gdb.asm/sh.inc: New file.
Michael Chastain [Mon, 15 Sep 2003 02:53:03 +0000 (02:53 +0000)]
2003-09-14 Michael Chastain <mec@shout.net>
* config/m68k/nm-apollo68v.h: Delete.
* config/m68k/xm-apollo68v.h: Delete.
gdbadmin [Mon, 15 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 15 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update
Michael Chastain [Sun, 14 Sep 2003 23:16:45 +0000 (23:16 +0000)]
2003-09-12 Michael Chastain <mec@shout.net>
Fix PR gdb/857.
* src-release (do-proto-topleve): Remove junk files
intl/config.cache, intl/config.status,
intl/config.h, intl/stamp-h.
Andrew Cagney [Sun, 14 Sep 2003 22:35:33 +0000 (22:35 +0000)]
2003-09-14 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_push_dummy_call): Fix typos.
* dcache.c: Update copyrights and descriptions.
* scm-exp.c, ia64-aix-nat.c, hppam3-nat.c: environ.c: Ditto.
Andrew Cagney [Sun, 14 Sep 2003 21:24:12 +0000 (21:24 +0000)]
2003-09-14 Andrew Cagney <cagney@redhat.com>
* config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and
"amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c".
Andrew Cagney [Sun, 14 Sep 2003 18:12:21 +0000 (18:12 +0000)]
2003-09-14 Andrew Cagney <cagney@redhat.com>
* src-release (dejagnu.tar): New target.
(dejagnu.tar.bz2): Recursively call "gdb-taz" rule.
(do-djunpack): Use $(PACKAGE) for the package name.
Andrew Cagney [Sun, 14 Sep 2003 17:36:49 +0000 (17:36 +0000)]
2003-09-14 Andrew Cagney <cagney@redhat.com>
* history.0: Delete generated file.
Andrew Cagney [Sun, 14 Sep 2003 16:32:14 +0000 (16:32 +0000)]
2003-09-14 Andrew Cagney <cagney@redhat.com>
* alpha-nat.c: Remove some occurances of "register".
* alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto.
* buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto.
* corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto.
* dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto.
* environ.c, eval.c, event-top.c, f-typeprint.c: Ditto.
* f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto.
* h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto.
* hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto.
* infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto.
* infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto.
* jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto.
* mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto.
* mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto.
* ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto.
* p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto.
* remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto.
* rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto.
* solib.c, somread.c, source.c, sparc-tdep.c: Ditto.
* stabsread.c, stack.c, standalone.c, symfile.c: Ditto.
* symmisc.c, symtab.c, top.c, tracepoint.c: Ditto.
* typeprint.c, utils.c, valarith.c, valops.c: Ditto.
* values.c, vax-tdep.c, xcoffread.c: Ditto.
Thiemo Seufer [Sun, 14 Sep 2003 15:24:49 +0000 (15:24 +0000)]
* config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): Remove.
(macro_build_ldst_constoffset): Sign-extend 32-bit constants. Change
the function prototype.
(load_register): Likewise. Simplify the checks for sign-extended
constants.
(macro): Likewise. Fix code generation for 64-bit address constants
outside the 32-bit compatibility space. Adjust
macro_build_ldst_constoffset calls.
(s_cprestore): Adjust macro_build_ldst_constoffset call.
Andreas Jaeger [Sun, 14 Sep 2003 15:16:57 +0000 (15:16 +0000)]
* i386-dis.c: Convert to ISO C90 prototypes.
* i370-dis.c: Likewise.
* i370-opc.c: Likewiwse.
* i960-dis.c: Likewise.
* ia64-opc.c: Likewise.
Hans-Peter Nilsson [Sun, 14 Sep 2003 14:10:55 +0000 (14:10 +0000)]
* ld-mmix/bpo-1.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d,
ld-mmix/bpo-14.d, ld-mmix/bpo-16.d, ld-mmix/bpo-17.d,
ld-mmix/bpo-18.d, ld-mmix/bpo-19.d, ld-mmix/bpo-2.d,
ld-mmix/bpo-22.d, ld-mmix/bpo-3.d, ld-mmix/bpo-4.d,
ld-mmix/bpo-5.d, ld-mmix/bpo-6.d, ld-mmix/bpo-9.d,
ld-mmix/greg-19.d, ld-mmix/loc1.d, ld-mmix/loc2.d, ld-mmix/loc3.d,
ld-mmix/loc4.d, ld-mmix/loc6.d, ld-mmix/local12.d,
ld-mmix/locdo-1.d, ld-mmix/loct-1.d, ld-mmix/locto-1.d: Adjust for
objdump -d change.
Andreas Jaeger [Sun, 14 Sep 2003 12:20:17 +0000 (12:20 +0000)]
* addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
unneeded (void *) casts.
* ar.c: Likewise.
* arlex.l: Likewise.
* arparse.y: Likewise.
* arsup.c: Likewise.
* binemul.c: Likewise.
* binemul.h: Likewise.
* bucomm.c: Likewise.
* bucomm.h: Likewise.
* budbg.h: Likewise.
* budemang.c: Likewise.
* budemang.h: Likewise.
* coffdump.c: Likewise.
* coffgrok.c: Likewise.
* cxxfilt.c: Likewise.
* debug.c: Likewise.
* debug.h: Likewise.
* deflex.l: Likewise.
* dlltool.c: Likewise.
* dlltool.h: Likewise.
* dllwrap.c: Likewise.
* emul_aix.c: Likewise.
* filemode.c: Likewise.
* ieee.c: Likewise.
* nlmconv.c: Likewise.
* nlmconv.h: Likewise.
* nlmheader.y: Likewise.
* nm.c: Likewise.
* prdbg.c: Likewise.
* rclex.l: Likewise.
* rcparse.y: Likewise.
* rdcoff.c: Likewise.
* rddbg.c: Likewise.
* rename.c: Likewise.
* resbin.c: Likewise.
* rescoff.c: Likewise.
* resrc.c: Likewise.
* size.c: Likewise.
* srconv.c: Likewise.
* stabs.c: Likewise.
* strings.c: Likewise.
* sysdump.c: Likewise.
* sysinfo.y: Likewise.
* syslex.l: Likewise.
* unwind-ia64.c: Likewise.
* unwind-ia64.h: Likewise.
* version.c: Likewise.
* windres.c: Likewise.
* windres.h: Likewise.
* winduni.c: Likewise.
* wrstabs.c: Likewise.
Andrew Cagney [Sun, 14 Sep 2003 02:04:44 +0000 (02:04 +0000)]
2003-09-13 Andrew Cagney <cagney@redhat.com>
* config/pa/tm-hppa64.h (struct frame_info): Declare opaque.
* ppc-tdep.h (struct regcache): Declare opaque.
* objfiles.h (struct objfile_data): Declare opaque.
* cp-support.h (struct objfile): Declare opaque.
* linux-nat.h (target_waitstatus): Declare opaque.
gdbadmin [Sun, 14 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 14 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update
Mark Kettenis [Sat, 13 Sep 2003 23:25:41 +0000 (23:25 +0000)]
* cris-tdep.c (cris_gdbarch_init): Set
deprecated_reg_struct_has_addr instead of reg_struct_has_addr.
* hppa-tdep.c (hppa_gdbarch_init): Likewise.
* mcore-tdep.c (mcore_gdbarch_init): Likewise.
* mips-tdep.c (mips_gdbarch_init): Likewise.
* mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
* sparc-tdep.c (sparc_gdbarch_init): Likewise.
Andrew Cagney [Sat, 13 Sep 2003 21:31:33 +0000 (21:31 +0000)]
2003-09-13 Andrew Cagney <cagney@redhat.com>
* values.c (using_struct_return): Delete "function" and "funcaddr"
parameters.
* value.h (using_struct_return): Update declaration.
* infcmd.c (finish_command_continuation): Update.
(finish_command): Update.
* infcall.c (call_function_by_hand): Update.
* eval.c (evaluate_subexp_standard): Update.
Mark Kettenis [Sat, 13 Sep 2003 17:28:59 +0000 (17:28 +0000)]
Really check in regenerated files.
Christopher Faylor [Sat, 13 Sep 2003 16:46:21 +0000 (16:46 +0000)]
* win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for SSE
registers since gdb will not operate correctly without this. Restore include
file ordering munged in previous change.
* config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define.
Mark Kettenis [Sat, 13 Sep 2003 14:12:41 +0000 (14:12 +0000)]
* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from
REG_STRUCT_HAS_ADDR.
* gdbarch.c, gdbarch.h: Updated.
* infcall.c (call_function_by_hand): Update.
* stabsread.c (define_symbol): Updated.
Mark Kettenis [Sat, 13 Sep 2003 11:44:21 +0000 (11:44 +0000)]
* Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove.
Christopher Faylor [Sat, 13 Sep 2003 02:26:42 +0000 (02:26 +0000)]
* win32-nat.c: Reorganize so that defines used by target headers are actually
defined by the system headers.
* config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather than
HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists.
Jim Blandy [Sat, 13 Sep 2003 00:17:36 +0000 (00:17 +0000)]
* dbxread.c (read_dbx_symtab): Don't report an internal error if
the file has no .data, .bss, or .rodata sections. Instead wait
until we see a variable alleged to live in one of those sections.
Jim Blandy [Sat, 13 Sep 2003 00:00:32 +0000 (00:00 +0000)]
* dbxread.c (read_dbx_symtab): If we have no .data section and no
.bss section, presume that any variables we find live in the
.rodata section.
Alan Modra [Sat, 13 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 13 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Jim Blandy [Fri, 12 Sep 2003 23:34:55 +0000 (23:34 +0000)]
* dbxread.c (read_dbx_symtab): Add FIXME about finding section
offsets for global and static variables.
Jim Blandy [Fri, 12 Sep 2003 22:49:25 +0000 (22:49 +0000)]
* dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT
symbol types are, by definition, in the .data section, so it is
correct to use SECT_OFF_DATA (objfile) here, not data_sect_index.
If there is no .data section, there should be no N_DATA or N_DATA
| N_EXT symbols.
Dave Brolley [Fri, 12 Sep 2003 22:07:53 +0000 (22:07 +0000)]
Correct last entry.
Dave Brolley [Fri, 12 Sep 2003 22:05:22 +0000 (22:05 +0000)]
2003-09-12 Dave Brolley <brolley@redhat.com>
* registers.c (frv_check_spr_read_access): Check for access to
ACC4-ACC63 and ACCG4-ACCG63.
* profile.h (frv-desc.h): #include it.
(spr_busy): New member of FRV_PROFILE_STATE.
(spr_latency): Ditto.
(GNER_FOR_GR): New macro.
(FNER_FOR_FR): New maccro.
(update_SPR_latency): New function.
(vliw_wait_for_SPR): New function.
* profile.c (profile-fr550.h): #include it.
(update_latencies): Update SPR latencies.
(update_target_latencies): Ditto.
(update_SPR_latency): New function.
(vliw_wait_for_SPR): New function.
* profile-fr500.c (frvbf_model_fr500_u_idiv): Record GNER latency.
(frvbf_model_fr500_u_trap): Removed unused variable, ps.
(frvbf_model_fr500_u_check): Ditto.
(frvbf_model_fr500_u_clrgr): New unit modeller for fr500.
(frvbf_model_fr500_u_clrfr): Ditto.
(frvbf_model_fr500_u_spr2gr): Wait for SPR.
(frvbf_model_fr500_u_gr2spr): Ditto.
* frv-sim.h (H_SPR_ACC4): New macro.
(H_SPR_ACCG4): New macro;
(H_SPR_ACC0): Removed.
(H_SPR_ACCG0): Removed.
* arch.h,model.c,sem[ch],decode.[ch]: Regenerated.
Dave Brolley [Fri, 12 Sep 2003 22:04:22 +0000 (22:04 +0000)]
2003-09-12 Dave Brolley <brolley@redhat.com>
* frv.cpu (u-clrgr, u-clrfr): New units of model fr500.
(clear-ne-flag-r): Pass insn profiling in as an argument. Call
frv_ref_SI to get input register referenced for profiling.
(clear-ne-flag-all): Pass insn profiling in as an argument.
(clrgr,clrfr,clrga,clrfa): Add profiling information.
Mark Kettenis [Fri, 12 Sep 2003 19:27:38 +0000 (19:27 +0000)]
* amd64fbsd-tdep.c: Fix sigtramp recognition.
(amd64fbsd_sigcontext_addr): Rewrite.
(amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize
with correct values.
(amd64fbsd_sc_reg_offset): Initialize with correct values.
(amd64fbsd_init_abi): Fix typo.
Andrew Cagney [Fri, 12 Sep 2003 18:55:24 +0000 (18:55 +0000)]
2003-09-12 Andrew Cagney <cagney@redhat.com>
* ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro.
(ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop.
Andrew Cagney [Fri, 12 Sep 2003 18:40:18 +0000 (18:40 +0000)]
2003-09-12 Andrew Cagney <cagney@redhat.com>
* objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and
"entry_file_highpc". Update comments.
* defs.h (deprecated_inside_entry_file): Rename
"inside_entry_file".
* blockframe.c (deprecated_inside_entry_file): Rename
"inside_entry_file".
* frame.c (get_prev_frame): Update. Use if 0 instead of #if 0.
* vax-tdep.c (vax_frame_chain): Update.
* sh64-tdep.c (sh64_frame_chain): Update.
* sh-tdep.c (sh_frame_chain): Update.
* rs6000-tdep.c (rs6000_frame_chain): Update.
* ns32k-tdep.c (ns32k_frame_chain): Update.
* mips-tdep.c (mips_frame_chain): Update.
* m68hc11-tdep.c (m68hc11_frame_this_id): Update.
* m32r-tdep.c (m32r_frame_this_id): Update.
* i386-interix-tdep.c (i386_interix_frame_chain_valid): Update.
* frv-tdep.c (frv_frame_this_id): Update.
* d10v-tdep.c (d10v_frame_this_id): Update.
* cris-tdep.c (cris_frame_chain): Update.
* blockframe.c (legacy_frame_chain_valid): Update.
* avr-tdep.c (avr_frame_this_id): Update.
* arm-tdep.c (arm_prologue_this_id): Update.
* alpha-tdep.c (alpha_heuristic_frame_this_id): Update.
* objfiles.c (objfile_relocate): Update.
* mipsread.c (mipscoff_symfile_read): Update.
(mipscoff_symfile_read): Update.
* mdebugread.c (parse_partial_symbols): Update.
* dwarfread.c (read_file_scope): Update.
* dwarf2read.c (read_file_scope): Update.
* dbxread.c (read_dbx_symtab): Update.
(read_dbx_symtab): Update.
* coffread.c (complete_symtab): Update.
Jeff Johnston [Fri, 12 Sep 2003 15:24:24 +0000 (15:24 +0000)]
2003-09-12 Jeff Johnston <jjohnstn@redhat.com>
* top.c (quit_target): New static helper function.
(quit_force): Moved code to quit_target(). Call quit_target()
via catch_errors() to catch errors during quit.
gdbadmin [Fri, 12 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 12 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update
Bob Wilson [Fri, 12 Sep 2003 00:00:03 +0000 (00:00 +0000)]
* config/tc-xtensa.c (insn_labels, free_insn_labels, saved_insn_labels,
literal_syms): New global variables.
(xtensa_define_label, add_target_symbol, xtensa_find_label,
map_over_defined_symbols, is_loop_target_label,
xtensa_mark_target_fragments, xtensa_move_frag_symbol,
xtensa_move_frag_symbols, defined_symbols, branch_targets): Delete.
(xtensa_begin_directive): Call md_flush_pending_output. Move symbols
from insn_labels to saved_insn_labels when entering a literal region.
(xtensa_end_directive): Call md_flush_pending_output. Restore
insn_labels list when leaving a literal region.
(xtensa_literal_position): Call xtensa_clear_insn_labels.
(xtensa_literal_pseudo): Add check to disallow .literal inside a
literal region. Move insn_labels to saved_insn_labels and then restore
insn_labels on exit.
(xg_add_branch_and_loop_targets): Replace add_target_symbol calls with
code to set is_loop_target or is_branch_target flag on the symbol
(xtensa_create_literal_symbol): Call xtensa_add_literal_sym.
(xtensa_add_literal_sym, xtensa_add_insn_label,
xtensa_clear_insn_labels): New functions.
(xtensa_move_labels): Remove old_frag and old_offset arguments. Add
loops_ok argument. Rewrite to use insn_labels list instead of
calling xtensa_find_label and to check the is_loop_target flag on
symbols when loops_ok is false.
(xtensa_frob_label): Remove call to xtensa_define_label. Add call
to either xtensa_add_literal_sym or xtensa_add_insn_label. Adjust
call to xtensa_move_labels. Propagate is_branch_target and
is_loop_target flags from symbols to frags.
(xtensa_flush_pending_output): Call xtensa_clear_insn_labels.
(md_assemble): Use xtensa_move_labels with loops_ok = FALSE when
aligning a loop instruction. Adjust call to xtensa_move_labels for
aligning entry instructions. Add call to xtensa_clear_insn_labels.
(xtensa_end): Remove call to xtensa_mark_target_fragments.
(xtensa_move_literals): Replace xtensa_move_frag_symbols call with
code to use new literal_syms list.
* config/tc-xtensa.h (xtensa_symfield_type): Add is_loop_target and
is_branch_target flags.
David Carlton [Thu, 11 Sep 2003 23:43:56 +0000 (23:43 +0000)]
2003-09-11 David Carlton <carlton@kealia.com>
* buildsym.c (finish_block): Use allocate_block to allocate the
block.
* mdebugread.c (new_block): Add FIXME.
Michael Snyder [Thu, 11 Sep 2003 20:53:33 +0000 (20:53 +0000)]
2003-09-11 Michael Snyder <msnyder@redhat.com>
* frv.cpu: Typographical corrections.
David Carlton [Thu, 11 Sep 2003 19:49:20 +0000 (19:49 +0000)]
2003-09-11 David Carlton <carlton@kealia.com>
* gdbtypes.h: Add TYPE_CODE_NAMESPACE.
* gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE.
(recursive_dump_type): Ditto.
* printcmd.c (print_formatted): Ditto.
* typeprint.c (print_type_scalar): Ditto.
* c-typeprint.c (c_type_print_varspec_prefix): Ditto.
(c_type_print_varspec_suffix, c_type_print_base): Ditto.
* cp-support.h: Declare cp_check_possible_namespace_symbols,
maint_cplus_cmd_list.
* cp-support.c: Make maint_cplus_cmd_list extern.
* cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h,
command.h.
(lookup_symbol_file): Look in possible namespace blocks when
appropriate.
(initialize_namespace_symtab): New.
(get_possible_namespace_block, free_namespace_block)
(check_possible_namespace_symbols)
(check_possible_namespace_symbols_loop)
(check_one_possible_namespace_symbol)
(lookup_possible_namespace_symbol, maintenance_cplus_namespace)
(_initialize_cp_namespace): Ditto.
* block.h: Declare allocate_block.
* block.c (allocate_block): New.
* jv-lang.c (get_java_class_symtab): Allocate blocks via
allocate_block.
* symfile.h: Update declaration of add_psymbol_to_list.
* symfile.c (add_psymbol_to_list): Return the partial symbol in
question.
* dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to
scan_partial_symbols_call.
(scan_partial_symbols): Add NAMESPACE argument; update calls to
helper functions.
(add_partial_symbol): If necessary, scan mangled names for names
of namespaces.
(add_partial_namespace): Add NAMESPACE argument; generate partial
symbols associated to namespaces.
(add_partial_enumeration): Add NAMESPACE argument.
(new_symbol): Allow namespace syms.
(read_namespace): Generate namespace syms.
* objfiles.h: Add opaque declaration of struct symtab.
(struct objfile): Add cp_namespace_symtab member.
* objfiles.c (allocate_objfile): Set
objfile->cp_namespace_symtab.
* Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h,
dictionary_h, command_h.
2003-09-11 David Carlton <carlton@kealia.com>
* gdb.c++/namespace.exp: Add tests for namespace types.
* gdb.c++/maint.exp (test_help): Test 'help maint cp namespace'.
(test_namespace): New.
Andrew Cagney [Thu, 11 Sep 2003 19:27:25 +0000 (19:27 +0000)]
2003-09-11 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_push_dummy_call): Use
regcache_raw_write_signed to set SP_REGNUM, move the operation to
near the function's end.
(rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp".
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use
regcache_raw_write_signed to set SP_REGNUM.
Elena Zannoni [Thu, 11 Sep 2003 19:20:07 +0000 (19:20 +0000)]
2003-09-11 Elena Zannoni <ezannoni@redhat.com>
* symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure
orig_addrs is set up properly.
Elena Zannoni [Thu, 11 Sep 2003 19:09:46 +0000 (19:09 +0000)]
2003-09-11 Elena Zannoni <ezannoni@redhat.com>
* gdb.stabs/weird.exp: Ditto.
Elena Zannoni [Thu, 11 Sep 2003 18:59:02 +0000 (18:59 +0000)]
2003-09-11 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/relocate.exp: Handle new gdb output at startup.
Michael Snyder [Thu, 11 Sep 2003 18:39:05 +0000 (18:39 +0000)]
2003-09-11 Michael Snyder <msnyder@redhat.com>
* sim/testsuite/sim/frv/movgs.cgs: Change lcr to spr[273],
which according to the comments seems to be the intent.
Jim Wilson [Thu, 11 Sep 2003 17:51:47 +0000 (17:51 +0000)]
Move myself to paper trail section.
Andrew Cagney [Thu, 11 Sep 2003 15:17:18 +0000 (15:17 +0000)]
2003-09-11 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN.
* gdbarch.h, gdbarch.c: Re-generate.
* infcall.c (call_function_by_hand): Update.
* hppa-tdep.c (hppa_push_arguments): Update.
* ada-lang.c (place_on_stack): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to
stack_align.
Daniel Jacobowitz [Thu, 11 Sep 2003 15:02:51 +0000 (15:02 +0000)]
* dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a
register do need a frame.
Andrew Cagney [Thu, 11 Sep 2003 14:00:55 +0000 (14:00 +0000)]
2003-09-11 Andrew Cagney <cagney@redhat.com>
Since the IRIX 4 configuration was forcing K&R mode it hasn't been
buildable since GDB 5.0.
* NEWS: Mention that IRIX 3 and IRIX 4 support were removed.
* configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*".
* configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3.
* irix4-nat.c: Delete file.
* config/mips/irix4.mh: Delete file.
* config/mips/irix3.mh: Delete file.
* config/mips/irix3.mt: Delete file.
* config/mips/tm-irix3.h: Delete file.
* config/mips/nm-irix3.h: Delete file.
* config/mips/xm-irix3.h: Delete file.
* config/mips/nm-irix4.h: Delete file.
* config/mips/xm-irix4.h: Delete file.
* config/mips/tm-irix5.h: Inline contents of "tm-irix3.h".
Nick Clifton [Thu, 11 Sep 2003 11:20:42 +0000 (11:20 +0000)]
Add enum values for HP extensions to DWARF standard
Elena Zannoni [Thu, 11 Sep 2003 02:34:00 +0000 (02:34 +0000)]
2003-09-10 Elena Zannoni <ezannoni@redhat.com>
* mi-main.c (mi_setup_architecture_data): Don't use
DEPRECATED_REGISTER_BYTES because some architecture don't set it
and its default is 0.
Joel Brobecker [Thu, 11 Sep 2003 02:00:51 +0000 (02:00 +0000)]
* hppa-tdep.c: Include "dis-asm.h". Fixes a build failure.
* Makefile.in (hppa-tdep.o): Update dependencies.
Alan Modra [Thu, 11 Sep 2003 00:00:15 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 11 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Jim Wilson [Wed, 10 Sep 2003 23:50:09 +0000 (23:50 +0000)]
* MAINTAINERS: Change my e-mail address.
Alan Modra [Wed, 10 Sep 2003 23:35:40 +0000 (23:35 +0000)]
* ld-elf/merge2.s: New.
* ld-elf/merge2.d: New.
Jim Wilson [Wed, 10 Sep 2003 23:28:13 +0000 (23:28 +0000)]
* MAINTAINERS: Update my e-mail address.
Kevin Buettner [Wed, 10 Sep 2003 21:05:59 +0000 (21:05 +0000)]
* MAINTAINERS (frv): New ISA entry.
H.J. Lu [Wed, 10 Sep 2003 20:48:32 +0000 (20:48 +0000)]
2003-09-10 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections
started with ".sbss" or "".sdata" as SHF_IA_64_SHORT.
Dave Brolley [Wed, 10 Sep 2003 20:40:47 +0000 (20:40 +0000)]
2003-09-10 Dave Brolley <brolley@redhat.com>
* profile.c (slot_names): FM1 was listed twice. Changed first
instance to FM0. Added IALL, FMALL and FMLOW.
(print_parallel): Don't examine slots with no insns.
Dave Anglin [Wed, 10 Sep 2003 18:46:08 +0000 (18:46 +0000)]
* elf32-hppa.c (struct elf32_hppa_link_hash_entry,
hppa_link_hash_newfunc, hppa_build_one_stub,
elf32_hppa_adjust_dynamic_symbol, mark_PIC_calls, allocate_plt_static,
allocate_dynrelocs, elf32_hppa_size_dynamic_sections,
elf32_hppa_finish_dynamic_symbol): Remove pic_call field and all code
for generating import stubs for calls to statically linked PIC
functions.
(hppa_type_of_stub): Don't generate an import stub for calls to
statically linked pic functions. Generate import stubs for calls
in a shared object, to functions not in a regular file, and to
defined weak functions. Add new argument INFO.
(hppa_build_one_stub): Don't undef ADDIL_DP.
(elf32_hppa_check_relocs): Don't set SEC_HAS_GOT_REF flag.
(elf32_hppa_size_stubs): Pass info to hppa_type_of_stub.
(final_link_relocate): Change all DLTIND relocs to DPREL relocs in a
non-shared link. Convert instructions that use the the linkage table
pointer, or a facsimile thereof, to use the global data pointer when
the reloc has been changed.
Kevin Buettner [Wed, 10 Sep 2003 07:32:47 +0000 (07:32 +0000)]
* frv-tdep.c (dis-asm.h): Include.
* Makefile.in (frv-tdep.o): Update dependencies.
Bob Wilson [Wed, 10 Sep 2003 00:17:29 +0000 (00:17 +0000)]
* config/tc-xtensa.c (xtensa_mark_literal_pool_location): Remove
"move_labels" argument and corresponding call to xtensa_move_labels.
(md_assemble): Add a separate call to xtensa_move_labels and remove
argument for call to xtensa_mark_literal_pool_location.
(xtensa_literal_position, xtensa_switch_to_literal_fragment): Fix
calls to xtensa_mark_literal_pool_location.
(xtensa_create_local_symbol): Delete and inline the code into...
(xtensa_create_literal_symbol): ...here.
(xtensa_frob_label): Combine conditionals.
(expression_maybe_register, xtensa_symbol_new_hook,
fix_new_exp_in_seg): Use symbol_get_tc.
Alan Modra [Wed, 10 Sep 2003 00:00:35 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 10 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Bob Wilson [Tue, 9 Sep 2003 23:41:43 +0000 (23:41 +0000)]
* config/tc-xtensa.c (xtensa_literal_pseudo): Remove code for
combining identical literals.
(expression_maybe_register): Remove call to find_lit_sym_translation.
(is_duplicate_expression, cache_literal, is_duplicate_literal,
add_lit_sym_translation, find_lit_sym_translation): Delete.
Jeff Johnston [Tue, 9 Sep 2003 23:29:52 +0000 (23:29 +0000)]
2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs):
Fix typo for high range of floating registers.
David Carlton [Tue, 9 Sep 2003 23:23:05 +0000 (23:23 +0000)]
2003-09-09 David Carlton <carlton@kealia.com>
* dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and
highpc initialization here out of scan_partial_symbols.
(scan_partial_symbols): Restructure into a recursive version,
calling add_partial_namespace and add_partial_enumeration when
appropriate.
(add_partial_namespace): New.
(add_partial_enumeration, locate_pdi_sibling): Ditto.
David Lecomber [Tue, 9 Sep 2003 23:09:37 +0000 (23:09 +0000)]
Reverting until I learn how to conform..
Andrew Cagney [Tue, 9 Sep 2003 22:41:47 +0000 (22:41 +0000)]
2003-09-09 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (ppc_push_return_address): Delete function.
(rs6000_push_dummy_call): Set LR to BP_ADDR.
(rs6000_gdbarch_init): Do not set deprecated_push_return_address.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.
Dave Brolley [Tue, 9 Sep 2003 22:34:53 +0000 (22:34 +0000)]
2003-09-09 Dave Brolley <brolley@redhat.com>
* sim/frv/maddaccs.cgs: move to fr400 subdirectory.
* sim/frv/msubaccs.cgs: move to fr400 subdirectory.
* sim/frv/masaccs.cgs: move to fr400 subdirectory.
Dave Brolley [Tue, 9 Sep 2003 22:29:42 +0000 (22:29 +0000)]
2003-09-09 Dave Brolley <brolley@redhat.com>
* frv-desc.c: Regenerated.
Dave Brolley [Tue, 9 Sep 2003 22:28:33 +0000 (22:28 +0000)]
2003-09-09 Dave Brolley <brolley@redhat.com>
* frv.c (do_media_average): Select machine using a switch.
Dave Brolley [Tue, 9 Sep 2003 22:27:28 +0000 (22:27 +0000)]
2003-09-09 Dave Brolley <brolley@redhat.com>
* frv.cpu (media-dual-complex): Change UNIT to FMALL.
(conditional-media-dual-complex, media-quad-complex): Likewise.