platform/upstream/binutils.git
15 years ago* Makefile.def: configure-target-boehm-gc depends on
Andreas Schwab [Tue, 2 Dec 2008 16:43:06 +0000 (16:43 +0000)]
* Makefile.def: configure-target-boehm-gc depends on
all-target-libstdc++-v3.
* Makefile.in: Regenerate.

15 years ago * target.h (target_get_osdata): Describe.
Pedro Alves [Tue, 2 Dec 2008 15:52:15 +0000 (15:52 +0000)]
* target.h (target_get_osdata): Describe.
* osdata.h (make_cleanup_osdata_free): Declare.
* osdata.c (osdata_item_clear): Define even if HAVE_LIBEXPAT is
not defined.
(osdata_free_cleanup): New.
(make_cleanup_osdata_free): New.
(get_osdata): Fix leak.
(info_osdata_command): Use make_cleanup_osdata_free.
(info_processes_command): Delete.
(_initialize_osdata): Drop undocumented "info processes" alias.
* mi/mi-main.c (mi_cmd_list_thread_groups): Fix leak.

15 years agogdb/
Jan Kratochvil [Tue, 2 Dec 2008 14:51:01 +0000 (14:51 +0000)]
gdb/
Fix resolving external references to TLS variables.
* findvar.c: Include `objfiles.h'.
(read_var_value <LOC_UNRESOLVED>): New variable `obj_section'.  Handle
SEC_THREAD_LOCAL variables.
* printcmd.c (address_info <LOC_UNRESOLVED>): Handle SEC_THREAD_LOCAL
variables.

gdb/testsuite/
Test resolving external references to TLS variables.
* gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
FILE2_THREAD_LOCAL.
(testfile2, srcfile2): New variables.
* gdb.threads/tls.c (file2_thread_local)
(function_referencing_file2_thread_local): New.
* gdb.threads/tls2.c: New file.

15 years ago * infrun.c (handle_inferior_event): Delete unused local tp.
Doug Evans [Tue, 2 Dec 2008 09:52:31 +0000 (09:52 +0000)]
* infrun.c (handle_inferior_event): Delete unused local tp.

15 years ago2008-12-02 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Tue, 2 Dec 2008 09:33:12 +0000 (09:33 +0000)]
2008-12-02  Kai Tietz  <kai.tietz@onevision.com>

        * pe-dll.c (make_runtime_pseudo_reloc): Make symtab big enough to
        hold relocations.

15 years ago2008-12-02 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 2 Dec 2008 09:18:45 +0000 (09:18 +0000)]
2008-12-02  Tristan Gingold  <gingold@adacore.com>

* config.bfd: Add x86_64-*-darwin*

15 years ago MI non-stop and multiprocess docs.
Vladimir Prus [Tue, 2 Dec 2008 08:01:15 +0000 (08:01 +0000)]
MI non-stop and multiprocess docs.

        * gdb.texinfo (GDB/MI): New section 'GDB/MI General Design'
        (GDB/MI Output Records): New section 'GDB/MI Frame Information'
        Adjust documentation for *stopped, document =thread-created,
        =thread-exited, =thread-group-created and =thread-group-exited.
        (GDB/MI Thread Commands): Document the 'state' field in
        -thread-info output.
        (GDB/MI Program Execution): Mention --all and --thread-group
        options.
        (GDB/MI Variable Objects): Describe floating and fixed variable
        objects.
        (GDB/MI Miscellaneous Commands): Document -list-thread-groups.

15 years ago Implement -list-thread-groups --available
Vladimir Prus [Tue, 2 Dec 2008 07:57:38 +0000 (07:57 +0000)]
Implement -list-thread-groups --available

        * Makefile.in (XMLFILES): Add osdata.dtd.
        (SFILES): Add osdata.c.
        (COMMON_OBS): Add osdata.o.
        * linux-nat.c: Include pwd.h, sys/types.h, gdb_dirent.h and xml-support.h.
        (linux_nat_xfer_osdata): New function.
        (linux_xfer_partial): Handle TARGET_OBJECT_OSDATA.
        * osdata.c: New file.
        * osdata.h: New file.
        * remote.c (PACKET_qXfer_osdata): New packet enum.
        (remote_protocol_features): Add "qXfer:osdata:read".
        (remote_read_qxfer): Handle TARGET_OBJECT_OSDATA.
        (extended_remote_can_run): New.
        (init_extended_remote_ops): Set to_can_run to
        extended_remote_can_run.
        (_initialize_remote): Add packet config command for
        "qXfer:osdata:read".
        * xml-support.c (obstack_xml_printf): New function.
        * xml-support.h (obstack_xml_printf): Declare.
        * target.c (target_get_osdata): New function.
        * target.h (enum target_object): Add TARGET_OBJECT_OSDATA.
        (target_os_data): Declare.
        * features/osdata.dtd: New file.
        * mi/mi-main.c (mi_list_thread_groups): Handle the --available
        option.

15 years ago* infrun.c (proceed): Delete unused local stop_signal.
Doug Evans [Tue, 2 Dec 2008 04:42:45 +0000 (04:42 +0000)]
* infrun.c (proceed): Delete unused local stop_signal.

15 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Tue, 2 Dec 2008 03:21:45 +0000 (03:21 +0000)]
* config.sub, config.guess: Update from upstream sources.

