OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years agoFrom Cary Coutant: Fix handling of versioned symbols, add some tests.
iant [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
bwilson [Fri, 21 Dec 2007 23:11:27 +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
iant [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
amodra [Fri, 21 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years agoSpeed up relocations against local symbols in merged sections.
iant [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>
hjl [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.
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.
brobecke [Fri, 21 Dec 2007 11:50:10 +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.
brobecke [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
brobecke [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.
brobecke [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 * Makefile.in (cygcheck.exe): Don't link to ntdll.
briand [Fri, 21 Dec 2007 03:32:46 +0000 (03:32 +0000)]
* Makefile.in (cygcheck.exe): Don't link to ntdll.
* bloda.cc (pNtQuerySystemInformation): Add.
(pRtlAnsiStringToUnicodeString): Add.
(get_process_list): Use function pointers for NT functions.
(dump_dodgy_apps): Skip dodgy app check on non-NT platforms.
Use GetProcAddress for NT-specific functions.

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
amodra [Thu, 20 Dec 2007 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoFix buglet in last patch.
iant [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.
iant [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
bwilson [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
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
macro [Thu, 20 Dec 2007 17:13:56 +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.
iant [Thu, 20 Dec 2007 16:27:30 +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.
hp [Thu, 20 Dec 2007 11:36:56 +0000 (11:36 +0000)]
* ld-elf/seg.d: Restrict to linux and vxworks.

16 years ago * libc/memmem.cc (memmem): Fix bug when searching for empty string.
corinna [Thu, 20 Dec 2007 10:11:37 +0000 (10:11 +0000)]
* libc/memmem.cc (memmem): Fix bug when searching for empty string.

16 years ago * symtab.h: Remove "defs.h" #include.
brobecke [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.
iant [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
iant [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
amodra [Wed, 19 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

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

        * NEWS: Update with 1.16.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.16.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.16.

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

        * libc/string/strcasestr.c: Remove id macro.
        * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
        field reference to be __sched_priority.
        * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
        * libc/sys/linux/linuxthreads/manager.c: Ditto.
        * libc/sys/linux/stdlib/collate.c: Remove id macro.
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
        * libc/sys/linux/stdlib/engine.c: Ditto.
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
        * libc/sys/linux/stdlib/glob.c: Ditto.
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
        * libc/sys/linux/stdlib/regerror.c: Ditto.
        * libc/sys/linux/stdlib/regexec.c: Ditto.
        * libc/sys/linux/stdlib/regfree.c: Ditto.
        * libc/sys/linux/sys/cdefs.h: Replace with latest version.
        * libc/sys/linux/include/argp.h: Ditto.
        * libc/sys/linux/sys/libc-lock.h: New file.
        * libc/sys/linux/sys/stdint.h: Ditto.
        * libc/sys/linux/include/sched.h: New file.

16 years ago2007-12-19 Dave Korn <dave.korn@artimi.com>
jjohnstn [Wed, 19 Dec 2007 22:20:25 +0000 (22:20 +0000)]
2007-12-19  Dave Korn  <dave.korn@artimi.com>
            Jeff Johnston  <jjohnstn@redhhat.com>

        * libc/include/_ansi.h: Add _LONG_LONG definition.
        * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
        prototypes.
        * libc/machine/i386/machine/fastmath.h: Add support for new i386
        fast math versions of rint, lrint, and llrint family functions.
        * libm/machine/i386/Makefile.am: Add new files.
        * libm/machine/i386/Makefile.in: Regenerated.
        * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
        libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
        libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
        libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
        libm/machine/i386/f_rintl.c:  New files with fast math implementations.

16 years ago* frv/frv.c (frvbf_cut): Only look at the six LSBs of
dj [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>
jjohnstn [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>
jjohnstn [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 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 19 Dec 2007 18:51:19 +0000 (18:51 +0000)]
2007-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/features.h: Add checks for C90 compilers using
        -ansi.

16 years ago2007-11-15 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 19 Dec 2007 18:49:17 +0000 (18:49 +0000)]
2007-11-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/_default_fcntl.h: New header file that
        is the default version of sys/fcntl.h.
        * libc/include/sys/fcntl.h: Changed to simply include
        sys/_default_fcntl.h.
        * libc/sys/arm/sys/fcntl.h: New file that includes
        sys/_default_fcntl.h and defines O_BINARY.

16 years ago * cygwin.din: Export wcpcpy, wcpncpy.
corinna [Wed, 19 Dec 2007 17:38:18 +0000 (17:38 +0000)]
* cygwin.din: Export wcpcpy, wcpncpy.
* include/cygwin/version.h: Bump API minor number.

16 years ago * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
corinna [Wed, 19 Dec 2007 17:33:11 +0000 (17:33 +0000)]
* libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
* libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
wcpncpy.c.
(CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
* libc/string/Makefile.in: Regenerate.
* libc/string/wcpcpy.c: New file.
* libc/string/wcpncpy.c: New file.
* libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.

16 years ago * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
corinna [Wed, 19 Dec 2007 17:06:19 +0000 (17:06 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
_wcsrtombs_r.

16 years ago2007-12-19 H.J. Lu <hongjiu.lu@intel.com>
hjl [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>
muller [Wed, 19 Dec 2007 14:40:36 +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".
brobecke [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
brobecke [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 [Wed, 19 Dec 2007 10:22:01 +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.
brobecke [Wed, 19 Dec 2007 05:16:35 +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.
iant [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.
iant [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
iant [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
amodra [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
drow [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 ago * linux-low.c (linux_wait_for_event): Update messages. Do not
drow [Tue, 18 Dec 2007 21:57:47 +0000 (21:57 +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.
iant [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.
jimb [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.
iant [Tue, 18 Dec 2007 21:24:07 +0000 (21:24 +0000)]
Print statistics about merge sections with --stats.

16 years ago * section.c (BFD_FAKE_SECTION): Update.
drow [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.
drow [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
jimb [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
drow [Tue, 18 Dec 2007 16:02:51 +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
vprus [Tue, 18 Dec 2007 11:06:10 +0000 (11:06 +0000)]
* mi/mi-main.c (mi_cmd_list_features): Announce
the 'pending-breakpoints' feature.

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

16 years ago/tmp/foo.diff
rsandifo [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
iant [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
amodra [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>
hjl [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>
hjl [Mon, 17 Dec 2007 18:53:04 +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
jimb [Mon, 17 Dec 2007 18:38:28 +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
macro [Mon, 17 Dec 2007 17:49:27 +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
macro [Mon, 17 Dec 2007 17:20:12 +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
cseo [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,
brobecke [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
luisgpm [Mon, 17 Dec 2007 12:32:22 +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
luisgpm [Mon, 17 Dec 2007 11:34:43 +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.
brobecke [Mon, 17 Dec 2007 07:26:07 +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.

16 years ago * gdb.base/frame-args.c: New file.
brobecke [Mon, 17 Dec 2007 07:18:03 +0000 (07:18 +0000)]
    * gdb.base/frame-args.c: New file.
        * gdb.base/frame-args.exp: New testcase.

16 years ago * language.h (enum exp_opcode): Add forward declaration.
brobecke [Mon, 17 Dec 2007 07:00:49 +0000 (07:00 +0000)]
    * language.h (enum exp_opcode): Add forward declaration.
        (language_string_char_type, language_lookup_primitive_type_by_name):
        Move declaration past declaration of language_defn.

16 years ago * config.bfd: Add arm-*-mingw32ce* target.
palves [Mon, 17 Dec 2007 01:50:44 +0000 (01:50 +0000)]
* config.bfd: Add arm-*-mingw32ce* target.

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

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

16 years ago * gdb.texinfo (Overview): Clarify run-length encoding
drow [Sun, 16 Dec 2007 22:57:06 +0000 (22:57 +0000)]
* gdb.texinfo (Overview): Clarify run-length encoding
example.  Remove the restriction on "+" and "-" characters.

16 years ago2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
jsm28 [Sun, 16 Dec 2007 22:19:20 +0000 (22:19 +0000)]
2007-12-16  Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* configure.ac: Check for *-*-solaris2.1[[0-9]]* instead of
*-*-solaris2.1[[0-9]].
* configure: Regenerate.
* procfs.c (proc_set_current_signal): If redelivering a signal,
reuse the current siginfo if possible.

testsuite:
* gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.

16 years ago * configure.ac: Check for pread and pwrite.
drow [Sun, 16 Dec 2007 21:50:05 +0000 (21:50 +0000)]
* configure.ac: Check for pread and pwrite.
* hostio.c (handle_pread): Fall back to lseek and read.
(handle_pwrite): Fall back to lseek and write.
* config.in, configure: Regenerated.

16 years ago * f-typeprint.c (print_equivalent_f77_float_type): Remove function.
drow [Sun, 16 Dec 2007 21:27:25 +0000 (21:27 +0000)]
* f-typeprint.c (print_equivalent_f77_float_type): Remove function.
(f_type_print_base): Output the type names directly for real and
complex types.

16 years ago* dtable.cc (POSIX_NAMED_PIPE): New define.
cgf [Sun, 16 Dec 2007 21:21:19 +0000 (21:21 +0000)]
* dtable.cc (POSIX_NAMED_PIPE): New define.
(POSIX_NAMED_PIPE_LEN): Ditto.
(dtable::add_archetype): Use crealloc_abort.
(dtable::init_std_file_from_handle): Specifically detect pipe stdin/stdout.
Pass name to build_fh_dev so that proper name is recorded.  Use binmode of fh
if it is set before using get_default_mode.  Set proper read/write access when
calling init().
(handle_to_fn): Handle pipes.
* fhandler.cc (fhandler_base::wait_overlapped): Add some debugging.
* fhandler.h (fhandler_base::set_name): Default to just setting the path_conv
name.
(fhandler_pipe::init): Declare.
* pipe.cc (struct pipesync): New struct.
(getov_result): New function.  Blocks and retrieves the result of an overlay
I/O operation.
(pipe_handler): New function.
(pipesync::pipesync): New function.  Initializer for pipesync struct.
(handler_pipe::init): Define.  Detects attempts to set up a "native" pipe
fhandler and creates a thread which accepts input from or output to the
non-cygwin pipe, creating a cygwin pipe wrapper around the non-cygwin pipe.
(fhandler_pipe::create): Add pipe-specific flags to call to init().
* exceptions.cc (ctrl_c_handler): Lock process while we determine what to do.

16 years ago* pathnames.xml: Fix a typo.
cgf [Sun, 16 Dec 2007 21:19:29 +0000 (21:19 +0000)]
* pathnames.xml: Fix a typo.

16 years ago * breakpoint.c (bpstat_have_active_hw_watchpoints):
vprus [Sun, 16 Dec 2007 19:15:48 +0000 (19:15 +0000)]
* breakpoint.c (bpstat_have_active_hw_watchpoints):
Remove
(bpstat_stop_status): Remove unused variable
real_breakpoint.
* breakpoint.h (bpstat_have_active_hw_watchpoints):
Remove prototype.

16 years ago * target.h (target_pid_or_tid_to_str): Remove.
vprus [Sun, 16 Dec 2007 19:14:22 +0000 (19:14 +0000)]
* target.h (target_pid_or_tid_to_str): Remove.
* infrun.c (handle_inferior_event):
        Use target_pid_to_str instead of
target_pid_or_tid_to_str.
(normal_stop): Likewise.

16 years ago * dwarf2read.c (dwarf_attr_name): Rename `DW_AT_stride_size' to its
jkratoch [Sun, 16 Dec 2007 16:06:29 +0000 (16:06 +0000)]
* dwarf2read.c (dwarf_attr_name): Rename `DW_AT_stride_size' to its
DWARF3 equivalent `DW_AT_bit_stride'.
Rename `DW_AT_stride' to its DWARF3 equivalent `DW_AT_byte_stride'.

16 years ago * mi/mi-main.c: Remove code that was commented out in 1999.
brobecke [Sun, 16 Dec 2007 13:37:26 +0000 (13:37 +0000)]
    * mi/mi-main.c: Remove code that was commented out in 1999.

16 years ago * expression.h (parse_expression_in_context): Delete prototype.
brobecke [Sun, 16 Dec 2007 13:31:46 +0000 (13:31 +0000)]
    * expression.h (parse_expression_in_context): Delete prototype.
        * parse.c (parse_expression_in_context): Delete.

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

16 years agodaily update
amodra [Sat, 15 Dec 2007 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.texinfo (Host I/O Packets): Fix xref syntax.
eliz [Sat, 15 Dec 2007 13:13:12 +0000 (13:13 +0000)]
* gdb.texinfo (Host I/O Packets): Fix xref syntax.

16 years agold/
rsandifo [Sat, 15 Dec 2007 09:43:39 +0000 (09:43 +0000)]
ld/
* scripttempl/armbpabi.sc (.text): Don't KEEP (*(.text.*personality*)).
(.data): Don't KEEP (*(.gnu.linkonce.d.*personality*)).
* scripttempl/elf.sc: As for armbpabi.sc.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/mep.sc: Likewise.

16 years agobfd/
rsandifo [Sat, 15 Dec 2007 09:42:02 +0000 (09:42 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Replace u.cie.merged with a union of
a merged field and a sec field.
(eh_frame_hdr_info): Remove offsets_adjusted.
* elf-eh-frame.c (_bfd_elf_parse_eh_frame): Update accesses to
the CIE merged field.
(_bfd_elf_gc_mark_fdes): Likewise.
(_bfd_elf_discard_section_eh_frame): Likewise.  Set u.cie.u.sec
when clearing the removed flag.
(_bfd_elf_eh_frame_section_offset): Remove offsets_adjusted handling.
(_bfd_elf_write_section_eh_frame): Likewise.  Apply output_offsets
where appropriate.

16 years agobfd/
rsandifo [Sat, 15 Dec 2007 09:41:15 +0000 (09:41 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Move add_fde_encoding and
per_encoding_relative to u.cie.  Add commentary.
* elf-eh-frame.c (cie): Remove make_relative.
(extra_augmentation_string_bytes): Update use of add_fde_encoding.
(extra_augmentation_data_bytes): Likewise.  Use an FDE's own
add_augmentation_size field, rather than referring to the CIE.
(_bfd_elf_parse_eh_frame): Don't set the struct cie
make_relative field; set the eh_cie_fde field directly.
Update setting of add_fde_encoding and per_encoding_relative.
Copy make_relative and add_augmentation_size from the CIE
to the FDE.
(_bfd_elf_discard_section_eh_frame): Use the FDE's own
make_relative field.
(_bfd_elf_eh_frame_section_offset): Likewise.
(_bfd_elf_write_section_eh_frame): Update accesses to
add_fde_encoding and per_encoding_relative.  Use the FDE's
own make_relative and add_augmentation_size fields.

16 years agobfd/
rsandifo [Sat, 15 Dec 2007 09:35:58 +0000 (09:35 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Remove need_lsda_relative.
Move make_lsda_relative to u.cie.
* elf-eh-frame.c (cie): Rename make_lsda_relative to
can_make_lsda_relative.
(_bfd_elf_parse_eh_frame): Don't set the old eh_cie_fde
make_lsda_relative field.  Update after cie renaming.
Set u.cie.make_lsda_relative if can_make_lsda_relative
and if we find a relocation against the LSDA.
(_bfd_elf_discard_section_eh_frame): Copy make_lsda_relative when
changing a CIE's group representative.
(_bfd_elf_eh_frame_section_offset): Don't set need_ldsa_relative here.
(_bfd_elf_write_section_eh_frame): Check u.cie.make_lsda_relative
rather than need_lsda_relative.

16 years agobfd/
rsandifo [Sat, 15 Dec 2007 09:34:48 +0000 (09:34 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Add u.fde.next_for_section and
u.cie.gc_mark.
(bfd_elf_section_data): Add fde_list.
(elf_fde_list): New macro.
(elf_obj_tdata): Add eh_frame_section.
(elf_eh_frame_section): New macro.
(_bfd_elf_gc_mark_reloc): Remove last parameter.
(_bfd_elf_gc_mark_fdes): Declare.
* elf-eh-frame.c (_bfd_elf_get_eh_frame_sec_info): Chain the FDEs
for each input section.
(mark_entry, _bfd_elf_gc_mark_fdes): New functions.
* elflink.c (_bfd_elf_gc_mark_reloc): Remove is_eh parameter.
(_bfd_elf_gc_mark): Update call accordingly.  Mark the relocations
againts the section's FDEs.  Don't mark the bfd's elf_eh_frame_section.
(bfd_elf_gc_sections): Parse each input bfd's .eh_frame before
marking any input sections.  Remove the current EH handling.
* section.c (bfd_section): Remove gc_mark_from_eh.
* ecoff.c (bfd_debug_section): Update initializer accordingly.

16 years agobfd/
rsandifo [Sat, 15 Dec 2007 09:33:51 +0000 (09:33 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Add u.cie.  Document how u.fde.cie_inf
changes when removed == 0.
(eh_frame_hdr_info): Add parsed_eh_frames.
(_bfd_elf_begin_eh_frame_parsing): Declare.
(_bfd_elf_parse_eh_frame): Declare.
(_bfd_elf_end_eh_frame_parsing): Declare.
* elf-eh-frame.c (_bfd_elf_begin_eh_frame_parsing): New function.
(_bfd_elf_parse_eh_frame): New function, split out from
_bfd_elf_discard_section_eh_frame.  Make a first pass through the
buffer to calculate the number of entries and CIEs.  Allocate memory
for them before the main loop.  Replace current extended cie
representation with a pair of pointers, one to the local eh_cie_fde
and one to the full struct cie.  Allocate a separate array of struct
cies if not merging.  Merge CIEs during the main loop and set up each
u.cie.merged field.  Point an FDE's cie_inf field directly at the
local CIE.  Initially assume that all entries should be removed.
(_bfd_elf_end_eh_frame_parsing): New function.
(_bfd_elf_discard_section_eh_frame): Assume that the section has
already been parsed.  Use a separate pass to mark entries that
need to be kept.  Use the u.cie.merged field to track a CIE's
group representative.
* elflink.c (bfd_elf_discard_info): Call _bfd_elf_parse_eh_frame
before _bfd_elf_discard_section_eh_frame.  Wrap loop with calls to
_bfd_elf_begin_eh_frame_parsing and _bfd_elf_end_eh_frame_parsing.

16 years agobfd/
rsandifo [Sat, 15 Dec 2007 09:32:38 +0000 (09:32 +0000)]
bfd/
* elf-bfd.h (eh_cie_fde): Put cie_inf in a union.  Add a reloc_index
field.  Use bitfields for fde_encoding, lsda_encoding and lsda_offset.
* elf-eh-frame.c (extra_augmentation_data_bytes): Adjust cie_inf
accesses after the above change.
(_bfd_elf_eh_frame_section_offset): Likewise.
(_bfd_elf_write_section_eh_frame): Likewise.
(_bfd_elf_discard_section_eh_frame): Likewise.  Set up reloc_index.