aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2003-05-02 * ld-elfvers/vers.exp (build_exec): Disable vers26b3 on x86-64-linux.Andreas Jaeger2-2/+11
2003-05-02Fix name of --enable-install-libbfd switch.Nick Clifton5-477/+524
2003-05-022003-05-01 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+15
* gas/mips/mips.exp (mips_arch_init): New function. Call it before setting up architecture array entries.
2003-05-022003-05-01 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+8
* config/obj-elf.c (obj_elf_type): Accept "notype" and "STT_NOTYPE".
2003-05-022003-05-01 H.J. Lu <hjl@gnu.org>H.J. Lu7-1/+80
* gas/elf/elf.exp (run_list_test): Accept empty $opts. Add type test. * gas/elf/type.e: New file. * gas/elf/type.s: Likewise. * gas/elf/type.e-m32r: Likewise. * gas/elf/type.e-mips: Likewise. * gas/elf/type.e-miwmmxt: Likewise.
2003-05-02gas/H.J. Lu7-0/+50
2003-05-01 H.J. Lu <hjl@gnu.org> * config/tc-ia64.h (tc_canonicalize_section_name): New. * config/obj-elf.c (obj_elf_section_name): Call tc_canonicalize_section_name if it is defined. gas/testsuite/ 2003-05-01 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add secname. * gas/ia64/secname.s: New. Test the trailing '#' in section name. * gas/ia64/secname.d: Likewise.
2003-05-022003-05-01 H.J. Lu <hjl@gnu.org>H.J. Lu4-0/+21
* gas/ia64/ia64.exp: Add "global". * gas/ia64/global.d: New file. * gas/ia64/global.s: Likewise.
2003-05-022003-05-01 H.J. Lu <hjl@gnu.org>H.J. Lu4-0/+24
* config/tc-ia64.c (ia64_check_label): New. * config/tc-ia64.h (tc_check_label): New. * read.c (read_a_source_file): Call tc_check_label after creating a user-defined label if defined.
2003-05-02 * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,Alan Modra2-9/+18
-be and split strings to below 509 bytes in length.
2003-05-02*** empty log message ***gdbadmin1-1/+1
2003-05-02daily updateAlan Modra1-1/+1
2003-05-012003-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-73/+56
* disasm.c (gdb_disassemble_from_exec): Delete global variable. (gdb_disassembly): Make "di" non static, always initialize and cleanup. Always use dis_asm_read_memory. (gdb_dis_asm_read_memory): Delete function. 2003-05-01 Andrew Cagney <cagney@redhat.com> * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a variable do not give memory errors.
2003-05-01 * z8k-dis.c (z8k_lookup_instr): Optimize FETCH_DATA calls.Christian Groessler1-0/+8
(unpack_instr): Fix representation of segmented addresses. (intr_name): Added, contains names of the parameters to the EI/DI instructions. (unparse_instr): Fix display of EI/DI parameters.
2003-05-01 * expr.h: Fix comments in operatorT typedef.Christian Groessler1-0/+22
* config/tc-z8k.c: Add 2003 to copyright message. Fold s_segm() and s_unseg() into one function s_segm(parm) which decides by the parameter. (md_begin): Don't set linkrelax. Only set Z8002 default if no command line argument was given to select the intended architecure. (get_interrupt_operand): Warn if NOP type code is emitted. (newfix): New parameter 'size', forward it to 'fix_new_exp'. (apply_fix): Call newfix with additional 'size' parameter. (build_bytes): Remove unused variable 'nib'. Detect overflow in 4 bit immediate arguments. (md_longopts): Add 'linkrelax' option. (md_parse_option): Adapt to new s_segm function. Set 'linkrelax' variable when 'linkrelax' command line option is specified. (md_show_usage): Display 'linkrelax' option. (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases R_CALLR and R_REL16. * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
2003-05-01 * expr.h: Fix comments in operatorT typedef.Christian Groessler4-68/+131
* config/tc-z8k.c: Add 2003 to copyright message. Fold s_segm() and s_unseg() into one function s_segm(parm) which decides by the parameter. (md_begin): Don't set linkrelax. Only set Z8002 default if no command line argument was given to select the intended architecure. (get_interrupt_operand): Warn if NOP type code is emitted. (newfix): New parameter 'size', forward it to 'fix_new_exp'. (apply_fix): Call newfix with additional 'size' parameter. (build_bytes): Remove unused variable 'nib'. Detect overflow in 4 bit immediate arguments. (md_longopts): Add 'linkrelax' option. (md_parse_option): Adapt to new s_segm function. Set 'linkrelax' variable when 'linkrelax' command line option is specified. (md_show_usage): Display 'linkrelax' option. (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases R_CALLR and R_REL16. * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
2003-05-012003-05-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+10
* d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align. (d10v_gdbarch_init): Set frame_align instead of stack_align.