15 years ago*** empty log message ***
gdbadmin [Tue, 2 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Tue, 2 Dec 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years agogold/ChangeLog:
Cary Coutant [Mon, 1 Dec 2008 19:50:49 +0000 (19:50 +0000)]
gold/ChangeLog:

* plugin.cc (ld_plugin_message): Change format parameter to const.
Fix mismatch between new[] and delete.

include/ChangeLog:

* plugin-api.h (ld_plugin_message): Change format parameter to const.

15 years ago * plugin-api.h: Fix syntax error when compiling with C++.
Cary Coutant [Mon, 1 Dec 2008 19:05:46 +0000 (19:05 +0000)]
* plugin-api.h: Fix syntax error when compiling with C++.

15 years ago2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
Joel Sherrill [Mon, 1 Dec 2008 16:10:45 +0000 (16:10 +0000)]
2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>

* compile.c: Add const to remove warning.

15 years ago*** empty log message ***
gdbadmin [Mon, 1 Dec 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Mon, 1 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 30 Nov 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Sun, 30 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2008-11-29 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Sat, 29 Nov 2008 09:35:52 +0000 (09:35 +0000)]
2008-11-29  Kai Tietz  <kai.tietz@onevision.com>

* config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP
use "pe-i386" for 32-bit.

15 years ago * hpux-core.c: Don't include sys/file.h.
Dave Anglin [Sat, 29 Nov 2008 00:26:39 +0000 (00:26 +0000)]
* hpux-core.c: Don't include sys/file.h.

15 years agodaily update
Alan Modra [Sat, 29 Nov 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sat, 29 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * gdb.ada/int_deref.exp: Convert the addresses into long_integer
Joel Brobecker [Fri, 28 Nov 2008 23:26:54 +0000 (23:26 +0000)]
    * gdb.ada/int_deref.exp: Convert the addresses into long_integer
        rather than integer, as integer might not be big enough when
        on 64bit targets.

15 years ago2008-11-25 monitor.c (monitor_insert_breakpoint): Remove, already in log before.
Jan Kratochvil [Fri, 28 Nov 2008 21:58:06 +0000 (21:58 +0000)]
2008-11-25 monitor.c (monitor_insert_breakpoint): Remove, already in log before.

15 years ago * Makefile.am (ehopt.o): Add struc-symbol.h.
Jakub Jelinek [Fri, 28 Nov 2008 21:28:28 +0000 (21:28 +0000)]
* Makefile.am (ehopt.o): Add struc-symbol.h.
* Makefile.in: Regenerated.
* ehopt.c: Include struc-symbol.h.
(check_eh_frame): For very small O_constant DW_CFA_advance_loc4
create correct DW_CFA_advance_loc.  Handle O_subtract only
for code alignment factor 1, otherwise handle O_divide or
O_right_shift of O_subtract and O_constant.
(eh_frame_estimate_size_before_relax): Always divide by ca.
(eh_frame_convert_frag): Likewise.

* dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1,
DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs.

15 years ago * aoutx.h (NAME): Add case statements for bfd_mach_mips14000,
Thiemo Seufer [Fri, 28 Nov 2008 18:02:17 +0000 (18:02 +0000)]
* aoutx.h (NAME): Add case statements for bfd_mach_mips14000,
bfd_mach_mips16000.
* archures.c (bfd_architecture): Add .#defines for bfd_mach_mips14000,
bfd_mach_mips16000.
* bfd-in2.h: Regenerate.
* cpu-mips.c: Add enums I_mips14000, I_mips16000.
(arch_info_struct): Add refs to R14000, R16000.
* elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips14000,
bfd_mach_mips16000.
(mips_mach_extensions): Map R14000, R16000 to R10000.

* config/tc-mips.c (hilo_interlocks): Handle CPU_R14000, CPU_R16000.
(mips_cpu_info_table): Add r14000, r16000.
* doc/c-mips.texi: Add entries for 14000, 16000.

* mips-dis.c (mips_arch_choices): Add r14000, r16000.

* mips.h: Define CPU_R14000, CPU_R16000.
        (OPCODE_IS_MEMBER): Include R14000, R16000 in test.

15 years ago*** empty log message ***
gdbadmin [Fri, 28 Nov 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Fri, 28 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoMerge from GCC:
Joseph Myers [Thu, 27 Nov 2008 17:22:10 +0000 (17:22 +0000)]
Merge from GCC:
2008-11-21  Kai Tietz  <kai.tietz@onevision.com>

Fix PR/25502
* mh-mingw (BOOT_CFLAGS): Add -Wno-pedantic-ms-format switch.

2008-11-12  Steve Ellcey  <sje@cup.hp.com>

PR target/27880
* unwind_ipinfo.m4 (GCC_CHECK_UNWIND_GETIPINFO): Change from
link test to target based test.

15 years ago Merge from GCC:
Joseph Myers [Thu, 27 Nov 2008 17:14:58 +0000 (17:14 +0000)]
Merge from GCC:

2007-12-02  Matthias Klose  <doko@ubuntu.com>

* config-ml.in: Remove 64bit configure tests.

2008-05-14  Rafael Espindola  <espindola@google.com>

* config-ml.in: don't handle --enable-shared and --enable-static.

2008-09-02  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <grosser@fim.uni-passau.de>
    Jan Sjodin  <jan.sjodin@amd.com>
    Harsha Jagasia  <harsha.jagasia@amd.com>
    Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
    Konrad Trifunovic  <konrad.trifunovic@inria.fr>
    Adrien Eliche  <aeliche@isty.uvsq.fr>

Merge from graphite branch.
* configure: Regenerate.
* Makefile.in: Regenerate.
* configure.ac (host_libs): Add ppl and cloog.
Add checks for PPL and CLooG.
* Makefile.def (ppl, cloog): Added modules and dependences.
* Makefile.tpl (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): New.
(HOST_PPLLIBS, HOST_PPLINC, HOST_CLOOGLIBS, HOST_CLOOGINC): New.

2008-09-03  Richard Guenther  <rguenther@suse.de>

* configure.ac: Always pass -DCLOOG_PPL_BACKEND to the
cloog test.
* configure: Re-generate.

2008-09-03  Sebastian Pop  <sebastian.pop@amd.com>

* configure.ac (--with-cloog-polylib): New.
(--disable-cloog-version-check): New.
(--disable-ppl-version-check): New.
* configure: Re-generate.

2008-09-05  Richard Guenther  <rguenther@suse.de>

* configure.ac: Initialize clooglibs to -lcloog.
* configure: Re-generate.

2008-10-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.ac (MPFR check): Bump minimum version to 2.3.0 and
recommended version to 2.3.2.

* configure: Regenerate.

2008-10-31  Ben Elliston  <bje@au.ibm.com>

* configure.ac (spu-*-*): Remove special case.
* configure: Regenerate.

Complete comment text from GCC version of:

2008-08-31  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>

* configure.ac (RPATH_ENVVAR): Use PATH on Windows.
(GCC_SHLIB_SUBDIR): New.
* Makefile.tpl (HOST_LIB_PATH_gcc): Use GCC_SHLIB_SUBDIR.
* configure: Regenerate.
* Makefile.in: Regenerate.

15 years ago2008-11-27 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 27 Nov 2008 15:20:39 +0000 (15:20 +0000)]
2008-11-27  Tristan Gingold  <gingold@adacore.com>

* configure.ac: Build gdb for i?86-*-darwin*
* configure: Regenerated.

15 years ago * emultempl/cr16elf.em (cr16_after_open): New function to handle
M R Swami Reddy [Thu, 27 Nov 2008 12:41:14 +0000 (12:41 +0000)]
    * emultempl/cr16elf.em (cr16_after_open): New function to handle
        CR16 ELF embedded reloc creation (ld --embedded-relocs).
        (check_sections): New function.
        (LDEMUL_AFTER_OPEN): Define.
        * emulparams/elf32cr16.sh (EMBEDDED): Define.
* NEWS: Add comment on cr16 new feature.

15 years ago * Add PIC support for CR16 target.
M R Swami Reddy [Thu, 27 Nov 2008 12:26:49 +0000 (12:26 +0000)]
    * Add PIC support for CR16 target.
        * elf32-cr16.c (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
        R_CR16_GLOB_DAT): New macros
        (cr16_elf_howto_table): Add entries for for R_CR16_GOT_REGREL20,
        R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT.
        (cr16_reloc_map): Ditto
        (_bfd_cr16_elf_create_got_section): New function to create GOT section.
        (_bfd_cr16_elf_create_dynamic_sections): New function to create dynamic
        section.
        (_bfd_cr16_elf_adjust_dynamic_symbol): New function to adjust symbol
        defined by dynamic object.
        (_bfd_cr16_elf_size_dynamic_sections): New function to find the size
        of dynamic section.
        (_bfd_cr16_elf_finish_dynamic_symbol): New function to handle dynamic
        symbols.
        (_bfd_cr16_elf_finish_dynamic_symbol): New function to handle dynamic
        sections.
        (bfd_cr16_elf32_create_embedded_relocs): New function to create
        embedded relocs in .emreloc section in memory for .data.rel section.
        (_bfd_cr16_elf_reloc_type_class): New function for classify reloc types.
        (cr16_elf_check_relocs): New function for checking reloc types in
        first phase.
        (cr16_elf_final_link_relocate): Update for handling the new reloc
        types R_CR16_GOT_REGREL20 and R_CR16_GOTC_REGREL20.
        (elf32_cr16_relax_section): Update relax implementation.
        * reloc.c (bfd_reloc_code_type): Add entries for R_CR16_GOT_REGREL20,
        R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT.
        * bfd-in.h (bfd_boolean bfd_cr16_elf32_create_embedded_relocs): Declared
        * libbfd.h, bfd-in2.h: Regenerate.

15 years ago *c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.
M R Swami Reddy [Thu, 27 Nov 2008 12:01:26 +0000 (12:01 +0000)]
*c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.

15 years ago * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined
M R Swami Reddy [Thu, 27 Nov 2008 11:57:29 +0000 (11:57 +0000)]
    * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined
        * config/tc-cr16.c (md_pseudo_table): Add "4byte" directive to
        md_pseudo_table and accept @c prefix, same as long directive.
        (cr16_cons_fix_new): Initialize rtype to BFD_RELOC_UNUSED.
        config/tc-cr16.c (tc_gen_reloc): Declare a variable of type
        bfd_reloc_code_real_type and set it for GOT related relocations.
        (md_undefined_symbol): Defined
        (process_label_constant): Added checks for GOT/got and cGOT/cGOT
        prefixes with constant label and set the appropriate relocation type.
        * doc/c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.

15 years ago * gas/cr16/pic-1.s: New.
M R Swami Reddy [Thu, 27 Nov 2008 11:46:52 +0000 (11:46 +0000)]
    * gas/cr16/pic-1.s: New.
        * gas/cr16/pic-1.d: New.
        * gas/cr16/pic-2.s: New.
        * gas/cr16/pic-2.d: New.
        * gas/cr16/pic.exp: Run pic tests.

15 years ago * cr16.h (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
M R Swami Reddy [Thu, 27 Nov 2008 11:35:39 +0000 (11:35 +0000)]
* cr16.h (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
R_CR16_GLOB_DAT): New relocations.

15 years ago * cr16-dis.c (match_opcode): Truncate mcode to 32 bit and
M R Swami Reddy [Thu, 27 Nov 2008 11:30:33 +0000 (11:30 +0000)]
* cr16-dis.c (match_opcode): Truncate mcode to 32 bit and
adjusted the mask for 32-bit branch instruction.

15 years ago * ppc-opc.c (extract_sprg): Correct operand range check.
Alan Modra [Thu, 27 Nov 2008 10:47:23 +0000 (10:47 +0000)]
* ppc-opc.c (extract_sprg): Correct operand range check.

15 years ago * gdb.cp/formatted-ref.exp: Add equality test.
Jerome Guitton [Thu, 27 Nov 2008 09:52:55 +0000 (09:52 +0000)]
    * gdb.cp/formatted-ref.exp: Add equality test.
        * gdb.ada/formatted_ref.exp: Ditto.

15 years agogdb:
Tristan Gingold [Thu, 27 Nov 2008 09:23:01 +0000 (09:23 +0000)]
gdb:
2008-11-27  Tristan Gingold  <gingold@adacore.com>

* NEWS: Add entry for new native configuration: Darwin.
* configure.host: Add Darwin host.
* configure.tgt: Add Darwin target.
* defs.h (enum gdb_osabi): Add GDB_OSABI_DARWIN.
* osabi.c (gdb_osabi_names): Add name for Darwin abi.
* i386-darwin-nat.c: New file.
* i386-darwin-tdep.c: New file.
* machoread.c: New file.
* darwin-nat-info.c: New file.
* darwin-nat.c: New file.
* darwin-nat.h: New file.
* darwin.defs: New file.
* config/i386/darwin.mh: New file.

gdb/doc:
2008-11-27  Tristan Gingold  <gingold@adacore.com>

* gdb.texinfo (Darwin): Document Darwin specific features.

15 years agodaily update
Alan Modra [Thu, 27 Nov 2008 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Thu, 27 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago* config/tc-m32c.c (md_pseudo_table): Add support for .loc et al.
DJ Delorie [Wed, 26 Nov 2008 18:44:14 +0000 (18:44 +0000)]
* config/tc-m32c.c (md_pseudo_table): Add support for .loc et al.

15 years ago2008-11-26 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 26 Nov 2008 16:32:59 +0000 (16:32 +0000)]
2008-11-26  Tristan Gingold  <gingold@adacore.com>

* MAINTAINERS: Add myself for write after approval privileges.

15 years ago * value.h (allocate_value_lazy): New function declaration.
Jerome Guitton [Wed, 26 Nov 2008 16:27:28 +0000 (16:27 +0000)]
* value.h (allocate_value_lazy): New function declaration.
(value_free): Remove macro, make it a function.
* value.c (value): Move actual content outside of the memory space
of the struct; add a pointer to this actual content.
(allocate_value_lazy, allocate_value_contents): New function.
(allocate_value): Reimplement using these two new functions.
(value_contents_raw, value_contents_all_raw): If no memory
has been allocated yet for the actual content, allocate it.
(value_contents_all): Resync with struct value's changes.
(value_free): New function.
(value_copy, value_primitive_field): Use new function
allocate_value_lazy to allocate lazy values.
(value_change_enclosing_type): Resync with struct value's changes.
As the value is not reallocated, remove the special handling for
the value chain (now obsolete).
* valops.c (value_at_lazy): Use new function allocate_value_lazy.
(value_fetch_lazy): Allocate value content. Use allocate_value_lazy
to allocate lazy values.
(value_slice): Use allocate_value_lazy to allocate lazy values.

15 years ago * strings.c (main): New variable `s'. Have string_min parsing
Jan Kratochvil [Wed, 26 Nov 2008 14:24:35 +0000 (14:24 +0000)]
* strings.c (main): New variable `s'.  Have string_min parsing
call fatal for invalid input strings.

15 years ago2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
Joel Sherrill [Wed, 26 Nov 2008 14:24:12 +0000 (14:24 +0000)]
2008-11-24  Joel Sherrill <joel.sherrill@oarcorp.com>

    * arminit.c, iwmmxt.c: Include <string.h> to
    eliminate warning.

15 years agoFix typo.
Andreas Schwab [Wed, 26 Nov 2008 10:49:06 +0000 (10:49 +0000)]
Fix typo.

15 years ago(NEXTBYTE, NEXTWORD, NEXTLONG, NEXTULONG, NEXTSINGLE)
Andreas Schwab [Wed, 26 Nov 2008 10:43:18 +0000 (10:43 +0000)]
(NEXTBYTE, NEXTWORD, NEXTLONG, NEXTULONG, NEXTSINGLE)
(NEXTDOUBLE, NEXTEXTEND, NEXTPACKED): Fix error handling.
(save_printer, save_print_address): Remove.
(fetch_data): Don't use them.
(match_insn_m68k): Always restore printing functions.
(print_insn_m68k): Don't save/restore printing functions.

15 years ago2008-11-25 ia64-tdep.c change: Reflect current `disable' in the ChangeLog entry.
Jan Kratochvil [Wed, 26 Nov 2008 05:36:38 +0000 (05:36 +0000)]
2008-11-25 ia64-tdep.c change: Reflect current `disable' in the ChangeLog entry.

15 years ago Fix automatic restoration of breakpoints memory for ia64.
Jan Kratochvil [Wed, 26 Nov 2008 05:27:48 +0000 (05:27 +0000)]
Fix automatic restoration of breakpoints memory for ia64.
* ia64-tdep.c: New #if check on BREAKPOINT_MAX vs. BUNDLE_LEN.
(ia64_memory_insert_breakpoint): New comment part for SHADOW_CONTENTS
content.  Remove variable instr.  New variable cleanup.  Force
automatic breakpoints restoration.  PLACED_SIZE and SHADOW_LEN are now
set larger, to BUNDLE_LEN - 2.  Variable `bundle' type update.  Return
error if even just final target_write_memory has failed.
(ia64_memory_remove_breakpoint): Rename variables bundle to bundle_mem
and instr to instr_saved.  New variables bundle_saved and
instr_breakpoint.  Comment new reasons why we need to disable automatic
restoration of breakpoints.  Assert PLACED_SIZE and SHADOW_LEN.  New
check of the original memory content.  Return error if even just final
target_write_memory has failed.
(ia64_breakpoint_from_pc): Implement the emulation of permanent
breakpoints compatible with current bp_loc_is_permanent.
(template_encoding_table): Make it `const'.
* breakpoint.c (bp_loc_is_permanent): Support unsupported software
breakpoints.  New variables `cleanup' and `retval'.
* monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.

15 years ago * gdbint.texinfo (Target Conditionals): Extend the
Jan Kratochvil [Wed, 26 Nov 2008 05:26:40 +0000 (05:26 +0000)]
* gdbint.texinfo (Target Conditionals): Extend the
gdbarch_breakpoint_from_pc description.

15 years ago * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
Jan Kratochvil [Wed, 26 Nov 2008 05:25:56 +0000 (05:25 +0000)]
* gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
* gdb.base/start.exp: New comment about an alternative - `runto_main'.

15 years agoinclude/
Alan Modra [Wed, 26 Nov 2008 01:04:17 +0000 (01:04 +0000)]
include/
PR 7047
* bfdlink.h (struct bfd_elf_version_expr): Delete "symbol".
Add "literal".
bfd/
PR 7047
* configure.in: Bump version.
* configure: Regenerate.
* elflink.c (_bfd_elf_link_assign_sym_version): Continue matching
against version nodes when a global match is a wildcard.  Similarly
continue matching on local wildcard matches, rather than only
continuing for "*".  Have any global wildcard match override a
local wildcard match.  Correct logic hiding unversioned symbol.
(bfd_elf_size_dynamic_sections): Update for changes to struct
bfd_elf_version_expr.
ld/
PR 7047
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Update
for changes to struct bfd_elf_version_expr.
* ldlang.c (lang_vers_match, version_expr_head_hash): Likewise.
(version_expr_head_eq, lang_finalize_version_expr_head): Likewise.
(lang_register_vers_node): Likewise.
(lang_new_vers_pattern): Likewise.  Ensure "literal" is set when
no glob chars found in "pattern".
(realsymbol): Correct backslash quote logic.
* ld.texinfo (VERSION): Warn about global wildcards.

15 years agodaily update
Alan Modra [Wed, 26 Nov 2008 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Wed, 26 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago* config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math.
DJ Delorie [Tue, 25 Nov 2008 23:02:02 +0000 (23:02 +0000)]
* config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math.

15 years ago * configure.in: Deactivate large-file support on native x86-solaris
Joel Brobecker [Tue, 25 Nov 2008 19:07:10 +0000 (19:07 +0000)]
    * configure.in: Deactivate large-file support on native x86-solaris
        as well unless the user explicitly requested it.
        * configure: Regenerate.

15 years agobfd:
Joseph Myers [Tue, 25 Nov 2008 15:53:27 +0000 (15:53 +0000)]
bfd:
* elf32-arm.c (elf32_arm_final_link_relocate): Do not turn
branches to undefine weak symbols into branches to the next
instruction if creating PLT entries for those symbols.

ld/testsuite:
* ld-arm/thumb2-bl-undefweak.d, ld-arm/thumb2-bl-undefweak.s: New.
* ld-arm/arm-elf.exp: Run thumb2-bl-undefweak test.

15 years ago * elflink.c (is_reloc_section): New function. Returns true if the
Nick Clifton [Tue, 25 Nov 2008 13:03:56 +0000 (13:03 +0000)]
    * elflink.c (is_reloc_section): New function.  Returns true if the
        given name matches the name of the reloc-containing section
        associated with the given section.
        (get_dynamic_reloc_section_name): New function.  Computes the name
        of the section that contains the dynamic relocs associated with
        the given section.
        (_bfd_elf_get_dynamic_reloc_section): New function.  Returns a
        pointer to the section containing the dynamic relocs associated
        with the given section.
        (_bfd_elf_make_dynamic_reloc_section): New function.  Creates a
        section to contain the dynamic relocs associated with a given
        section.
        * elf-bfd.h: Prototype the new functions.
        * elf-m10300.c (mn10300_elf_check_relocs): Use new functions.
        (mn10300_elf_final_link_relocs): Likewise.
        * elf32-arm.c (reloc_section_p): Delete - replaced by new
        functions.
        (elf32_arm_final_link_relocate): Use new functions.
        (elf32_arm_check_relocs): Likewise.
        * elf32-cris.c (cris_elf_relocate_section): Likewise.
        (elf_cris_check_relocs): Likewise.
        * elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
        * elf32-i370.c (i370_elf_check_relocs): Likewise.
        (i370_elf_relocate_section): Likewise.
        * elf32-i386.c (elf_i386_check_relocs): Likewise.
        * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
        (m32r_elf_check_relocs): Likewise.
        * elf32-m68k.c (elf_m68k_check_relocs): Likewise.
        * elf32_ppc.c (ppc_elf_check_relocs): Likewise.
        (ppc_elf_relocate_section): Likewise.
        * elf32-s390.c (elf_s390_check_relocs): Likewise.
        * elf32-sh.c (sh_elf_relocate_section): Likewise.
        (sh_elf_check_relocs): Likewise.
        * elf32-vax.c (elf_vax_check_relocs): Likewise.
        (elf_vax_relocate_section): Likewise.
        * elf64-alpha.c (elf64_alpha_check_relocs): Likewise.
        * elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
        * elf64-s390.c (elf_s390_check_relocs): Likewise.
        * elf64-sh64.c (sh_elf64_relocate_section): Likewise.
        * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
        * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
        * elf32-bfin.c (bfin_check_relocs): Remove redundant local
        variable 'sreloc'.
        (bfin_relocate_section): Likewise.
        * elf32-v850.c (v850_elf_check_relocs): Likewise.

15 years ago * m68k-dis.c: Rewrite to remove use of setjmp/longjmp.
Nick Clifton [Tue, 25 Nov 2008 10:33:06 +0000 (10:33 +0000)]
    * m68k-dis.c: Rewrite to remove use of setjmp/longjmp.

15 years ago PR7044
Nick Clifton [Tue, 25 Nov 2008 08:48:49 +0000 (08:48 +0000)]
    PR7044
        * dlltool.c (run): Use formatting string to avoid compile time
        warning.
        (gen_exp_file): Check return value from fread.
        * windmc.c (main): Check return value from fread.

15 years ago * ld-cris/got7.s, ld-cris/init.s, ld-cris/pic-gc-72.d,
Hans-Peter Nilsson [Tue, 25 Nov 2008 04:10:48 +0000 (04:10 +0000)]
* ld-cris/got7.s, ld-cris/init.s, ld-cris/pic-gc-72.d,
ld-cris/pic-gc-72.s, ld-cris/pic-gc-73.d, ld-cris/pic-gc-73.s,
ld-cris/tls-dso-x1x2-1.d, ld-cris/tls-dso-xz-1.d,
ld-cris/tls-dtprelm.s, ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d,
ld-cris/tls-e-21.d, ld-cris/tls-e-22.d, ld-cris/tls-e-23.d,
ld-cris/tls-e-66.d, ld-cris/tls-err-20x.d, ld-cris/tls-err-24.d,
ld-cris/tls-err-25.d, ld-cris/tls-err-26.d, ld-cris/tls-err-27.d,
ld-cris/tls-err-28.d, ld-cris/tls-err-29.d, ld-cris/tls-err-31.d,
ld-cris/tls-err-33.d, ld-cris/tls-err-35.d, ld-cris/tls-err-37.d,
ld-cris/tls-err-39.d, ld-cris/tls-err-40.d, ld-cris/tls-err-41.d,
ld-cris/tls-err-43.d, ld-cris/tls-err-44.d, ld-cris/tls-err-45.d,
ld-cris/tls-err-47.d, ld-cris/tls-err-48.d, ld-cris/tls-err-49.d,
ld-cris/tls-err-51.d, ld-cris/tls-err-52.d, ld-cris/tls-err-53.d,
ld-cris/tls-err-55.d, ld-cris/tls-err-55.s, ld-cris/tls-err-56.d,
ld-cris/tls-err-56.s, ld-cris/tls-err-62.d, ld-cris/tls-err-62.s,
ld-cris/tls-err-65.d, ld-cris/tls-err-67.d, ld-cris/tls-gc-68.d,
ld-cris/tls-gc-69.d, ld-cris/tls-gc-70.d, ld-cris/tls-gc-71.d,
ld-cris/tls-gc-71.s, ld-cris/tls-gc-75.d, ld-cris/tls-gc-76.d,
ld-cris/tls-gc-76.s, ld-cris/tls-gd-1.d, ld-cris/tls-gd-1.s,
ld-cris/tls-gd-1h.d, ld-cris/tls-gd-2.d, ld-cris/tls-gd-2.s,
ld-cris/tls-gd-2h.d, ld-cris/tls-gd-3.d, ld-cris/tls-gd-3.s,
ld-cris/tls-gd-3h.d, ld-cris/tls-gdgotrelm.s, ld-cris/tls-global-74.d,
ld-cris/tls-gottprelm.s, ld-cris/tls-hx.s, ld-cris/tls-hx1x2.s,
ld-cris/tls-ie-10.d, ld-cris/tls-ie-10.s, ld-cris/tls-ie-11.d,
ld-cris/tls-ie-11.s, ld-cris/tls-ie-8.d, ld-cris/tls-ie-8.s,
ld-cris/tls-ie-9.d, ld-cris/tls-ie-9.s, ld-cris/tls-ld-4.d,
ld-cris/tls-ld-4.s, ld-cris/tls-ld-5.d, ld-cris/tls-ld-5.s,
ld-cris/tls-ld-6.d, ld-cris/tls-ld-6.s, ld-cris/tls-ld-7.d,
ld-cris/tls-ld-7.s, ld-cris/tls-ldgd-14.d, ld-cris/tls-ldgd-14.s,
ld-cris/tls-ldgd-15.d, ld-cris/tls-ldgd-15.s, ld-cris/tls-ldgde-14.d,
ld-cris/tls-ldgde-15.d, ld-cris/tls-ldgdex-14.d,
ld-cris/tls-ldgdex-15.d, ld-cris/tls-ldgdx-14.d,
ld-cris/tls-ldgdx-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-12.s,
ld-cris/tls-le-12s.d, ld-cris/tls-le-12s.s, ld-cris/tls-le-13.d,
ld-cris/tls-le-13.s, ld-cris/tls-le-13s.d, ld-cris/tls-le-13s.s,
ld-cris/tls-legd-16.d, ld-cris/tls-legd-16.s, ld-cris/tls-legd-17.d,
ld-cris/tls-legdx-16.d, ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d,
ld-cris/tls-leie-19.d, ld-cris/tls-leie-19.s, ld-cris/tls-local-54.d,
ld-cris/tls-local-54.s, ld-cris/tls-local-57.d,
ld-cris/tls-local-57.s, ld-cris/tls-local-58.d,
ld-cris/tls-local-58.s, ld-cris/tls-local-59.d,
ld-cris/tls-local-59.s, ld-cris/tls-local-60.d,
ld-cris/tls-local-61.d, ld-cris/tls-local-63.d,
ld-cris/tls-local-64.d, ld-cris/tls-ok-30.d, ld-cris/tls-ok-32.d,
ld-cris/tls-ok-34.d, ld-cris/tls-ok-36.d, ld-cris/tls-tprelm.s,
ld-cris/tls-und-38.d, ld-cris/tls-und-42.d, ld-cris/tls-und-46.d,
ld-cris/tls-und-50.d, ld-cris/tls-x.s, ld-cris/tls-x1x2.s,
ld-cris/tls-z.s, ld-cris/tls128.s, ld-cris/tls128g.s: New tests.

15 years ago Implement TLS for CRIS.
Hans-Peter Nilsson [Tue, 25 Nov 2008 04:02:12 +0000 (04:02 +0000)]
Implement TLS for CRIS.
* elf32-cris.c: Include limits.h.
(TLSHOWTO16): Redefine in terms of and move contents to...
(TLSHOWTO16X): New macro.
(TLSHOWTO16S, LGOT_REG_NDX, LGOT_DTP_NDX, LGOT_ALLOC_NELTS_FOR)
(elf_cris_hash_entry): New macros.
(cris_elf_howto_table): Make R_CRIS_16_DTPREL,
R_CRIS_16_GOT_TPREL, R_CRIS_16_TPREL check overflow for signed,
not unsigned values.
(cris_info_to_howto_rela): Make r_type a enum elf_cris_reloc_type,
not unsigned int.
(struct elf_cris_link_hash_entry): New members reg_got_refcount,
tprel_refcount, and dtp_refcount.
(struct elf_cris_link_hash_table): New member dtpmod_refcount.
(elf_cris_link_hash_newfunc): Initialize new members.
(elf_cris_link_hash_table_create): Similar.
(cris_final_link_relocate, elf_cris_reloc_type_class): Use a
temporary variable when testing the relocation type.
(cris_elf_gc_mark_hook): Ditto.  Add default case where needed.
(cris_elf_gc_sweep_hook): Ditto.  Handle reference-counting for
the new assembly-generated relocs.  Rewrite refcount handling to
set temporary variables to pointers to reloc-specific variables
and entry size and common code for the update.
(additional_relocation_error_msg_count): New variable.
(cris_elf_relocate_section): Use a function-local variable srelgot
for the .rela.got section instead of looking it up for every need.
Make r_type a enum elf_cris_reloc_type, not int.  Actually set
symname for non-local symbols.  Handle new assembly-generated
relocs.  For overflow, emit additional messages for the new 16-bit
relocs as well as R_CRIS_16_GOTPLT and R_CRIS_16_GOT.
(elf_cris_finish_dynamic_symbol): Use elf_cris_finish_dynamic_symbol
instead of plain casts.  Check new hash entry member
reg_got_refcount when checking whether to emit a GOT entry.
(elf_cris_finish_dynamic_sections): Update head comment to warn
about emitting relocs here.  Use a temporary variable when testing
the relocation type.
(elf_cris_discard_excess_program_dynamics)
(elf_cris_adjust_gotplt_to_got): Handle reference counting change
regarding h->reg_got_refcount.
(cris_elf_check_relocs): Rewrite refcount handling to set
temporary variables and entry size and common code for the update
for local symbols.  Use new macro elf_cris_hash_entry.  Adjust
allocation for change in reference counting of GOT entries for
local symbols.
(elf_cris_size_dynamic_sections): Adjust calculated size of
.got.plt and .rela.got if we need a GOT entry for a
R_CRIS_DTPMOD relocation.
(elf_cris_got_elt_size): New function.
(elf_backend_got_elt_size): Define.

15 years ago * cris.h (R_CRIS_32_TPREL): Correct comment.
Hans-Peter Nilsson [Tue, 25 Nov 2008 03:08:13 +0000 (03:08 +0000)]
* cris.h (R_CRIS_32_TPREL): Correct comment.
(R_CRIS_DTPMOD): Open up for use elsewhere than the fourth GOT entry.

15 years ago * ld-cris/start1.s: Prepend register name with $.
Hans-Peter Nilsson [Tue, 25 Nov 2008 02:27:29 +0000 (02:27 +0000)]
* ld-cris/start1.s: Prepend register name with $.

* ld-cris/dso-1.s, ld-cris/libdso-1.d, ld-cris/libdso-11.d,
ld-cris/libdso-2.d, ld-cris/pv32.s, ld-cris/undef1.d: Correct
.size expressions and adjust expected output accordingly.

15 years ago*** empty log message ***
gdbadmin [Tue, 25 Nov 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Tue, 25 Nov 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * ada-lang.c (value_from_contents_and_address): Move...
Tom Tromey [Mon, 24 Nov 2008 23:21:16 +0000 (23:21 +0000)]
* ada-lang.c (value_from_contents_and_address): Move...
* value.c: ... here.
* ada-lang.h (value_from_contents_and_address): Move
declaration...
* value.h: ... here.

15 years ago * Makefile.in (VERSION,DIST,LINT,LINTFLAGS): Delete, unused.
Doug Evans [Mon, 24 Nov 2008 21:01:36 +0000 (21:01 +0000)]
* Makefile.in (VERSION,DIST,LINT,LINTFLAGS): Delete, unused.

15 years ago2008-11-24 Paul Pluzhnikov <ppluzhnikov@google.com>
Tom Tromey [Mon, 24 Nov 2008 18:10:11 +0000 (18:10 +0000)]
2008-11-24  Paul Pluzhnikov  <ppluzhnikov@google.com>

* valprint.c (val_print_array_elements): Pass correct
element address to val_print.

15 years ago * server.c (handle_v_run): Always use the supplied argument list.
Daniel Jacobowitz [Mon, 24 Nov 2008 18:05:02 +0000 (18:05 +0000)]
* server.c (handle_v_run): Always use the supplied argument list.

15 years ago Fix access of an already freed memory.
Jan Kratochvil [Mon, 24 Nov 2008 17:05:43 +0000 (17:05 +0000)]
Fix access of an already freed memory.
* parse.c (parse_field_expression): Call xstrdup on `*name'.
* completer.c (expression_completer): Free fieldname.

15 years ago PR gdb/2474
Daniel Jacobowitz [Mon, 24 Nov 2008 16:53:44 +0000 (16:53 +0000)]
PR gdb/2474
* remote.c (remote_read_description_p): New function.
(remote_start_remote): Try to fetch the target description
before adding shared libraries.  Try again later if the
target is running but stopped.
(remote_open_1): Mark extended targets as exited by default.
(remote_read_description): Check target_has_execution.

15 years ago * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Use
Jerome Guitton [Mon, 24 Nov 2008 13:52:05 +0000 (13:52 +0000)]
* alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Use
        the frame address in block instead of the return address to
        locate the mdebug PDR of the frame.

15 years ago * ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header.
Alan Modra [Mon, 24 Nov 2008 07:54:34 +0000 (07:54 +0000)]
* ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header.

15 years agoFix typo last change
Hans-Peter Nilsson [Mon, 24 Nov 2008 02:02:57 +0000 (02:02 +0000)]
Fix typo last change

15 years agodaily update
Alan Modra [Mon, 24 Nov 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Mon, 24 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * ld-cris/badgotr1.d: Robustify regexp.
Hans-Peter Nilsson [Sun, 23 Nov 2008 21:29:22 +0000 (21:29 +0000)]
* ld-cris/badgotr1.d: Robustify regexp.

15 years agodaily update
Alan Modra [Sun, 23 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 23 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * gdb.texinfo (M68K Features): Fix typo.
Vladimir Prus [Sat, 22 Nov 2008 12:14:33 +0000 (12:14 +0000)]
* gdb.texinfo (M68K Features): Fix typo.

15 years ago Remove the unused BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK.
Joel Brobecker [Sat, 22 Nov 2008 04:41:45 +0000 (04:41 +0000)]
    Remove the unused BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK.

        * breakpoint.h (enum bpstat_what_main_action): Remove
        BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK.
        * breakpoint.c (bpstat_what): Delete catch_shlib_event from enum class.
        Remove the BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK column from
        variable table.
        * infrun.c (wait_for_inferior): Remove handling of
        BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK.

15 years ago*** empty log message ***
gdbadmin [Sat, 22 Nov 2008 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Sat, 22 Nov 2008 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago * configure: Rebuild.
Tom Tromey [Fri, 21 Nov 2008 22:35:58 +0000 (22:35 +0000)]
* configure: Rebuild.
* configure.ac: Merge calls to AC_CHECK_FUNCS, AC_CHECK_HEADERS,
AC_CHECK_DECLS, and AC_CHECK_MEMBERS.

15 years ago2008-11-19 Sterling Augustine <sterling@tensilica.com>
Sterling Augustine [Fri, 21 Nov 2008 22:16:16 +0000 (22:16 +0000)]
2008-11-19  Sterling Augustine  <sterling@tensilica.com>

       * MAINTAINERS: Take over from Bob Wilson as Xtensa maintainer.

15 years ago2008-11-21 Sterling Augustine <sterling@tensilica.com>
Sterling Augustine [Fri, 21 Nov 2008 22:13:32 +0000 (22:13 +0000)]
2008-11-21  Sterling Augustine  <sterling@tensilica.com>

        * xtensa-isa.c (xtensa_state_is_shared_or): New function.

2008-11-21  Sterling Augustine  <sterling@tensilica.com>

        * xtensa-isa-internal.h (XTENSA_STATE_IS_SHARED_OR): New flag.
        * xtensa-isa.h (xtensa_state_is_shared_or): New prototype.

2008-11-21  Sterling Augustine  <sterling@tensilica.com>

        * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Call
        xtensa_state_is_shared_or to allow multiple opcodes within a
        single FLIX bundle to write to these special states.

15 years agomerge from gcc
DJ Delorie [Fri, 21 Nov 2008 15:04:35 +0000 (15:04 +0000)]
merge from gcc

15 years ago * python/python-internal.h (PyGILState_Ensure): New define.
Tom Tromey [Fri, 21 Nov 2008 14:59:56 +0000 (14:59 +0000)]
* python/python-internal.h (PyGILState_Ensure): New define.
(PyGILState_Release): Likewise.
(PyEval_InitThreads): Likewise.
(PyThreadState_Swap): Likewise.
(PyEval_InitThreads): Likewise.
* python/python.c (_initialize_python): Initialize threads.
Release GIL.
(eval_python_from_control_command): Acquire GIL.
(python_command): Likewise.
* python/python-internal.h (make_cleanup_py_restore_gil):
Declare.
* python/python-utils.c (py_gil_restore): New function.
(make_cleanup_py_restore_gil): Likewise.

15 years ago(Chunk I forgot to commit on 2008-11-14).
Tristan Gingold [Fri, 21 Nov 2008 10:21:00 +0000 (10:21 +0000)]
(Chunk I forgot to commit on 2008-11-14).

2008-11-13  Tristan Gingold  <gingold@adacore.com>

* makefile.vms (OBJS): Update objects list.
(CFLAGS): Update.
(libiberty.olb): Remove alloca-conf.h dependency.
* config.h-vms: Use new macro sets, use builtin alloca.

15 years ago * elf-bfd.h (struct elf_backend_data): New member got_elt_size.
Hans-Peter Nilsson [Fri, 21 Nov 2008 00:02:37 +0000 (00:02 +0000)]
* elf-bfd.h (struct elf_backend_data): New member got_elt_size.
(_bfd_elf_default_got_elt_size): Declare.
* elflink.c (struct alloc_got_off_arg): Replace member got_elt_size
by new member info.
(elf_gc_allocate_got_offsets): Adjust for calling bed->got_elt_size
to get the element size instead of using a gofarg entry.
(bfd_elf_gc_common_finalize_got_offsets): Similar.
(_bfd_elf_default_got_elt_size): New function.
* elfxx-target.h: New macro elf_backend_got_elt_size.
(elfNN_bed): Use it.

15 years ago*** empty log message ***
gdbadmin [Fri, 21 Nov 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
Alan Modra [Fri, 21 Nov 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years ago * frame.c (frame_debug_got_null_frame): Remove file arg.
Doug Evans [Thu, 20 Nov 2008 22:16:16 +0000 (22:16 +0000)]
* frame.c (frame_debug_got_null_frame): Remove file arg.
All callers updated.

15 years ago* gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
Andreas Schwab [Thu, 20 Nov 2008 17:17:59 +0000 (17:17 +0000)]
* gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
matching syscall entry point.
* gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
(tcatch_vfork_then_child_follow): Likewise.  Finish through
vfork even if we stopped at the syscall trampoline.

15 years ago * infrun.c (resume): If following a fork, also reset regcache,
Pedro Alves [Thu, 20 Nov 2008 17:06:05 +0000 (17:06 +0000)]
* infrun.c (resume): If following a fork, also reset regcache,
gdbarch and pc.