aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-09-192003-09-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-41/+49
* config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete. (DEPRECATED_HPUX_TEXT_END): Define. (deprecated_hpux_text_end): Declare. (struct target_ops): Declare opaque. * hppah-nat.c (text_end): Make static. (deprecated_hpux_text_end): New function. * exec.c (text_end): Delete global variable. (NEED_TEXT_START_END): Do not define. (exec_file_attach): Replace code computing "text_end" code with call to DEPRECATED_HPUX_TEXT_END. 2003-09-19 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete documentation for NEED_TEXT_START_END.
2003-09-192003-09-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney8-101/+112
* utils.c (align_up, align_down): New functions. * defs.h (align_up, align_down): Declare. * ppc-sysv-tdep.c (align_up, align_down): Delete functions. * s390-tdep.c: Replace "round_up" and "round_down" with "align_up" and "align_down". (round_up, round_down): Delete functions. * mips-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and "align_down". (ROUND_DOWN, ROUND_UP): Delete macros. (mips_dump_tdep): Do not print "ROUND_UP" or "ROUND_DOWN". * h8300-tdep.c: Replace "round_up" and "round_down" with "align_up" and "align_down". (round_up, round_down): Delete macros. * frv-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and "align_down". (ROUND_UP, ROUND_DOWN): Delete macros.
2003-09-19 * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove aJoel Brobecker2-4/+6
hard-coded constant. Use the proper machine name instead.
2003-09-19*** empty log message ***gdbadmin1-1/+1
2003-09-182003-09-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-42/+28
* sparc-tdep.c (legacy_register_name): Delete function. * mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME. (mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments. * infcmd.c (gdb_register_name): Delete variable. * gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to REGISTER_NAME and "tm.h". * gdbarch.h, gdbarch.c: Regenerate. * dpx2-nat.c (regmap): Refer to REGISTER_NAME and not REGISTER_NAMES in comments. * remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto. * m68klinux-nat.c (regmap): Ditto. 2003-09-18 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete documentation on REGISTER_NAMES.
2003-09-182003-09-17 Michael Chastain <mec@shout.net>Michael Chastain3-0/+159
* gdb.cp/gdb1355.exp: New file. * gdb.cp/gdb1355.c: New file.
2003-09-18*** empty log message ***gdbadmin1-1/+1
2003-09-17* Makefile.in (dis_asm_h): Note that this #includes "bfd.h".Jim Blandy2-1/+5
2003-09-17Fix ChangeLog entry to read 'gdb.cp' instead of 'gdb.c++'.David Carlton1-2/+2
2003-09-172003-09-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+24
* ppcnbsd-tdep.c (ppcnbsd_use_struct_convention): New function. (ppcnbsd_init_abi): Set "use_struct_convention" to "ppcnbsd_use_struct_convention".
2003-09-17* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.Mark Kettenis7-40/+96
* 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.
2003-09-172003-09-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney15-65/+79
* 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.
2003-09-172003-09-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney49-336/+364
* 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.
2003-09-17*** empty log message ***gdbadmin1-1/+1
2003-09-162003-09-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-22/+49
* 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.
2003-09-162003-09-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney34-134/+147
* 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.
2003-09-16 * sh-tdep.h (struct gdbarch_tdep): Remove. Change all registerCorinna Vinschen4-294/+168
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.
2003-09-16*** empty log message ***gdbadmin1-1/+1
2003-09-152003-09-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* doublest.c (convert_floatformat_to_doublest): No longer need to cast "exp_bias" to an int. Reverts 2002-12-04 change.
2003-09-15 * values.c (unpack_double): Call floatformat_is_valid.Daniel Jacobowitz2-1/+12
2003-09-15* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type ofMark Kettenis2-1/+4
ps_strings into a long.
2003-09-15* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename fromMark Kettenis2-1/+14
_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.
2003-09-15 * dwarf2read.c (dwarf2_get_pc_bounds): Complain if offsetKevin Buettner2-1/+14
associated with DW_AT_ranges attribute is out of bounds.
2003-09-152003-09-15 David Lecomber <dsl@sources.redhat.com>David Lecomber2-8/+19
* f-valprint.c: Apply array element printing limits to multi-dimensional arrays
2003-09-15 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.Corinna Vinschen3-0/+95
* gdb.asm/sh.inc: New file.
2003-09-152003-09-14 Michael Chastain <mec@shout.net>Michael Chastain3-63/+5
* config/m68k/nm-apollo68v.h: Delete. * config/m68k/xm-apollo68v.h: Delete.
2003-09-15*** empty log message ***gdbadmin1-1/+1
2003-09-142003-09-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney8-15/+28
* 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.
2003-09-142003-09-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+7
* config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and "amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c".
2003-09-142003-09-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney85-549/+575
* 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.
2003-09-142003-09-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney8-0/+20
* 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.
2003-09-14*** empty log message ***gdbadmin1-1/+1
2003-09-13* cris-tdep.c (cris_gdbarch_init): SetMark Kettenis7-19/+33
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.
2003-09-132003-09-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-20/+20
* 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.
2003-09-13Really check in regenerated files.Mark Kettenis2-49/+49
2003-09-13* win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for SSEChristopher Faylor4-31/+21
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.
2003-09-13* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed fromMark Kettenis6-13/+24
REG_STRUCT_HAS_ADDR. * gdbarch.c, gdbarch.h: Updated. * infcall.c (call_function_by_hand): Update. * stabsread.c (define_symbol): Updated.
2003-09-13* Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove.Mark Kettenis2-2/+4
2003-09-13* win32-nat.c: Reorganize so that defines used by target headers are actuallyChristopher Faylor4-15/+22
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.
2003-09-13* dbxread.c (read_dbx_symtab): Don't report an internal error ifJim Blandy2-1/+10
the file has no .data, .bss, or .rodata sections. Instead wait until we see a variable alleged to live in one of those sections.
2003-09-13* dbxread.c (read_dbx_symtab): If we have no .data section and noJim Blandy2-0/+6
.bss section, presume that any variables we find live in the .rodata section.
2003-09-13*** empty log message ***gdbadmin1-1/+1
2003-09-12* dbxread.c (read_dbx_symtab): Add FIXME about finding sectionJim Blandy2-1/+23
offsets for global and static variables.
2003-09-12* dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXTJim Blandy2-2/+10
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.
2003-09-12* amd64fbsd-tdep.c: Fix sigtramp recognition.Mark Kettenis2-26/+35
(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.
2003-09-122003-09-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-254/+241
* ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro. (ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop.
2003-09-122003-09-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney28-66/+118
* 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.
2003-09-122003-09-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-14/+40
* 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.
2003-09-12*** empty log message ***gdbadmin1-1/+1
2003-09-112003-09-11 David Carlton <carlton@kealia.com>David Carlton3-5/+10
* buildsym.c (finish_block): Use allocate_block to allocate the block. * mdebugread.c (new_block): Add FIXME.