aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-09-22 * source.c (get_current_or_default_source_symtab_and_line): RemoveFernando Nasser6-38/+60
function. (set_default_source_symtab_and_line): New function. Attempts to determine a source file to list lines from if one is not currently defined. (get_current_source_symtab_and_line): Initialize sal.pc and sal.end fields. (set_current_source_symtab_and_line): Mark argument as const. * source.h: Update declarations and comments. * linespec.c (decode_line_1): Replace call to removed routine above. * stack.c (print_frame_info_base): Ditto. * cli/cli-cmds.c (edit_command): Ditto. (list_command): Ditto.
2002-09-22 * source.c (get_current_source_symtab_and_line): Initialize sal.pc andFernando Nasser4-4/+16
sal.end fields. (get_current_or_default_source_symtab_and_line): Ditto. * breakpoint.c (parse_breakpoint_sals): Use correct accessor function so we do not cause a new source symtab to be searched for (reverting an unintentional change from the 2002-09-20 patch). * scm-lang.c (scm_unpac): Ditto.
2002-09-22daily updateAlan Modra1-1/+1
2002-09-22*** empty log message ***gdbadmin1-1/+1
2002-09-212002-09-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-5/+39
* complaints.c (symfile_explanations): Remove new-line from ``isolated_message''. (vcomplaint): When ISOLATED_MESSAGE, force a line break. (clear_complaints): When a SUBSEQUENT_MESSAGE, force a line break.
2002-09-212002-09-20 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2-3/+8
* configure.in (*-*-netbsd*): Use noconfigdirs, not skipdirs. * configure.in (sh*-*-pe*): Ditto. * configure.in (mips*-*-pe*): Ditto. * configure.in (*arm-wince-pe): Ditto.
2002-09-21 * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.Alan Modra2-40/+29
2002-09-21 * ld-undefined/undefined.exp: Adjust function test.Alan Modra2-1/+5
2002-09-21NEWS: Announce that V850EA ISA is no longer supported.Nick Clifton3-4/+9
v850-tdep.c: Remove reference to bfd_mach_v850ea.
2002-09-21 * Makefile.am: Run "make dep-am".Alan Modra4-141/+148
* Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2002-09-21 * config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL,Alan Modra5-35/+49
S_IS_WEAK etc. with S_FORCE_RELOC call. Correct comment. Rename "fseg" to "sym_seg". * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate.
2002-09-21 * elf32-ppc.c (ppc_elf_relocate_section): Allow ".sbss.*" andAlan Modra2-6/+17
".sdata.*" for R_PPC_SDAREL16, ".sbss2*" and ".sdata2*" for R_PPC_EMB_SDA2REL. Similarly for R_PPC_EMB_SDA21 and R_PPC_EMB_RELSDA.
2002-09-21 * elfcode.h (elf_slurp_reloc_table_from_section): Make "symcount"Alan Modra6-30/+64
unsigned. Move "symcount" assignment out of loop. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regnerate.
2002-09-21Fix UNPREDICATABLE use of writeback in LDM/STM instructions.Nick Clifton3-6/+12
2002-09-212002-09-20 Kevin Buettner <kevinb@redhat.com>Kevin Buettner2-0/+260
From Eli Zaretskii <eliz@is.elta.co.il>: * gdb.texinfo (Character Sets): Use @smallexample instead of @example. Use GNU/Linux instead of Linux. 2002-09-20 Jim Blandy <jimb@redhat.com> * gdb.texinfo: Add character set documentation.
2002-09-21daily updateAlan Modra1-1/+1
2002-09-21*** empty log message ***gdbadmin1-1/+1
2002-09-202002-09-20 Nathanael Nerode <neroden@doctor.moo.mud.org>Nathanael Nerode2-19/+23
* configure.in: Rearrange.
2002-09-202002-09-20 David Carlton <carlton@math.stanford.edu>David Carlton2-6/+6
* Makefile.in (c-lang.o): Correct dependencies. (utils.o): Gather dependencies. (charset.o): Move.
2002-09-202002-09-20 David Carlton <carlton@math.stanford.edu>David Carlton2-0/+5
* c-lang.c: #include "gdb_string.h"
2002-09-20Allow CRFS and CRFD operands to accept CR register namesNick Clifton2-2/+7
2002-09-20 From 2002-07-02 George Helffrich <george@gly.bris.ac.uk>Fernando Nasser3-4/+91
* cli/cli-cmds.c (list_command): New function. Implements the new cli edit command. (_init_cli_cmds): Add new command definition. * gdb.1: Document edit command. * doc/gdb.texinfo: Document edit command.
2002-09-20 * source.c: Make global variables current_source_symtab andFernando Nasser13-243/+561
current_source_line static. (list_command): Moved to cli/cli-cmds.c. (ambiguous_line_spec): Moved to cli/cli-cmds.c. (get_first_line_listed): New accessor function. (get_lines_to_list): New accessor function. (get_current_source_symtab_and_line): New function. Retrieves the position in the source code that we consider current. (get_current_or_default_source_symtab_and_line): New function. Like the above but attempts to determine a default position if one is not currently defined. (set_current_source_symtab_and_line): New function. Sets the source code position considered current and returns the previously set one. (clear_current_source_symtab_and_line): Reset stored information about a current source line. (_initialize_source): Remove registration for the "list" command and its alias. * source.h: Add declarations for the new functions above. * symtab.h: Remove declarations for the global variables mentioned above. * breakpoint.c (parse_breakpoint_sals): Use accessor functions to obtain current source line. * linespec.c (decode_line_1): Ditto. * macroscope.c (default_macro_scope): Ditto. * scm-lang.c (scm_unpac): Ditto. * stack.c (print_frame_info_base): Ditto. * symfile.c (clear_symtab_users): Ditto. * symtab.c (decode_line_spec): Ditto. * cli/cli-cmds.c (list_command): Moved here from source.c. (ambiguous_line_spec): Moved here from source.c. (_init_cli_cmds): Add definition for "list" and its alias. * Makefile.in: Update dependencies.
2002-09-20symbols.c (colon): Do not allow symbols to be created in the absolute sectionNick Clifton2-8/+10
if WORKING_DOT_WORD is not defined and new_broken_words would require a new frag to be created.
2002-09-20 * h8300-tdep.c (h8300_examine_prologue): Match saved regs locationCorinna Vinschen2-3/+8
with what gcc thinks is correct.
2002-09-20merge from gccDJ Delorie9-28/+46
2002-09-20 * h8300-tdep.c (h8300_examine_prologue): Fix loop for saved regs inCorinna Vinschen2-1/+6
multiple register push instruction.
2002-09-20 * ld-i386/i386.exp: Only run tests on ELF targets.Alan Modra2-1/+8
2002-09-20(_bfd_dwarf2_find_nearest_line): If address length is zero, set it to 8 forNick Clifton2-0/+13
(non-standard) 64-bit DWARF2 formats (e.g. IRIX64).
2002-09-20Do not allow symbols to be created in the absolute section.Nick Clifton2-1/+12
2002-09-202002-09-19 Jakub Jelinek <jakub@redhat.com>H.J. Lu2-8/+23
* elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Clear .got word even if generating R_PPC_RELATIVE reloc. (ppc_elf_relocate_section): Make sure relocation is performed if skip == -2. Clear memory at r_offset when creating dynamic relocation.
2002-09-20 * expr.c (expr): Simplify foo-foo here.Alan Modra2-31/+19
(clean_up_expression): Remove O_subtract code.
2002-09-20Add new tests for charset support.Kevin Buettner3-0/+621
2002-09-20Add support for distinct host and target character sets.Kevin Buettner11-484/+2264
2002-09-20* libiberty.h (asprintf, vasprintf): Don't declare them if theAlexandre Oliva2-0/+9
corresponding HAVE_DECL_ macro is 1.
2002-09-20daily updateAlan Modra1-1/+1
2002-09-20*** empty log message ***gdbadmin1-1/+1
2002-09-19 * write.h (struct fix): Add fx_dot_value.Alan Modra4-1/+22
(dot_value): Declare. * write.c (dot_value): New var. (fix_new_internal): Save dot_value as fx_dot_value. * expr.c (expr): Update dot_value.
2002-09-192002-09-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-18/+121
* gdb.texinfo (Packets): Revise `z' and `Z' packet documentation. (Packets): Add cross reference from `b' packet to `z' packets.
2002-09-19bfd/Jakub Jelinek34-92/+2960
* reloc.c (BFD_RELOC_386_TLS_TPOFF, BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Add. * bfd-in2.h, libbfd.h: Rebuilt. * elf32-i386.c (elf_howto_table): Add R_386_TLS_TPOFF, R_386_TLS_IE and R_386_TLS_GOTIE. (elf_i386_reloc_type_lookup): Handle it. (struct elf_i386_link_hash_entry): Change tls_type type to unsigned char instead of enum, change GOT_* into defines. (GOT_TLS_IE_POS, GOT_TLS_IE_NEG, GOT_TLS_IE_BOTH): Define. (elf_i386_tls_transition): Handle R_386_TLS_IE and R_386_TLS_GOTIE. (elf_i386_check_relocs): Likewise. Avoid crash if local symbol is accessed both as normal and TLS symbol. Move R_386_TLS_LDM and R_386_PLT32 cases so that R_386_TLS_IE can fall through. Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. (elf_i386_gc_sweep_hook): Handle R_386_TLS_IE and R_386_TLS_GOTIE. Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. (allocate_dynrelocs): Allocate 2 .got and 2 .rel.got entries if tls_type is GOT_TLS_IE_BOTH. (elf_i386_size_dynamic_sections): Likewise. (elf_i386_relocate_section): Handle R_386_TLS_IE and R_386_TLS_GOTIE. Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. (elf_i386_finish_dynamic_symbol): Use tls_type & GOT_TLS_IE to catch all 4 GOT_TLS_* TLS types. gas/ * config/tc-i386.c (tc_i386_fix_adjustable): Handle BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE. (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0 if not defined. (lex_got): Handle @GOTNTPOFF and @INDNTPOFF. (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE. gas/testsuite/ * gas/i386/tlspic.s: Add tests. * gas/i386/tlspic.d: Regenerated. * gas/i386/tlsnopic.s: Add tests. * gas/i386/tlsnopic.d: Regenerated. include/ * elf/i386.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE): Define. ld/testsuite/ * ld-i386/i386.exp: New. * ld-i386/tlsbin.dd: New test. * ld-i386/tlsbinpic.s: New test. * ld-i386/tlsbin.rd: New test. * ld-i386/tlsbin.s: New test. * ld-i386/tlsbin.sd: New test. * ld-i386/tlsbin.td: New test. * ld-i386/tlslib.s: New test. * ld-i386/tlsnopic1.s: New test. * ld-i386/tlsnopic2.s: New test. * ld-i386/tlsnopic.dd: New test. * ld-i386/tlsnopic.rd: New test. * ld-i386/tlsnopic.sd: New test. * ld-i386/tlspic1.s: New test. * ld-i386/tlspic2.s: New test. * ld-i386/tlspic.dd: New test. * ld-i386/tlspic.rd: New test. * ld-i386/tlspic.sd: New test. * ld-i386/tlspic.td: New test.
2002-09-19Update email addresses for bugs and patches.Nick Clifton2-1/+6
2002-09-19When examining weak symbols, follow indirect links.Nick Clifton2-1/+9
2002-09-19 * config/tc-alpha.c (md_pcrel_from): Only adjust special forRichard Henderson6-9/+66
branch type relocs. (alpha_force_relocation): Don't special-case branch type relocs. * gas/alpha/elf-reloc-7.s: New. * gas/alpha/elf-reloc-7.d: New. * gas/alpha/alpha.exp: Run it.
2002-09-192002-09-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+27
* gdb.texinfo (Maintenance Commands): Document ``maint internal-error'' and ``maint internal-warning''.
2002-09-19Remove (errant) trailing semicolon (;) from the extern "C" { } declaration.Nick Clifton2-1/+6
2002-09-192002-09-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-2/+30
* gdbint.texinfo (Target Architecture Definition): Revise description of STACK_ALIGN. Add description of FRAME_ALIGN.
2002-09-19Fix error reading ECOFF information: 'ioptMax' refers to the actual *size*Nick Clifton2-1/+6
of the optimization symtab, not the number of entries.
2002-09-19Update to correctly sign-extend 32-bit ECOFF null values (0xffffffff, -1)Nick Clifton2-104/+140
2002-09-192002-09-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+286
* gdb.gdb/complaints.exp: New file.
2002-09-19(elf32_arm_adjust_dynamic_symbol): Update ELF_LINK_HASH_NEEDS_PLT logic.Nick Clifton2-6/+17