• R/O
  • HTTP
  • SSH
  • HTTPS

pf3gnuchains4x: List of commits

4.x系GCCをフロントエンドとするgnu chains


RSS
Rev. Time Author
0ff0a49 2012-01-04 23:24:55 brobecke

do not call decode_compound with Ada expressions.

Trying to insert a breakpoint on `ops."<"', we get the following error:

(gdb) b ops."<"
malformed template specification in command

This is because locate_first_half skips the linespec until the dot,
and the decode_line_internal thinks that the dot might mean that
we have C++ or Java compound. It then tries calling decode_compound
which errors out because it sees the opening angle bracket but not
the closing one (I am guessing).

This patch short-circuits this part of the code when the current
language is Ada.

gdb/ChangeLog:

* linespec.c (decode_line_internal): Check for C++ or Java
compound constructs only if the current language is C, C++
or Java.

fe12f91 2012-01-04 22:51:35 jkratoch

gdb/
Revert:
2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
Fix regression for gdb.cp/gdb2495.exp with gcc-4.7.
* arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to
3 times.
* infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and
fall through into AT_ENTRY_POINT.
(call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust
DUMMY_ADDR with it.
* ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase
PPC_INSN_SIZE skip to 3 times.

638323e 2012-01-04 22:31:27 gingold

2012-01-04 Tristan Gingold <gingold@adacore.com>

* mach-o.c (bfd_mach_o_fat_stat_arch_elt): New function.
(bfd_mach_o_generic_stat_arch_elt): Adjust.

b89a032 2012-01-04 22:22:21 gingold

2012-01-04 Tristan Gingold <gingold@adacore.com>

* mach-o.c (bfd_mach_o_fat_member_init): New function.
(bfd_mach_o_openr_next_archived_file): Reindent.
Adjust to call bfd_mach_o_fat_member_init.
(bfd_mach_o_fat_extract): Adjust to call bfd_mach_o_fat_member_init.

703c668 2012-01-04 22:15:16 brobecke

linespec: keep function descriptors during minimal symbol search

When discarding data (minimal) symbols, we need to be careful to
not throw away the function descriptors. This makes a difference
on platforms where these descriptors are used and live in a data
section.

gdb/ChangeLog:

* linespec.c (add_minsym): Preserve function descriptors.

7c0f4d4 2012-01-04 21:59:23 gingold

2012-01-04 Tristan Gingold <gingold@adacore.com>

* mach-o-x86-64.c (bfd_mach_o_x86_64_swap_reloc_out): Handle
BFD_RELOC_32, BFD_RELOC_MACH_O_X86_64_PCREL32_1,
BFD_RELOC_MACH_O_X86_64_PCREL32_2,
BFD_RELOC_MACH_O_X86_64_PCREL32_4,
BFD_RELOC_MACH_O_X86_64_BRANCH32,
BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32,
BFD_RELOC_MACH_O_X86_64_GOT.

765b0ed 2012-01-04 21:31:45 uweigand

* breakpoint.c (all_locations_are_pending): Consider locations
in program spaces executing during startup pending as well.

360b33b 2012-01-04 20:25:11 iains


gas/testsuite:

* gas/mach-o/zerofill-2.d: New.

194c4fd 2012-01-04 19:59:53 iains


add .zerofill to mach-o GAS.

gas:

* config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
(obj_mach_o_get_section_names): New (split from obj_mach_o_section).
(obj_mach_o_make_or_get_sect): Likewise.
(obj_mach_o_section): Split out the functionality shared with zerofill.
(obj_mach_o_zerofill): New.
(obj_mach_o_common_parse): Ensure whitespace is skipped.
(mach_o_pseudo_table): Add .zerofill.

gas/testsuite:

* gas/mach-o/zerofill-1.d: New.
* gas/mach-o/zerofill-1.s: New.

add5420 2012-01-04 19:37:34 gingold

bfd/
2012-01-04 Tristan Gingold <gingold@adacore.com>

* mach-o.h (bfd_mach_o_fvmlib_command): New structure.
(bfd_mach_o_load_command): Add fvmlib field.

* mach-o.c (bfd_mach_o_read_fvmlib): New function.
(bfd_mach_o_read_command): Handle fvmlib.

binutils/
2012-01-04 Tristan Gingold <gingold@adacore.com>

* od-macho.c (dump_load_command): Handle fvmlib.

include/mach-o/
2012-01-04 Tristan Gingold <gingold@adacore.com>

* external.h (mach_o_fvmlib_command_external): New structure.

41b3a45 2012-01-04 19:25:11 gingold

bfd/
2012-01-04 Tristan Gingold <gingold@adacore.com>

* mach-o.c (bfd_mach_o_convert_architecture): Reindent.
Decode msubtype for ARM.

include/mach-o/
2012-01-04 Tristan Gingold <gingold@adacore.com>

* loader.h: Update copyright year.
(bfd_mach_o_cpu_subtype): Add ARM subtypes.

90dca84 2012-01-04 19:14:24 gingold

bfd/
2012-01-04 Tristan Gingold <gingold@adacore.com>

* mach-o.c (bfd_mach_o_get_synthetic_symtab): Add comments.

95aff4f 2012-01-04 18:58:52 gingold

bfd/
2012-01-04 Tristan Gingold <gingold@adacore.com>

* mach-o.h: Reindent header.
(bfd_mach_o_encryption_info_command): New structure.
(bfd_mach_o_load_command): Add encryption_info field.

* mach-o.c (bfd_mach_o_read_encryption_info): New function.
(bfd_mach_o_read_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
(bfd_mach_o_read_command): Adjust error message.

binutils/
2012-01-04 Tristan Gingold <gingold@adacore.com>

* od-macho.c: Update copyright year.
(dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.

include/mach-o/
2012-01-04 Tristan Gingold <gingold@adacore.com>

* external.h: Update copyright year.
(mach_o_symtab_command_external): Add comments.
(mach_o_encryption_info_command_external): New structure.

a0cad94 2012-01-04 17:44:03 gingold

2012-01-04 Shinichiro Hamaji <shinichiro.hamaji@gmail.com>

* dwarf2.c (_bfd_dwarf2_slurp_debug_info): Factor out the part
which reads DWARF2 and stores in stash from find_line.
(find_line) Call _bfd_dwarf2_slurp_debug_info.
* libbfd-in.h (_bfd_dwarf2_slurp_debug_info): Add declaration.
* libbfd.h (_bfd_dwarf2_slurp_debug_info): Regenerate.
* mach-o.c (dsym_subdir): The name of subdir where debug
information may be stored.
(bfd_mach_o_lookup_uuid_command): New. Lookup a load command whose
type is UUID.
(bfd_mach_o_dsym_for_uuid_p): New. Check if the specified BFD is
corresponding to the executable.
(bfd_mach_o_find_dsym): New. Find a debug information BFD in the
specified binary file.
(bfd_mach_o_follow_dsym): New. Find a debug information BFD for
the original BFD.
(bfd_mach_o_find_nearest_line): Check dSYM files for Mach-O
executables, dylibs, and bundles.
(bfd_mach_o_close_and_cleanup): Clean up BFDs for the dSYM file.
* mach-o.h (dsym_bfd): The BFD of the dSYM file.

a240eca 2012-01-04 17:27:48 brobecke

Copyright year update in most files of the GDB Project.

gdb/ChangeLog:

Copyright year update in most files of the GDB Project.

443c53b 2012-01-04 17:16:51 brobecke

Copyright year update in most files of the GDB Project.

gdb/ChangeLog:

Copyright year update in most files of the GDB Project.

0beaa4c 2012-01-04 16:55:48 brobecke

use gnulib's update-copyright script to update copyright years

This patch now retires the old copyright.sh script which was using
emacs to perform the copyright update. It also completely rewrite
copyright.py to call update-copyright with the appropriate list
of files.

In addition to calling update-copyright, the new script also performs
a sanity-check on all the files that update-copyright could not update,
and sees whether the file might contain a copyright notice that
the script could not decipher.

gdb/ChangeLog:

* copyright.sh: Delete.
* copyright.py: Rewrite.

7584334 2012-01-04 16:55:11 brobecke

Import gnulib's update-copyright script

gdb/ChangeLog:

* gnulib/extra/update-copyright: New file, imported from gnulib.

87d890c 2012-01-04 13:11:33 brobecke

[README] Add note about copyright and license notices

Also explain the use of year ranges in copyright notices.

gdb/ChangeLog:

* README (Copyright and License Notices): New section.

a65e084 2012-01-04 11:32:07 ironhead

2012-01-03 Chris Sutcliffe <ir0nh34d@users.sf.net>

Return value, identified by 'make test'.

* include/gdiplus/gdiplustypes.h (Gdiplus::GdiplusAbort::Abort()): Return
NO_ERROR in virtual definition.

186ace7 2012-01-04 10:32:06 ironhead

2012-01-03 Chris Sutcliffe <ir0nh34d@users.sf.net>

Remove duplicate definitions, identified by 'make test'.

* include/wincrypt.h (CRYPT_NEWKEYSET, CRYPT_DELETEKEYSET,
CRYPT_MACHINE_KEYSET, CRYPT_SILENT, CRYPT_EXPORTABLE, CRYPT_USER_PROTECTED,
CRYPT_CREATE_SALT, CRYPT_UPDATE_KEY, CRYPT_NO_SALT, CRYPT_PREGEN,
CRYPT_RECIPIENT, CRYPT_INITIATOR, CRYPT_ONLINE, CRYPT_SF, CRYPT_CREATE_IV,
CRYPT_KEK, CRYPT_DATA_KEY, CRYPT_VOLATILE, CRYPT_SGCKEY): Remove duplicate
definitions.
* include/winerror.h (CRYPT_E_REVOKED): Removed - already defined in
wincrypt (which is where it should be defined according to MSDN).

b44696b 2012-01-04 09:18:22 ccoutant

* gold/incremental.cc (Sized_incremental_binary::do_process_got_plt):
Use abstract base class for GOT.
* gold/output.h (class Output_data_got_base): New abstract base class.
(class Output_data_got): Derive from new base class, adjust ctors.
(Output_data_got::reserve_slot): Make virtual; rename to
do_reserve_slot; Adjust callers.
* gold/target.h (Sized_target::init_got_plt_for_update): Return
pointer to abstract base class.
* gold/x86_64.cc (Target_x86_64::init_got_plt_for_update): Likewise.

1ff9e6b 2012-01-04 09:00:33 gdbadmin

*** empty log message ***

a75dbdb 2012-01-04 08:00:05 amodra

daily update

953d614 2012-01-04 04:27:51 tromey

PR python/12533:
* python/py-value.c (valpy_dereference, valpy_get_address
valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
(valpy_getitem, valpy_call, valpy_binop, valpy_negative)
(valpy_absolute, valpy_richcompare): Free intermediate values.

755cefd 2012-01-04 04:13:57 jjohnstn


2012-01-03 Viachaslau Kulakouski <Viachaslau.Kulakouski@oracle.com>

* libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock.

c7d552e 2012-01-04 04:09:39 keithmarshall

Correct misuse of #ifdef, identified by 'make test'.

87a1db7 2012-01-04 01:02:36 dj

merge from gcc

84faf09 2012-01-03 22:30:57 brobecke

more copyright notice reformatting.

gdb/ChangeLog:

* ada-lang.c: Reformat the copyright notice.

gdb/testsuite/ChangeLog:

* gdb.base/auxv.exp: Reformat the copyright notice.

2f4b313 2012-01-03 22:18:46 iains


support stabs on mach-o GAS.

bfd:

* mach-o.c (bfd_mach_o_mangle_symbols): Put in the section index
for stabd symbols.
(bfd_mach_o_primary_symbol_sort_key): Adjust for stabs.
(bfd_mach_o_cf_symbols): Likewise.

gas:

* config/obj-macho.c (obj_macho_process_stab): New.
* config/obj-macho.h (OBJ_PROCESS_STAB): Define.
(obj_macho_process_stab): Declare.

Show on old repository browser