external/binutils.git
16 years ago * ada-lang.c (ada_evaluate_subexp): Add cases for BINOP_LOGICAL_AND,
Joel Brobecker [Fri, 28 Dec 2007 06:13:51 +0000 (06:13 +0000)]
    * ada-lang.c (ada_evaluate_subexp): Add cases for BINOP_LOGICAL_AND,
        BINOP_LOGICAL_OR, UNOP_LOGICAL_NOT, BINOP_BITWISE_IOR,
        BINOP_BITWISE_XOR, BINOP_BITWISE_AND.
        * language.c (lang_bool_type): Add Ada case.

16 years ago*** empty log message ***
gdbadmin [Fri, 28 Dec 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 27 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * config/tc-hppa.h (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number
Dave Anglin [Thu, 27 Dec 2007 15:35:53 +0000 (15:35 +0000)]
* config/tc-hppa.h  (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number
in parens.

16 years ago*** empty log message ***
gdbadmin [Thu, 27 Dec 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 26 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.base/multi-forks.exp: Doc fix.
Jim Blandy [Wed, 26 Dec 2007 17:11:16 +0000 (17:11 +0000)]
* gdb.base/multi-forks.exp: Doc fix.

16 years ago * gdb.ada/Makefile.in (EXECUTABLES): Update list.
Joel Brobecker [Wed, 26 Dec 2007 14:21:53 +0000 (14:21 +0000)]
    * gdb.ada/Makefile.in (EXECUTABLES): Update list.
        * gdb.ada/char_param.exp: Do not compile our test program with
        -gnata, this is unnecessary.
        * gdb.ada/char_param/pck.ads: Remove unnecessary "with".

16 years ago * dwarf2read.c (read_base_type): Fix obvious &&/|| confusion.
Joel Brobecker [Wed, 26 Dec 2007 12:36:18 +0000 (12:36 +0000)]
    * dwarf2read.c (read_base_type): Fix obvious &&/|| confusion.

16 years ago * dwarf2-frame.c (execute_cfa_program): Call dwarf2_restore_rule
Luis Machado [Wed, 26 Dec 2007 10:57:50 +0000 (10:57 +0000)]
* dwarf2-frame.c (execute_cfa_program): Call dwarf2_restore_rule
function to handle required actions for the DW_CFA_restore and
DW_CFA_restore_extended instructions.
(dwarf2_restore_rule): New function.

16 years ago*** empty log message ***
gdbadmin [Wed, 26 Dec 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 25 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Tue, 25 Dec 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 24 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago* genscripts.sh (LIB_PATH): Include both {target_alias} and
Nick Clifton [Mon, 24 Dec 2007 17:27:34 +0000 (17:27 +0000)]
* genscripts.sh (LIB_PATH): Include both {target_alias} and
  {TOOL_LIB} in the search paths for multilibbed targets.

16 years ago * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
Joel Brobecker [Mon, 24 Dec 2007 17:13:32 +0000 (17:13 +0000)]
    * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
        gdb.ada/print_chars/foo.adb: New files.
        * gdb.ada/print_chars.exp: New testcase.

16 years agobfd/
H.J. Lu [Mon, 24 Dec 2007 16:58:23 +0000 (16:58 +0000)]
bfd/

2007-12-24  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/5488
* elf.c (IS_NOTE): New.
(IS_COREFILE_NOTE): Use IS_NOTE.
(IS_SECTION_IN_INPUT_SEGMENT): Use IS_NOTE instead of
IS_COREFILE_NOTE.

ld/testsuite/

2007-12-24  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/5488
* ld-elf/note-2.d: New.
* ld-elf/note-2.s: Likewise.
* ld-elf/note-2.t: Likewise.

16 years ago2007-12-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 24 Dec 2007 16:55:39 +0000 (16:55 +0000)]
2007-12-24  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/5449
* elf.c (rewrite_elf_program_header): Don't adjust p_paddr if
p_paddr is set to 0.
(copy_private_bfd_data): Call rewrite_elf_program_header if
p_paddr is set to 0.

* elfcode.h (elf_swap_phdr_out): Set p_paddr to 0 if needed.

* elfxx-ia64.c (ELF_MAXPAGESIZE): Don't redefine it for HPUX.

16 years ago * ada-lang.c (ada_is_character_type): Add recognition of type
Joel Brobecker [Mon, 24 Dec 2007 16:52:24 +0000 (16:52 +0000)]
    * ada-lang.c (ada_is_character_type): Add recognition of type
        "Wide_Wide_Character".

16 years agoUpdated Russian translation.
Nick Clifton [Mon, 24 Dec 2007 16:18:14 +0000 (16:18 +0000)]
Updated Russian translation.

16 years ago * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
Joel Brobecker [Mon, 24 Dec 2007 07:57:00 +0000 (07:57 +0000)]
    * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
        gdb.ada/char_param/foo.adb: New files.
        * gdb.ada/char_param.exp: New testcase.

16 years ago * dwarf2read.c (read_base_type): Set code to TYPE_CODE_CHAR
Joel Brobecker [Mon, 24 Dec 2007 06:29:27 +0000 (06:29 +0000)]
    * dwarf2read.c (read_base_type): Set code to TYPE_CODE_CHAR
        for char and unsigned char types of Ada compilation units.
        * ada-lang.c (ada_is_character_type): Always return true if
        the type code is TYPE_CODE_CHAR.

16 years agoFix a typo in comment.
H.J. Lu [Mon, 24 Dec 2007 06:10:17 +0000 (06:10 +0000)]
Fix a typo in comment.

16 years agogas/
H.J. Lu [Mon, 24 Dec 2007 05:27:39 +0000 (05:27 +0000)]
gas/

2007-12-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (set_intel_mnemonic): New.
(intel_mnemonic): Likewise.
(old_gcc): Likewise.
(OPTION_MMNEMONIC): Likewise.
(OPTION_MSYNTAX): Likewise.
(OPTION_MINDEX_REG): Likewise.
(OPTION_MNAKED_REG): Likewise.
(OPTION_MOLD_GCC): Likewise.
(md_pseudo_table): Add .intel_mnemonic and .att_mnemonic.
(match_template): Don't allow AT&T/Intel mnemonic if Intel/AT&T
mnemonic is specified.  Don't allow old gcc support if old_gcc
is 0.
(md_longopts): Add -mmnemonic, -msyntax, -mindex-reg,
-mmnaked-reg and -mold-gcc.
(md_parse_option): Handle OPTION_MMNEMONIC, OPTION_MSYNTAX,
OPTION_MINDEX_REG, OPTION_MNAKED_REG and OPTION_MOLD_GCC.

* doc/c-i386.texi: Docoument -mmnemonic, -msyntax, --mnaked-reg
and AT&T mnemonic vs. Intel mnemonic.

gas/testsuite/

2007-12-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/compat-intel.d: Pass -mmnemonic=att to assembler.
* gas/i386/compat.d: Likewise.

* gas/i386/i386.exp: Pass -mmnemonic=att to assembler for
"float".  Pass -mold-gcc to assembler for  "general".

opcodes/

2007-12-23  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Add OldGcc, ATTMnemonic and
IntelMnemonic.

* i386-opc.h (OldGcc): New.
(ATTMnemonic): Likewise.
(IntelMnemonic): Likewise.
(Opcode_Modifier_Max): Updated.
(i386_opcode_modifier): Add oldgcc, attmnemonic and
intelmnemonic.

* i386-opc.tbl: Update fadd, fdiv, fdivp, fdivr, fdivrp, fmul,
fsub, fsubp, fsubr and fsubrp with OldGcc, ATTMnemonic and
IntelMnemonic.
* i386-tbl.h: Regeneratd.

16 years ago*** empty log message ***
gdbadmin [Mon, 24 Dec 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 23 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * infrun.c (handle_inferior_event): Remove code that made us
Joel Brobecker [Sun, 23 Dec 2007 05:34:38 +0000 (05:34 +0000)]
    * infrun.c (handle_inferior_event): Remove code that made us
        stop when stepping into the last line of the current function.

16 years ago*** empty log message ***
gdbadmin [Sun, 23 Dec 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 22 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago2007-12-22 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Sat, 22 Dec 2007 22:09:56 +0000 (22:09 +0000)]
2007-12-22  Pierre Muller  <muller@ics.u-strasbg.fr>

* win32-nat.c: Fix PR/2388.
(do_win32_fetch_inferior_registers): Do not overwrite debug register
array dr if debug_registers_changed variable is set.

16 years ago * dwarf2read.c (scan_partial_symbols partial_die_parent_scope)
Jan Kratochvil [Sat, 22 Dec 2007 20:58:30 +0000 (20:58 +0000)]
* dwarf2read.c (scan_partial_symbols partial_die_parent_scope)
(add_partial_symbol, pdi_needs_namespace, process_die)
(is_type_tag_for_partial, load_partial_dies, new_symbol)
(read_type_die, determine_prefix): Extend the current code of
`DW_TAG_class_type' also for `DW_TAG_interface_type'.

16 years agobinutils/
H.J. Lu [Sat, 22 Dec 2007 14:06:31 +0000 (14:06 +0000)]
binutils/

2007-12-22  H.J. Lu  <hongjiu.lu@intel.com>

* doc/binutils.texi: Document the new intel-mnemonic and
intel-mnemonic options for i386 disassembler.

gas/testsuite/

2007-12-22  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/compat-intel.d: New file.
* gas/i386/compat.d: Likewise.
* gas/i386/compat.s: Likewise.

* gas/i386/i386.exp: Run compat.

opcodes/

2007-12-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (intel_mnemonic): New.
(print_i386_disassembler_options): Display att-mnemonic and
intel-mnemonic options.
(print_insn): Handle att-mnemonic and intel-mnemonic.
(float_reg): Replace SYSV386_COMPAT with "!M" and "M".
(putop): Handle "!M" and "M".

16 years ago * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
Jim Blandy [Sat, 22 Dec 2007 06:44:28 +0000 (06:44 +0000)]
* gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
hard-coding source line numbers into the test.
* gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
gdb_get_line_number to find.

16 years ago * gdb.base/ptype.c (highest): New struct type.
Joel Brobecker [Sat, 22 Dec 2007 05:28:19 +0000 (05:28 +0000)]
    * gdb.base/ptype.c (highest): New struct type.
        (the_highest): New variable of that type.
        (main): Add dummy assignment to a field of variable the_highest.
        * gdb.base/ptype.exp: Test type printing of our new variable.

16 years agoUse a simpler hash function.
Ian Lance Taylor [Sat, 22 Dec 2007 01:53:39 +0000 (01:53 +0000)]
Use a simpler hash function.

16 years agoCorrect contributor name on new tests, remove #if 0 code.
Ian Lance Taylor [Sat, 22 Dec 2007 00:50:43 +0000 (00:50 +0000)]
Correct contributor name on new tests, remove #if 0 code.

16 years ago*** empty log message ***
gdbadmin [Sat, 22 Dec 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agoFrom Cary Coutant: Fix handling of versioned symbols, add some tests.
Ian Lance Taylor [Fri, 21 Dec 2007 23:31:19 +0000 (23:31 +0000)]
From Cary Coutant: Fix handling of versioned symbols, add some tests.

16 years ago * elf32-xtensa.c (relax_section): Update DIFF relocations in the
Bob Wilson [Fri, 21 Dec 2007 23:11:28 +0000 (23:11 +0000)]
* elf32-xtensa.c (relax_section): Update DIFF relocations in the
same way as other relocations.

16 years agoCorrect handling of non-section symbol in merged section. Avoid some
Ian Lance Taylor [Fri, 21 Dec 2007 23:08:25 +0000 (23:08 +0000)]
Correct handling of non-section symbol in merged section.  Avoid some
64-bit signed/unsigned warnings.

16 years agodaily update
Alan Modra [Fri, 21 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoSpeed up relocations against local symbols in merged sections.
Ian Lance Taylor [Fri, 21 Dec 2007 21:19:45 +0000 (21:19 +0000)]
Speed up relocations against local symbols in merged sections.

16 years ago2007-12-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 21 Dec 2007 17:04:04 +0000 (17:04 +0000)]
2007-12-21  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (i386-gen.o): Also depend on
$(srcdir)/../include/opcode/i386.h.
* Makefile.in: Regenerated.

16 years ago * linux-low.c (STACK_SIZE): Define.
Andreas Schwab [Fri, 21 Dec 2007 16:04:27 +0000 (16:04 +0000)]
* linux-low.c (STACK_SIZE): Define.
(linux_tracefork_child): Use it.  Use __clone2 on ia64.
(linux_test_for_tracefork): Likewise.

16 years ago * ada-lang.h (ada_renaming_category): New enumerated type.
Joel Brobecker [Fri, 21 Dec 2007 11:50:11 +0000 (11:50 +0000)]
    * ada-lang.h (ada_renaming_category): New enumerated type.
        (ada_lookup_encoded_symbol): Declare.
        (ada_parse_renaming): Declare.
        (ada_renaming_type,ada_is_object_renaming)
        (ada_simple_renamed_entity): Delete declarations.
        * ada-lang.c (ada_parse_renaming): New function to concentrate
        extraction of information from renaming symbols.
        (parse_old_style_renaming): New function to concentrate
        extraction of old-style (purely type-based) renaming information.
        (renaming_is_visible): Rename to...
        (old_renaming_is_invisible): Rename and change sense of
        renaming_is_visible.
        (remove_out_of_scope_renamings): Rename to...
        (remove_irrelevant_renamings): Renames remove_out_of_scope_renamings
        and augments with additional logic to handle cases where the same
        object renaming is encoded both as a reference variable and an
        encoded renaming.
        (ada_renaming_type,ada_is_object_renaming)
        (ada_simple_renamed_entity): Delete definitions.
        (ada_lookup_encoded_symbol): New function factored out of
        ada_lookup_symbol.
        (ada_lookup_symbol): Reimplement to call ada_lookup_encoded_symbol.
        (wild_match): Don't reject perfect match of prefix.
        (ada_find_renaming_symbol): Factor old-style renaming logic into
        find_old_style_renaming_symbol.
        (find_old_style_renaming_symbol): New name for content of old
        ada_find_renaming_symbol.
        (ada_prefer_type): Reimplement not to use ada_renaming_type.
        * ada-exp.y (write_object_renaming): Change interface.  Reimplement
        to use new arguments and ada_parse_renaming.
        Correct blocks used to find array index.
        (write_var_or_type): Reimplement to use ada_parse_renaming.

16 years agoMinor reformatting.
Joel Brobecker [Fri, 21 Dec 2007 11:44:14 +0000 (11:44 +0000)]
Minor reformatting.

16 years ago * tui/tui-data.h (MAX_LOCATOR_ELEMENT_LEN): Defined to a bigger
Joel Brobecker [Fri, 21 Dec 2007 07:37:26 +0000 (07:37 +0000)]
    * tui/tui-data.h (MAX_LOCATOR_ELEMENT_LEN): Defined to a bigger
        value or to PATH_MAX when possible.

16 years ago * rs6000-tdep.h: Remove defs.h #include.
Joel Brobecker [Fri, 21 Dec 2007 04:59:00 +0000 (04:59 +0000)]
    * rs6000-tdep.h: Remove defs.h #include.
        * Makefile.in (rs6000_tdep_h): Update dependencies.

16 years ago*** empty log message ***
gdbadmin [Fri, 21 Dec 2007 00:00:44 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 20 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoFix buglet in last patch.
Ian Lance Taylor [Thu, 20 Dec 2007 21:26:17 +0000 (21:26 +0000)]
Fix buglet in last patch.

16 years agoConvert more instances of off_t to be 32-bit types.
Ian Lance Taylor [Thu, 20 Dec 2007 21:21:24 +0000 (21:21 +0000)]
Convert more instances of off_t to be 32-bit types.

16 years ago * config/tc-xtensa.c (xtensa_elf_cons): Set frag flags for
Bob Wilson [Thu, 20 Dec 2007 17:21:07 +0000 (17:21 +0000)]
* config/tc-xtensa.c (xtensa_elf_cons): Set frag flags for
expressions without suffixes.
(get_frag_property_flags): Preserve is_no_transform flag for frags
not marked as either instructions or literals.

16 years ago * gdbtypes.c (gdbtypes_post_init): Change names of decimal float types
Thiago Jung Bauermann [Thu, 20 Dec 2007 17:17:21 +0000 (17:17 +0000)]
* gdbtypes.c (gdbtypes_post_init): Change names of decimal float types
to conform to C extension for decimal float.
* c-lang.c (enum c_primitive_types): Add entries for Decimal Floating
Point types.
(enum cplus_primitive_types): Likewise.
(c_language_arch_info): Add Decimal Floating Point builtin types to
the primitive_type_vector.
(cplus_language_arch_info): Likewise.

16 years ago* mips-tdep.c (mips_n32n64_push_dummy_call): Sign-extend
Maciej W. Rozycki [Thu, 20 Dec 2007 17:13:57 +0000 (17:13 +0000)]
* mips-tdep.c (mips_n32n64_push_dummy_call): Sign-extend
integers and 32-bit pointers as required by the ABI.

16 years agoUpdate comments about output offsets and merged input sections.
Ian Lance Taylor [Thu, 20 Dec 2007 16:27:34 +0000 (16:27 +0000)]
Update comments about output offsets and merged input sections.

16 years ago * ld-elf/seg.d: Restrict to linux and vxworks.
Hans-Peter Nilsson [Thu, 20 Dec 2007 11:36:56 +0000 (11:36 +0000)]
* ld-elf/seg.d: Restrict to linux and vxworks.

16 years ago * symtab.h: Remove "defs.h" #include.
Joel Brobecker [Thu, 20 Dec 2007 05:36:14 +0000 (05:36 +0000)]
    * symtab.h: Remove "defs.h" #include.
        * Makefile.in (symtab_h): Update dependencies.

16 years agoRemove one inline.
Ian Lance Taylor [Thu, 20 Dec 2007 01:32:10 +0000 (01:32 +0000)]
Remove one inline.

16 years agoMake functions on hot path inline. Remove a mistaken virtual
Ian Lance Taylor [Thu, 20 Dec 2007 01:29:04 +0000 (01:29 +0000)]
Make functions on hot path inline.  Remove a mistaken virtual
declaration.

16 years ago*** empty log message ***
gdbadmin [Thu, 20 Dec 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 19 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago* frv/frv.c (frvbf_cut): Only look at the six LSBs of
DJ Delorie [Wed, 19 Dec 2007 20:55:03 +0000 (20:55 +0000)]
* frv/frv.c (frvbf_cut): Only look at the six LSBs of
cut_point.

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 20:47:45 +0000 (20:47 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Update default copyright.

16 years ago2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 19 Dec 2007 19:12:23 +0000 (19:12 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update default copyright.

16 years ago2007-12-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 19 Dec 2007 15:54:06 +0000 (15:54 +0000)]
2007-12-19  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/seg.d: Adjusted for 64bit targets.

16 years ago2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
Pierre Muller [Wed, 19 Dec 2007 14:40:37 +0000 (14:40 +0000)]
2007-12-19  Pierre Muller  <muller@ics-u-strasbg.fr>

* (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
and record first explicitly generated thread number.
Use that thread number for thread specific watchpoint test.
Add iteration number to repetitive tests.

16 years ago * symtab.h: #include "defs.h".
Joel Brobecker [Wed, 19 Dec 2007 13:21:32 +0000 (13:21 +0000)]
    * symtab.h: #include "defs.h".
        (enum language): Remove opaque declaration.
        * Makefile.in (symtab_h): Update dependencies.

16 years ago * language.h (enum exp_opcode): Remove commented out forward
Joel Brobecker [Wed, 19 Dec 2007 12:55:09 +0000 (12:55 +0000)]
    * language.h (enum exp_opcode): Remove commented out forward
        declaration.
        (op_error): Delete declaration.

16 years ago * ld-elf/seg.t: New.
Nathan Sidwell [Wed, 19 Dec 2007 10:22:02 +0000 (10:22 +0000)]
* ld-elf/seg.t: New.
* ld-elf/seg.d: New.
* ld-elf/seg.s: New.

16 years ago * infrun.c (handle_inferior_event): Fix spelling in comment.
Joel Brobecker [Wed, 19 Dec 2007 05:16:36 +0000 (05:16 +0000)]
    * infrun.c (handle_inferior_event): Fix spelling in comment.

16 years agoMove Stringpool offsets into a chunked_vector indexed by keys.
Ian Lance Taylor [Wed, 19 Dec 2007 01:23:46 +0000 (01:23 +0000)]
Move Stringpool offsets into a chunked_vector indexed by keys.

16 years agoAvoid some warnings which showed up in 64-bit mode.
Ian Lance Taylor [Wed, 19 Dec 2007 01:18:41 +0000 (01:18 +0000)]
Avoid some warnings which showed up in 64-bit mode.

16 years agoUse string length when available when calling Stringpool. Compare
Ian Lance Taylor [Wed, 19 Dec 2007 00:29:28 +0000 (00:29 +0000)]
Use string length when available when calling Stringpool.  Compare
pointers first when looking up Stringpool entries.

16 years ago*** empty log message ***
gdbadmin [Wed, 19 Dec 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Tue, 18 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * linux-low.c (linux_wait_for_event): Update messages. Do not
Daniel Jacobowitz [Tue, 18 Dec 2007 21:58:01 +0000 (21:58 +0000)]
* linux-low.c (linux_wait_for_event): Update messages.  Do not
reinsert auto-delete breakpoints.
* mem-break.c (struct breakpoint): Change return type of handler to
int.
(set_breakpoint_at): Update handler type.
(reinsert_breakpoint_handler): Return 1 instead of calling
delete_breakpoint.
(reinsert_breakpoint_by_bp): Check for the original breakpoint before
setting a new one.
(check_breakpoints): Delete auto-delete breakpoints and return 2.
* mem-break.h (set_breakpoint_at): Update handler type.
* thread-db.c (thread_db_create_event, thread_db_create_event): Update.
* win32-low.c (auto_delete_breakpoint): New.
(get_child_debug_event): Use it.

16 years agoDon't write unattached after_input sections twice.
Ian Lance Taylor [Tue, 18 Dec 2007 21:45:28 +0000 (21:45 +0000)]
Don't write unattached after_input sections twice.

16 years agoFix filename in ChangeLog entry.
Jim Blandy [Tue, 18 Dec 2007 21:32:50 +0000 (21:32 +0000)]
Fix filename in ChangeLog entry.

16 years agoPrint statistics about merge sections with --stats.
Ian Lance Taylor [Tue, 18 Dec 2007 21:24:10 +0000 (21:24 +0000)]
Print statistics about merge sections with --stats.

16 years ago * section.c (BFD_FAKE_SECTION): Update.
Daniel Jacobowitz [Tue, 18 Dec 2007 19:48:07 +0000 (19:48 +0000)]
* section.c (BFD_FAKE_SECTION): Update.
* bfd-in2.h: Regenerate.

16 years ago * bfd-in2.h: Regenerate.
Daniel Jacobowitz [Tue, 18 Dec 2007 19:38:26 +0000 (19:38 +0000)]
* bfd-in2.h: Regenerate.

16 years ago* doc/gdb.texinfo (Set Watchpoints): Integrate per-thread
Jim Blandy [Tue, 18 Dec 2007 18:11:09 +0000 (18:11 +0000)]
* doc/gdb.texinfo (Set Watchpoints): Integrate per-thread
watchpoint explanation into the main description of the watchpoint
command; update synopses of 'watch', 'rwatch', and 'awatch'
commands.

16 years ago * minsyms.c (lookup_minimal_symbol): Also check the separate
Daniel Jacobowitz [Tue, 18 Dec 2007 16:02:54 +0000 (16:02 +0000)]
* minsyms.c (lookup_minimal_symbol): Also check the separate
debug objfile.
(lookup_minimal_symbol_text): Likewise.
(lookup_minimal_symbol_solib_trampoline): Likewise.
* symtab.c (lookup_global_symbol_from_objfile): Likewise.

16 years ago * mi/mi-main.c (mi_cmd_list_features): Announce
Vladimir Prus [Tue, 18 Dec 2007 11:06:12 +0000 (11:06 +0000)]
* mi/mi-main.c (mi_cmd_list_features): Announce
the 'pending-breakpoints' feature.

16 years ago/tmp/foo.diff
Richard Sandiford [Tue, 18 Dec 2007 07:37:34 +0000 (07:37 +0000)]
/tmp/foo.diff

16 years ago/tmp/foo.diff
Richard Sandiford [Tue, 18 Dec 2007 07:34:56 +0000 (07:34 +0000)]
/tmp/foo.diff

16 years agoAdd section_size_type and section_offset_type, use them to replace a
Ian Lance Taylor [Tue, 18 Dec 2007 00:48:04 +0000 (00:48 +0000)]
Add section_size_type and section_offset_type, use them to replace a
lot of instances of off_t.

16 years ago*** empty log message ***
gdbadmin [Tue, 18 Dec 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 17 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago2007-12-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 17 Dec 2007 19:41:57 +0000 (19:41 +0000)]
2007-12-17  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (output_insn): Use ARRAY_SIZE.
(lex_got): Likewise.

16 years ago2007-12-17 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 17 Dec 2007 18:53:06 +0000 (18:53 +0000)]
2007-12-17  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (output_insn): Use FRAG_APPEND_1_CHAR
instead of frag_more/md_number_to_chars.
(md_short_jump_size): Removed.
(md_long_jump_size): Likewise.
(md_create_short_jump): Likewise.
(md_create_long_jump): Likewise.

16 years ago* dwarf2read.c (dwarf2_add_field): Correctly scale all byte
Jim Blandy [Mon, 17 Dec 2007 18:38:30 +0000 (18:38 +0000)]
* dwarf2read.c (dwarf2_add_field): Correctly scale all byte
offsets obtained from DW_AT_data_member_location before recording
them in FIELD_BITPOS (*fp).

* dwarf2read.c (attr_form_is_section_offset): Doc fixes.

16 years ago* utils.c (string_to_core_addr): If the executable format
Maciej W. Rozycki [Mon, 17 Dec 2007 17:49:29 +0000 (17:49 +0000)]
* utils.c (string_to_core_addr): If the executable format
indicates that addresses should be sign-extended and there are
only 8 hex digits in the address, then do so.
* Makefile.in (utils.o): Depend on $(gdbcore_h).

16 years ago* symfile.c (init_filename_language_table): Recognise .sx as
Maciej W. Rozycki [Mon, 17 Dec 2007 17:20:15 +0000 (17:20 +0000)]
* symfile.c (init_filename_language_table): Recognise .sx as
an assembler file.

16 years ago * gdb.base/expand-psymtabs.c: New testcase
Carlos Eduardo Seo [Mon, 17 Dec 2007 14:56:33 +0000 (14:56 +0000)]
* gdb.base/expand-psymtabs.c: New testcase
source file.
* gdb.base/expand-psymtabs.exp: New testcase
expect file.

16 years ago * language.h (enum exp_opcode): Comment out this declaration,
Joel Brobecker [Mon, 17 Dec 2007 14:06:34 +0000 (14:06 +0000)]
    * language.h (enum exp_opcode): Comment out this declaration,
        undoing the previous change.

16 years ago * breakpoint.c: (watch_command_1): Parse additional optional
Luis Machado [Mon, 17 Dec 2007 12:32:23 +0000 (12:32 +0000)]
  * breakpoint.c: (watch_command_1): Parse additional optional
      "thread" parameter to the watchpoint command and set the
      "thread" member of the breakpoint struct.
      * doc/gdb.texinfo: Add new parameter's description.
      * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
      * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.

16 years ago * breakpoint.c (bpstat_stop_status): Check an additional
Luis Machado [Mon, 17 Dec 2007 11:34:45 +0000 (11:34 +0000)]
* breakpoint.c (bpstat_stop_status): Check an additional
condition before evaluating an expression value.

16 years ago * gdb.ada/frame_args/foo.adb: New file.
Joel Brobecker [Mon, 17 Dec 2007 07:26:08 +0000 (07:26 +0000)]
    * gdb.ada/frame_args/foo.adb: New file.
        * gdb.ada/frame_args/pck.ads: New file.
        * gdb.ada/frame_args/pck.adb: New file.
        * gdb.ada/frame_args.exp: New testcase.