aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-05-052003-05-05 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+851
* config-ml.in: Restored from gcc repository.
2003-05-05Index: testsuite/ChangeLogAndrew Cagney9-2/+103
2003-05-05 Andrew Cagney <cagney@redhat.com> * gdb.base/maint.exp: Add tests for "maint print dummy-frames". Index: doc/ChangeLog 2003-05-05 Andrew Cagney <cagney@redhat.com> * gdb.texinfo (Maintenance Commands): Document "maint print dummy-frames". 2003-05-05 Andrew Cagney <cagney@redhat.com> * dummy-frame.c: Include "command.h" and "gdbcmd.h". (fprint_dummy_frames): New function. (maintenance_print_dummy_frames): New function. (_initialize_dummy_frame): Add command "maint print dummy-frames". * frame.c (fprint_frame_id): Make global. * frame.h (fprint_frame_id): Declare. * Makefile.in (dummy-frame.o): Update dependencies.
2003-05-052003-05-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney52-573/+627
* gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename SIZEOF_CALL_DUMMY_WORDS. (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename CALL_DUMMY_BREAKPOINT_OFFSET. (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename CALL_DUMMY_START_OFFSET. (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. * gdbarch.h, gdbarch.c: Re-generate. * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. * config/sparc/tm-sparc.h: Update. Index: doc/ChangeLog 2003-05-03 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Make CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_LENGTH, FIX_CALL_DUMMY, CALL_DUMMY_BREAKPOINT_OFFSET and CALL_DUMMY_BREAKPOINT_OFFSET deprecated. Index: mi/ChangeLog 2003-05-03 Andrew Cagney <cagney@redhat.com> * mi-main.c (mi_cmd_data_write_register_values): Replace REGISTER_SIZE with DEPRECATED_REGISTER_SIZE. Index: testsuite/ChangeLog 2003-05-03 Andrew Cagney <cagney@redhat.com> * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2003-05-05 * elf32-i386.c (allocate_dynrelocs): For undef weak syms withAlan Modra5-17/+76
non-default visibility, a) don't make them dynamic, b) discard space for dynamic relocs. * elf64-x86-64.c (allocate_dynrelocs): Likewise. * elf32-ppc.c (allocate_dynrelocs): For undef weak syms with non-default visibility, a) don't allocate plt entries, b) don't allocate .got relocs, c) discard dyn rel space, (ppc_elf_relocate_section): d) don't generate .got relocs, e) don't generate dynamic relocs. * elf64-ppc.c (allocate_dynrelocs): As above. (ppc64_elf_relocate_section): As above.
2003-05-05Added i386 QNX Neutrino support.Kris Warkentin7-0/+898
2003-05-05 * elf64-x86-64.c (allocate_dynrelocs): Don't allocate dynamicAndreas Jaeger2-3/+21
relocation entries for weak undefined symbols with non-default visibility. (elf64_x86_64_relocate_section): Initialize the GOT entries and skip R_386_32/R_386_PC32 for weak undefined symbols with non-default visibility.
2003-05-05 * ldlex.l: Accept C style comments in version scripts.Alan Modra2-1/+5
2003-05-05bfd/H.J. Lu7-14/+143
2003-05-04 H.J. Lu <hjl@gnu.org> * elf32-i386.c (allocate_dynrelocs): Don't allocate dynamic relocation entries for weak undefined symbols with non-default visibility. (elf_i386_relocate_section): Initialize the GOT entries and skip R_386_32/R_386_PC32 for weak undefined symbols with non-default visibility. * elfxx-ia64.c (allocate_fptr): Don't allocate function descriptors for weak undefined symbols with non-default visibility. (allocate_dynrel_entries): Don't allocate relocation entries for symbols resolved to 0. (set_got_entry): Don't install dynamic relocation for weak undefined symbols with non-default visibility. (set_pltoff_entry): Likewise. * elflink.h (elf_fix_symbol_flags): Hide weak undefined symbols with non-default visibility. (elf_link_output_extsym): Don't make weak undefined symbols with non-default visibility dynamic. ld/testsuite/ 2003-05-04 H.J. Lu <hjl@gnu.org> * ld-elfvsb/main.c: Updated. * ld-elfvsb/sh1.c: Likewise.
2003-05-05Add missing entries for the last checkin.H.J. Lu1-0/+3
2003-05-05bfd/H.J. Lu9-37/+79
2003-05-04 H.J. Lu <hjl@gnu.org> * elflink.h (elf_merge_symbol): Correctly handle weak definiton. ld/testsuite/ 2003-05-04 H.J. Lu <hjl@gnu.org> * ld-elfvers/vers18.dsym: Updated for weak definiton change. * ld-elfvers/vers18.ver: Likewise. * ld-elfvers/vers19.ver: Likewise. * ld-elfweak/elfweak.exp: Remove xfail.
2003-05-052003-05-04 H.J. Lu <hjl@gnu.org>H.J. Lu2-4/+28
* elflink.h (elf_merge_symbol): Don't record a hidden/internal symbol dynamic. Check indirection when removing the old definition for symbols with non-default visibility. (elf_add_default_symbol): Skip when told by elf_merge_symbol.
2003-05-052003-05-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-22/+57
* gdbthread.h (save_infrun_state): Drop prev_func_name parameter. (load_infrun_state): Ditto. (struct thread_info): Drop "prev_func_name" field. * thread.c (load_infrun_state): Update. (save_infrun_state): Update. * infrun.c (prev_func_name): Delete variable. (init_wait_for_inferior): Do not clear prev_func_name. (stop_stepping, keep_going, context_switch): Do not swap prev_func_name. (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp instead of PC_IN_SIGTRAMP.
2003-05-05*** empty log message ***gdbadmin1-1/+1
2003-05-05daily updateAlan Modra1-1/+1
2003-05-04merge from gccDJ Delorie3-504/+77
2003-05-04* ld-mips-elf/multi-got-1.d: Force into big-endian mode.Alexandre Oliva2-8194/+8199
Turn relocation offsets into regexps.
2003-05-042003-05-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-12/+73
* sentinel-frame.c (sentinel_frame_prev_register): Replace REGISTER_BYTE with register_offset_hack. * regcache.c (init_regcache_descr): When REGISTER_BYTE_P, check that REGISTER_BYTE is consistent with the regcache. * gdbarch.sh (REGISTER_BYTE): Add a predicate. * gdbarch.h, gdbarch.c: Regenerate.
2003-05-042003-05-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+5
* gdb.texinfo (GDB/MI Symbol Query): Use @{ and @}.
2003-05-04* i387-tdep.c (fxsave_offset): Add entries for %xmm8-%xmm15.Mark Kettenis2-10/+28
(FXSAVE_ADDR, i387_supply_fxsave): Add support for %xmm8-%xmm15.
2003-05-04* i386-linux-nat.c (supply_gregset): Remove unnecessary casts.Mark Kettenis2-3/+6
2003-05-042003-05-03 H.J. Lu <hjl@gnu.org>H.J. Lu3-5/+10
* gas/elf/symver.s: Use '%' instead of '@' in .type. * gas/elf/type.s: Likewise.
2003-05-04 From Thierry Schneider <tpschneider1@yahoo.com>:Joel Brobecker2-0/+32
* gdb.texinfo (section GDB/MI Symbol Query): Add documentation for new MI command.
2003-05-04 From Thierry Schneider <tpschneider1@yahoo.com>:Joel Brobecker2-0/+67
* mi1-symbol.exp (-symbol-list-lines): New test file to validate all symbol-related commands
2003-05-04 From Thierry Schneider <tpschneider1@yahoo.com>Joel Brobecker2-2/+12
* Makfile.in (SUBDIR_MI_OBS): Add dependency on mi-cmd-symbol.o. (SUBDIR_MI_SRCS): Add mi-cmd-symbol.c. (mi-cmd-symbol.o): Add rule.
2003-05-04 From Thierry Schneider <tpschneider1@yahoo.com>:Joel Brobecker4-0/+77
* mi-cmds.h (mi_cmd_symbol_list_lines): Add declaration. * mi-cmds.c (mi_cmds): Add entry for new MI command. * mi-cmd-symbol.c (mi_cmd_symbol_list_lines): New source file for all symbol-related commands.
2003-05-04 * readelf.c (struct Frame_Chunk): Add cfa_exp.Richard Henderson2-13/+70
(frame_display_row): Just print "exp" for cfa or register defined by a location expression. (display_debug_frames): Handle DW_CFA_def_cfa_expression, DW_CFA_expression, DW_CFA_MIPS_advance_loc8.
2003-05-04daily updateAlan Modra1-1/+1
2003-05-04*** empty log message ***gdbadmin1-1/+1
2003-05-032003-05-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney9-78/+321
* gdbarch.sh (PUSH_DUMMY_CODE): New architecture method, add comments noteing that it replaces the old FIX_CALL_DUMMY code. * gdbarch.h, gdbarch.c: Re-generate. * d10v-tdep.c (d10v_push_dummy_code): New function. (d10v_gdbarch_init): Set push_dummy_code. * infcall.c (legacy_push_dummy_code): New function. (generic_push_dummy_code): New function. (push_dummy_code): New function. (call_function_by_hand): Call push_dummy_code. Pass bp_addr, instead of dummy_addr, to push_dummy_call. Move call to generic_save_call_dummy_addr to outside of CALL_DUMMY_LOCATION switch. * sparc-tdep.c (sparc_gdbarch_init): Mention push_dummy_code. 2003-05-03 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Document push_dummy_code. Add cross references.
2003-05-032003-05-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney10-69/+78
* disasm.h (print_insn): Declare. * disasm.c (init_gdb_disassemble_info): New function. (gdb_disassembly): Call init_gdb_disassemble_info. (gdb_print_insn): New function. * v850-tdep.c (v850_scan_prologue): Call gdb_print_insn, instead of TARGET_PRINT_INSN. Send debug info to "gdb_stdlog". * mcore-tdep.c: Include "disasm.h" (mcore_dump_insn): Call gdb_print_insn, instead of TARGET_PRINT_INSN. * d10v-tdep.c: Include "disasm.h". (display_trace): Call gdb_print_insn, instead of print_insn. (print_insn): Delete function. * printcmd.c: Include "disasm.h". (print_insn): Delete function. (print_formatted): Call gdb_print_insn, instead of print_insn. * Makefile.in (printcmd.o): Update dependencies. (mcore-tdep.o, d10v-tdep.o): Ditto. 2003-05-03 Andrew Cagney <cagney@redhat.com> * tuiDisassem.c (tui_disassemble): Call gdb_print_insn, instead of TARGET_PRINT_INSN. Do not initialize a disassemble_info object.
2003-05-032003-05-03 H.J. Lu <hjl@gnu.org>H.J. Lu6-52/+18
* gas/elf/elf.exp (run_list_test): Support pipe for readelf. * gas/elf/type.e-m32r: Removed. * gas/elf/type.e-mips: Likewise. * gas/elf/type.e-miwmmxt: Likewise. * gas/elf/type.e: Updated.
2003-05-03merge from gccDJ Delorie2-1/+5
2003-05-032003-05-03 H.J. Lu <hjl@gnu.org>H.J. Lu12-0/+38
* ld-elfvers/vers.exp: Add vers27a, vers27b, vers27c1 and vers27c2 to test versioned definition vs. hidden definition in different files. * ld-elfvers/vers27a.c: New file. * ld-elfvers/vers27a.dsym: Likewise. * ld-elfvers/vers27a.map: Likewise. * ld-elfvers/vers27a.ver: Likewise. * ld-elfvers/vers27b.c: Likewise. * ld-elfvers/vers27b.dsym: New empty file. * ld-elfvers/vers27b.ver: Likwise. * ld-elfvers/vers27c.c: Likwise. * ld-elfvers/vers27c.dsym: Likwise. * ld-elfvers/vers27c.ver: Likwise.
2003-05-03gas/H.J. Lu9-8/+66
2003-05-03 H.J. Lu <hjl@gnu.org> * config/obj-elf.c (obj_elf_parse_section_letters): Make it a fatal error for unknown section attribute. * config/tc-alpha.c (alpha_elf_section_letter): Return -1 for unknown section attribute. * config/tc-ia64.c (ia64_elf_section_letter): Likewise. * config/tc-ppc.c (ppc_section_letter): Likewise. * config/tc-ia64.c (ia64_elf_section_letter): Handle 'o'. (ia64_elf_section_type): Accept "unwind". gas/testsuite/ 2003-05-03 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add unwind. * gas/ia64/unwind.s: New. Test the new section attribute 'o' and the new section type "unwind". * gas/ia64/unwind.d: Likewise.
2003-05-032003-05-02 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+8
* gas/mips/mips.exp (mips_arch_init): Reimplement in a way that's safe with ancient versions of tcl/expect.
2003-05-032003-05-02 H.J. Lu <hjl@gnu.org>H.J. Lu3-2/+7
* read.h (demand_copy_string): New. * config/tc-alpha.c (demand_copy_string): Removed.
2003-05-032003-05-02 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-4/+9
* Makefile.tpl: Require "makeinfo" from texinfo 4.2 or later. * Makefile.in: Regenerate.
2003-05-032003-05-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+12
* New file.
2003-05-032003-05-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-14/+33
* std-regs.c (value_of_builtin_frame_pc_reg): Delete #ifdef PC_REGNUM, re-indent. * stack.c (frame_info): Use "pc" for the name of get_frame_pc when PC_REGNUM isn't set.
2003-05-03*** empty log message ***gdbadmin1-1/+1
2003-05-03daily updateAlan Modra1-1/+1
2003-05-022003-05-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-34/+24
* gdbarch.sh (REGISTER_SIZE, REGISTER_BYTES): Make optional. * gdbarch.h, gdbarch.c: Re-generate. * d10v-tdep.c (d10v_gdbarch_init): Do not set register_size, register_virtual_size, pc_regnum, or register_bytes. (D10V_PC_REGNUM): Rename _PC_REGNUM. (d10v_register_type): Use D10V_PC_REGNUM. (d10v_print_registers_info, d10v_read_pc): Ditto. (d10v_write_pc, d10v_eva_prepare_to_trace): Ditto. (d10v_unwind_pc, d10v_frame_prev_register): Ditto.
2003-05-02[igen/ChangeLog]Chris Demetriou9-9/+28
2003-05-03 Chris Demetriou <cgd@broadcom.com> * compare_igen_models: Tweak attribution slightly. [mips/ChangeLog] 2003-05-03 Chris Demetriou <cgd@broadcom.com> * cp1.c: Tweak attribution slightly. * cp1.h: Likewise. * mdmx.c: Likewise. * mdmx.igen: Likewise. * mips3d.igen: Likewise. * sb1.igen: Likewise.
2003-05-022003-05-02 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+7
* write.h (FAKE_LABEL_NAME): Allow override (for targets that like eg. a leading dot in a local label).
2003-05-02 * src-release (DEVO_SUPPORT): Add src-release, Makefile.tpl,Daniel Jacobowitz2-1/+7
and Makefile.def.
2003-05-022003-05-02 David Carlton <carlton@bactrian.org>David Carlton2-1/+6
* objfiles.c (allocate_objfile): For anonymous objfiles, allocate the name with mstrsave.
2003-05-02Make the R_XSTORMY16_8 and R_XSTORMY16_16 relocs detect and complain aboutNick Clifton2-5/+11
unsigned overflow.
2003-05-02gdb:Elena Zannoni7-282/+364
2003-05-02 Elena Zannoni <ezannoni@redhat.com> * charset.c (GDB_DEFAULT_TARGET_CHARSET, GDB_DEFAULT_HOST_CHARSET): Move to earlier in the file. (host_charset_name, target_charset_name): New vars for use by set/show commands. (host_charset_enum, target_charset_enum): New enums for set/show commands. (set_charset_sfunc, set_host_charset_sfunc, set_target_charset_sfunc): New functions. (set_host_charset, set_target_charset): Make static. (list_charsets, set_host_charset_command, set_target_charset_command): Delete functions. (show_charset_command): Rewrite as.... (show_charset): Hook this up with the set/show command mechanism. (_initialize_charset): Change names of charsets to match the set/show enums. Use host_charset_name and target_charset_name. Use set/show mechanism for charset, host-charset, target-charset commands. Do not make 'show host-charset' and 'show target-charset' be aliases of 'show charset'. * charset.h (set_host_charset, set_target_charset): Don't export, they are not used outside the file. gdb/testsuite: 2003-05-01 Elena Zannoni <ezannoni@redhat.com> * gdb.base/charset.exp: Update based on new behavior of set/show charset commands. gdb/doc: 2003-05-02 Elena Zannoni <ezannoni@redhat.com> * gdb.texinfo (Character Sets): Update to reflect new behavior of set/show charsets commands.
2003-05-02Fix xstormy16's handling of pc-relative relocs against defined symbols.Nick Clifton7-2/+128
2003-05-02 * elf64-x86-64.c (elf_x86_64_copy_indirect_symbol): Don't copyAndreas Jaeger2-19/+54
ELF_LINK_NON_GOT_REF for weakdefs when symbol already adjusted. (ELIMINATE_COPY_RELOCS): Define as one. Use throughout. (elf_x86_64_adjust_dynamic_symbol): For weak symbols, copy ELF_LINK_NON_GOT_REF from weakdef.