OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
14 years agobfd/
Tristan Gingold [Fri, 9 Oct 2009 15:33:37 +0000 (15:33 +0000)]
bfd/
2009-10-09  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_RPATH.
(bfd_mach_o_bfd_print_private_bfd_data): Ditto.

14 years ago2009-10-09 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 9 Oct 2009 15:14:55 +0000 (15:14 +0000)]
2009-10-09  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_scan_read_symtab_symbols): Rename to
bfd_mach_o_read_symtab_symbols.
(bfd_mach_o_scan_write_thread): Rename to bfd_mach_o_write_thread.
(bfd_mach_o_scan_write_relocs): Rename to bfd_mach_o_write_relocs.
(bfd_mach_o_scan_write_section_32): Rename to
bfd_mach_o_write_section_32.
(bfd_mach_o_scan_write_section_64): Rename to
bfd_mach_o_write_section_64.
(bfd_mach_o_scan_write_segment_32): Rename to
bfd_mach_o_write_segment_32.
(bfd_mach_o_scan_write_segment_64): Rename to
bfd_mach_o_write_segment_64.
(bfd_mach_o_scan_write_symtab): Rename to bfd_mach_o_write_symtab.
(bfd_mach_o_scan_read_section_32): Rename to
bfd_mach_o_read_section_32.
(bfd_mach_o_scan_read_section_64): Rename to
bfd_mach_o_read_section_64.
(bfd_mach_o_scan_read_section): Rename to bfd_mach_o_read_section.
(bfd_mach_o_scan_read_symtab_strtab): Rename to
bfd_mach_o_read_symtab_strtab.
(bfd_mach_o_scan_read_symtab_symbol): Rename to
bfd_mach_o_read_symtab_symbol.
(bfd_mach_o_scan_read_dysymtab_symbol): Rename to
bfd_mach_o_read_dysymtab_symbol.
(bfd_mach_o_scan_read_dylinker): Rename to bfd_mach_o_read_dylinker.
(bfd_mach_o_scan_read_dylib): Rename to bfd_mach_o_read_dylib.
(bfd_mach_o_scan_read_prebound_dylib): Rename to
bfd_mach_o_read_prebound_dylib.
(bfd_mach_o_scan_read_thread): Rename to bfd_mach_o_read_thread.
(bfd_mach_o_scan_read_dysymtab): Rename to bfd_mach_o_read_dysymtab.
(bfd_mach_o_scan_read_symtab): Rename to bfd_mach_o_read_symtab.
(bfd_mach_o_scan_read_uuid): Rename to bfd_mach_o_read_uuid.
(bfd_mach_o_scan_read_linkedit): Rename to bfd_mach_o_read_linkedit.
(bfd_mach_o_scan_read_str): Rename to bfd_mach_o_read_str.
(bfd_mach_o_scan_read_dyld_info): Rename to bfd_mach_o_read_dyld_info.
(bfd_mach_o_scan_read_segment): Rename to bfd_mach_o_read_segment.
(bfd_mach_o_scan_read_segment_32): Rename to
bfd_mach_o_read_segment_32.
(bfd_mach_o_scan_read_segment_64): Rename to
bfd_mach_o_read_segment_64.
(bfd_mach_o_scan_read_command): Rename to bfd_mach_o_read_command.
* mach-o.h (bfd_mach_o_scan_read_dysymtab_symbol): Rename to
bfd_mach_o_read_dysymtab_symbol.

14 years ago2009-10-09 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 9 Oct 2009 08:18:16 +0000 (08:18 +0000)]
2009-10-09  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_section_get_entry_size): Moved.
(bfd_mach_o_section_get_nbr_indirect): Ditto.
(bfd_mach_o_get_synthetic_symtab): New function.
(bfd_mach_o_print_private_header): Print the number of commands
in decimal.
* mach-o.h (bfd_mach_o_get_synthetic_symtab): Add prototype.
* mach-o-target.c: Do not defined bfd_mach_o_get_synthetic_symtab.

14 years agomerge from gcc
DJ Delorie [Fri, 9 Oct 2009 04:49:48 +0000 (04:49 +0000)]
merge from gcc

14 years ago * linux-nat.c (linux_nat_wait_1): Bail out, if TARGET_WNOHANG and
Pedro Alves [Fri, 9 Oct 2009 01:57:11 +0000 (01:57 +0000)]
* linux-nat.c (linux_nat_wait_1): Bail out, if TARGET_WNOHANG and
we found no event while waiting for a specific LWP.
* infrun.c (handle_inferior_event): Handle TARGET_WAITKIND_IGNORE
before anything else.

14 years ago * procfs.c (procfs_make_note_section): Always output a NT_PSTATUS
Pedro Alves [Fri, 9 Oct 2009 01:28:01 +0000 (01:28 +0000)]
* procfs.c (procfs_make_note_section): Always output a NT_PSTATUS
note when NEW_PROC_API is defined.

14 years ago * corelow.c (add_to_thread_list): Fix typo.
Pedro Alves [Fri, 9 Oct 2009 01:01:20 +0000 (01:01 +0000)]
* corelow.c (add_to_thread_list): Fix typo.

14 years ago * corelow.c (core_has_fake_pid): New.
Pedro Alves [Fri, 9 Oct 2009 00:49:05 +0000 (00:49 +0000)]
* corelow.c (core_has_fake_pid): New.
(core_close): Clear it.
(add_to_thread_list): Fake a pid if one is not found on a Solaris
core.  Add the inferior here.  Always add the thread, don't use
thread_change_ptid.
(core_open): Don't add the main thread or the inferior here unless
we find that the core had no .reg/NN sections.
(get_core_register_section): Handle Solaris cores with fake pids.

14 years agodoc/
Paul Pluzhnikov [Fri, 9 Oct 2009 00:31:01 +0000 (00:31 +0000)]
doc/
2009-10-08  Paul Pluzhnikov  <ppluzhnikov@google.com>

* gdb.texinfo (Server): Document libthread-db-search-path.

gdbserver/
2009-10-08  Paul Pluzhnikov  <ppluzhnikov@google.com>

* acinclude.m4: (SRV_CHECK_THREAD_DB, SRV_CHECK_TLS_GET_ADDR): Remove.
* configure.ac: Adjust.
* linux-low.h (struct process_info_private): Move members to struct
thread_db.
(thread_db_free, thread_db_handle_monitor_command): New prototype.
* linux-low.c (linux_remove_process): Adjust.
(linux_wait_for_event_1, linux_look_up_symbols): Likewise.
* server.c (handle_query): Move code ...
(handle_monitor_command): ... here. New function.
* target.h (struct target_ops): New member.
* thread-db.c (struct thread_db): New.
(libthread_db_search_path): New variable.
(thread_db_create_event, thread_db_enable_reporting)
(find_one_thread, maybe_attach_thread, find_new_threads_callback)
(thread_db_find_new_threads, (thread_db_get_tls_address): Adjust.
(try_thread_db_load_1, dladdr_to_soname): New functions.
(try_thread_db_load, thread_db_load_search): New functions.
(thread_db_init): Search for libthread_db.
(thread_db_free): New function.
(thread_db_handle_monitor_command): Likewise.
* config.in: Regenerate.
* configure: Regenerate.

14 years ago*** empty log message ***
gdbadmin [Fri, 9 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Thu, 8 Oct 2009 22:59:56 +0000 (22:59 +0000)]
daily update

14 years ago gdb/testsuite/
Pedro Alves [Thu, 8 Oct 2009 22:42:53 +0000 (22:42 +0000)]
gdb/testsuite/
* lib/gdb.exp (gdb_compile): Remove dead aix and irix related
bits.

14 years ago2009-10-08 Paul Pluzhnikov <ppluzhnikov@google.com>
Paul Pluzhnikov [Thu, 8 Oct 2009 16:38:40 +0000 (16:38 +0000)]
2009-10-08  Paul Pluzhnikov  <ppluzhnikov@google.com>

PR gdb/10457
* elfread.c (elf_symtab_read): Don't use alloca in a loop.

14 years agogdb/doc/
Jan Kratochvil [Thu, 8 Oct 2009 13:08:25 +0000 (13:08 +0000)]
gdb/doc/
* gdbint.texinfo (i386_stopped_by_hwbp): Remove.

14 years ago2009-10-08 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 8 Oct 2009 12:46:16 +0000 (12:46 +0000)]
2009-10-08  Tristan Gingold  <gingold@adacore.com>

* config.bfd: Add bfd_mach_o_i386_vec in x86_64-darwin targ_selvecs.

14 years agomanually sync from the CVS repository
Jim Meyering [Thu, 8 Oct 2009 08:50:51 +0000 (08:50 +0000)]
manually sync from the CVS repository

14 years ago*** empty log message ***
gdbadmin [Thu, 8 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Wed, 7 Oct 2009 22:59:59 +0000 (22:59 +0000)]
daily update

14 years agogdb/testsuite/
Jan Kratochvil [Wed, 7 Oct 2009 19:52:27 +0000 (19:52 +0000)]
gdb/testsuite/
* gdb.base/hbreak.exp, gdb.base/hbreak.c: New.

14 years agogdb/
Jan Kratochvil [Wed, 7 Oct 2009 19:35:05 +0000 (19:35 +0000)]
gdb/
* i386-nat.c (i386_stopped_by_hwbp): Remove.

14 years ago * NEWS: Update following the GDB 7.0 release.
Joel Brobecker [Wed, 7 Oct 2009 18:27:22 +0000 (18:27 +0000)]
    * NEWS: Update following the GDB 7.0 release.

14 years ago * gdb.base/watchpoints.c: Add copyright header. Reformat one
Joel Brobecker [Wed, 7 Oct 2009 18:17:31 +0000 (18:17 +0000)]
    * gdb.base/watchpoints.c: Add copyright header.  Reformat one
        of the comments.

14 years ago* opcodes/microblaze-dis.c: Add include for microblaze-dis.h,
eager [Wed, 7 Oct 2009 15:40:17 +0000 (15:40 +0000)]
* opcodes/microblaze-dis.c: Add include for microblaze-dis.h,
eliminate local extern decls.
* opcodes/microblaze-dis.h: New.

14 years agoSync with gcc repository.
Ian Lance Taylor [Wed, 7 Oct 2009 05:57:48 +0000 (05:57 +0000)]
Sync with gcc repository.

14 years agomerge from gcc
DJ Delorie [Wed, 7 Oct 2009 02:57:27 +0000 (02:57 +0000)]
merge from gcc

14 years ago*** empty log message ***
gdbadmin [Wed, 7 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago ARI fix: OP eol rule.
Pierre Muller [Tue, 6 Oct 2009 23:27:04 +0000 (23:27 +0000)]
ARI fix: OP eol rule.
* doublest.c (floatformat_from_length): Avoid operator at end of line.
* dwarf2-frame.c (dwarf2_build_frame_info): Idem.
* dwarf2read.c (read_array_order, dwarf_decode_macros): Idem.
* eval.c (evaluate_subexp_standard): Idem.
* event-loop.c (create_timer, handle_timer_event): Idem.
* expprint.c (print_subexp_standard): Idem.
* f-exp.y (variable): Idem.
* f-typeprint.c (f_print_type): Idem.

14 years ago ARI fix: OP eol rule.
Pierre Muller [Tue, 6 Oct 2009 22:47:18 +0000 (22:47 +0000)]
ARI fix: OP eol rule.
* blockframe.c (find_pc_partial_function): Avoid operator at end of
line.
* buildsym.c (find_symbol_in_list): Idem.
(start_subfile, patch_subfile_names): Idem.
* c-exp.y (variable, yylex): Idem.
* c-typeprint.c (c_print_type, c_type_print_base): Idem.
* c-valprint.c (c_val_print): Idem.
* coffread.c (patch_opaque_types, process_coff_symbol): Idem.
* corelow.c (core_open): Idem.
* cris-tdep.c (move_reg_to_mem_movem_op): Idem.
* cli/cli-decode.c (help_cmd_list, find_command_name_length): Idem.

14 years ago ARI fix: OP eol rule.
Pierre Muller [Tue, 6 Oct 2009 21:27:58 +0000 (21:27 +0000)]
ARI fix: OP eol rule.
* ada-exp.y (block_lookup): Avoid operator at end of line.
* aix-thread.c (pd_enable): Idem.
* alpha-tdep.c (alpha_next_pc): Idem.
* arm-tdep.c (arm_skip_prologue, arm_scan_prologue): Idem.
(condition_true, coff_sym_is_thumb): Idem.

14 years agoMerge from gcc repository.
Ian Lance Taylor [Tue, 6 Oct 2009 20:14:05 +0000 (20:14 +0000)]
Merge from gcc repository.

14 years ago2009-10-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 6 Oct 2009 19:41:12 +0000 (19:41 +0000)]
2009-10-06  H.J. Lu  <hongjiu.lu@intel.com>

* bfd-in2.h: Regenerated.

14 years ago* info (Contributors): Add self for Xilinx MicroBlaze.
eager [Tue, 6 Oct 2009 18:02:36 +0000 (18:02 +0000)]
* info (Contributors): Add self for Xilinx MicroBlaze.
(Embedded Processors): Add MicroBlaze.
(MicroBlaze): New.  Describe Xilinx MicroBlaze

14 years agoGDB 7.0 released.
gdbadmin [Tue, 6 Oct 2009 17:40:34 +0000 (17:40 +0000)]
GDB 7.0 released.

14 years agoMinor reformatting of the last entry.
Joel Brobecker [Tue, 6 Oct 2009 16:04:05 +0000 (16:04 +0000)]
Minor reformatting of the last entry.

14 years agoUpdated Finnish translation
Nick Clifton [Tue, 6 Oct 2009 15:44:39 +0000 (15:44 +0000)]
Updated Finnish translation

14 years ago * ARI fix: "%p" rule.
Pierre Muller [Tue, 6 Oct 2009 15:32:17 +0000 (15:32 +0000)]
* ARI fix: "%p" rule.
target.c (debug_to_thread_architecture): Replace %p by %s using
host_address_to_string function.

14 years ago* microblaze/interp.c: Add include microblaze-dis.h.
eager [Tue, 6 Oct 2009 15:19:52 +0000 (15:19 +0000)]
* microblaze/interp.c: Add include microblaze-dis.h.

14 years ago * gdb.base/annota1.exp: Remove obsolete match_max increase.
Pierre Muller [Tue, 6 Oct 2009 15:12:06 +0000 (15:12 +0000)]
* gdb.base/annota1.exp: Remove obsolete match_max increase.
* gdb.base/annota3.exp: Idem.
* gdb.base/maint.exp: Idem.

14 years ago2009-10-06 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 6 Oct 2009 07:23:05 +0000 (07:23 +0000)]
2009-10-06  Tristan Gingold  <gingold@adacore.com>

* darwin-nat.c: Add __TEXT __info_plist content.
(darwin_attach_pid): Update error message.

14 years ago * MAINTAINERS: Add Tristan Gingold as Maintainer of the Darwin port.
Joel Brobecker [Tue, 6 Oct 2009 05:14:46 +0000 (05:14 +0000)]
    * MAINTAINERS: Add Tristan Gingold as Maintainer of the Darwin port.

14 years ago * MAINTAINERS: Add Jan Kratochvil as Maintainer of the ia64 target.
Joel Brobecker [Tue, 6 Oct 2009 02:56:04 +0000 (02:56 +0000)]
    * MAINTAINERS: Add Jan Kratochvil as Maintainer of the ia64 target.

14 years ago*** empty log message ***
gdbadmin [Tue, 6 Oct 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Mon, 5 Oct 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago Revert:
Pedro Alves [Mon, 5 Oct 2009 13:46:47 +0000 (13:46 +0000)]
Revert:
2009-10-04  Pedro Alves  <pedro@codesourcery.com>
* gdbinit.in: Set data-directory to @srcdir@.

14 years ago * opc2c.c: Include "libiberty.h" and <errno.h>.
Nick Clifton [Mon, 5 Oct 2009 13:14:55 +0000 (13:14 +0000)]
    * opc2c.c: Include "libiberty.h" and <errno.h>.
        (orig_filename): Constify.
        (dump_lines): Fix line number directive.
        (main): Set orig_filename to basename of input file.  Use
        xstrerror.

        * Makefile.am (rx-dis.lo): Remove explicit dependencies.
        ($(srcdir)/rx-decode.c): Use @MAINT@.  Use $(EXEEXT_FOR_BUILD)
        instead of $(EXEEXT).
        (opc2c$(EXEEXT_FOR_BUILD)): Renamed from opc2c$(EXEEXT) and use
        $(LINK_FOR_BUILD).  Link with libiberty.
        (MOSTLYCLEANFILES): Add opc2c$(EXEEXT_FOR_BUILD).
        (MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
        * Makefile.in: Regenerated.
        * rx-decode.c: Regenerated.

14 years ago * lib/gdb.exp (default_gdb_init): Set current value of match_max
Pierre Muller [Mon, 5 Oct 2009 06:27:45 +0000 (06:27 +0000)]
* lib/gdb.exp (default_gdb_init): Set current value of match_max
to default.

14 years ago*** empty log message ***
gdbadmin [Mon, 5 Oct 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sun, 4 Oct 2009 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago * NEWS: Mention non-stop mode.
Pedro Alves [Sun, 4 Oct 2009 17:39:30 +0000 (17:39 +0000)]
* NEWS: Mention non-stop mode.

14 years ago * gdb.texinfo (Remote Protocol): Don't mention vCont;T.
Pedro Alves [Sun, 4 Oct 2009 17:37:57 +0000 (17:37 +0000)]
* gdb.texinfo (Remote Protocol): Don't mention vCont;T.

14 years ago * gdbinit.in: Set data-directory to @srcdir@.
Pedro Alves [Sun, 4 Oct 2009 13:50:06 +0000 (13:50 +0000)]
* gdbinit.in: Set data-directory to @srcdir@.

14 years ago*** empty log message ***
gdbadmin [Sun, 4 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sat, 3 Oct 2009 23:00:05 +0000 (23:00 +0000)]
daily update

14 years agoRevert the last change.
H.J. Lu [Sat, 3 Oct 2009 17:00:16 +0000 (17:00 +0000)]
Revert the last change.

14 years ago2009-10-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 3 Oct 2009 14:36:34 +0000 (14:36 +0000)]
2009-10-03  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am ($(srcdir)/rx-decode.c): Add @MAINT@.
(rx-dis.lo): Remove a space.
(pc2c$(EXEEXT)): Remove a space. Use $(LINK_FOR_BUILD) instead
of gcc.
(MAINTAINERCLEANFILES): Add $(srcdir)/rx-decode.c.
* Makefile.in: Regenerated.

14 years ago * arm-dis.c (print_insn): Check symtab_size not *symtab.
Alan Modra [Sat, 3 Oct 2009 00:39:53 +0000 (00:39 +0000)]
* arm-dis.c (print_insn): Check symtab_size not *symtab.

14 years ago*** empty log message ***
gdbadmin [Sat, 3 Oct 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago PR gdb/10649
Joel Brobecker [Fri, 2 Oct 2009 22:06:10 +0000 (22:06 +0000)]
    PR gdb/10649
        * Makefile.in (GDB_DATADIR_PATH): Renamed to ...
        (GDB_DATADIR): This.
        (xml-syscall-install): Updated.

14 years ago*** empty log message ***
gdbadmin [Fri, 2 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * MAINTAINERS: Move Don Lee to the correct section (Write After
Joel Brobecker [Thu, 1 Oct 2009 23:12:43 +0000 (23:12 +0000)]
    * MAINTAINERS: Move Don Lee to the correct section (Write After
        Approval).

14 years ago * configure.ac: Disable -Werror by default.
Joel Brobecker [Thu, 1 Oct 2009 19:37:31 +0000 (19:37 +0000)]
    * configure.ac: Disable -Werror by default.
        * configure: Regenerate.

14 years ago*** empty log message ***
gdbadmin [Thu, 1 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agoSet version to 6.8.92.20090930-cvs
gdbadmin [Wed, 30 Sep 2009 20:50:21 +0000 (20:50 +0000)]
Set version to 6.8.92.20090930-cvs

14 years agoGDB 6.8.92 released.
gdbadmin [Wed, 30 Sep 2009 20:48:41 +0000 (20:48 +0000)]
GDB 6.8.92 released.

14 years agoUpdate GDB version number in README and version.in
gdbadmin [Wed, 30 Sep 2009 20:20:50 +0000 (20:20 +0000)]
Update GDB version number in README and version.in

14 years ago * windows-nat.c (ctrl_c_handler): Also handle CTRL_BREAK_EVENT.
Pierre Muller [Wed, 30 Sep 2009 07:40:09 +0000 (07:40 +0000)]
* windows-nat.c (ctrl_c_handler): Also handle CTRL_BREAK_EVENT.
* doc/gdb.texinfo (Cygwin Native): Mention support for Ctrl-BREAK.

14 years ago*** empty log message ***
gdbadmin [Wed, 30 Sep 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years agogdb/testsuite/
Jan Kratochvil [Tue, 29 Sep 2009 19:27:16 +0000 (19:27 +0000)]
gdb/testsuite/
* gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
* gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
* gdb.arch/ia64-breakpoint-shadow.S: New file.

14 years agogdb/
Jan Kratochvil [Tue, 29 Sep 2009 19:09:38 +0000 (19:09 +0000)]
gdb/
* ia64-tdep.c (ia64_convert_from_func_ptr_addr): New variable buf.
Check first the descriptor memory is readable.

14 years ago * gdb.objc/basicclass.exp: Disable pending breakpoint query.
Ulrich Weigand [Tue, 29 Sep 2009 19:03:33 +0000 (19:03 +0000)]
* gdb.objc/basicclass.exp: Disable pending breakpoint query.
* gdb.objc/nondebug.exp: Likewise.

14 years ago Revert 2009-09-28 commit:
Ulrich Weigand [Tue, 29 Sep 2009 18:59:38 +0000 (18:59 +0000)]
Revert 2009-09-28 commit:
* eval.c (evaluate_subexp_standard) [OP_OBJC_MSGCALL]: Support
platforms that use function descriptors.  Prefer to use function
pointer types instead of function types.
* linespec.c (decode_objc): Support function descriptors.  Fully
initialize SAL result.
* objc-lang.c (find_methods): Support function descriptors.
Do not require function symbol to point to text section.

* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): When calling
via a function pointer, use the descriptor it points to.

14 years ago * python/py-value.c (valpy_string): NULL-terminate 'keywords'.
Tom Tromey [Tue, 29 Sep 2009 15:17:26 +0000 (15:17 +0000)]
* python/py-value.c (valpy_string): NULL-terminate 'keywords'.

14 years ago * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
Ulrich Weigand [Tue, 29 Sep 2009 13:03:47 +0000 (13:03 +0000)]
* gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
target_info setting.

* gdb.threads/thread-specific.exp (get_thread_list): Support targets
that detect new threads during "info threads".

14 years ago * s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
Ulrich Weigand [Tue, 29 Sep 2009 12:52:25 +0000 (12:52 +0000)]
* s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
instead of CORE_ADDR for "amode".

14 years ago * gdbarch.sh (displaced_step_hw_singlestep): New callback.
Ulrich Weigand [Tue, 29 Sep 2009 12:09:18 +0000 (12:09 +0000)]
* gdbarch.sh (displaced_step_hw_singlestep): New callback.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.c (default_displaced_step_hw_singlestep): New function.
* arch-utils.h (default_displaced_step_hw_singlestep): Add prototype.

* ppc-linux-tdep.c (ppc_displaced_step_hw_singlestep): New function.
(rs6000_gdbarch_init): Install it.

* infrun.c (displaced_step_fixup): Use new callback to determine
whether to "step" or "continue" displaced copy.
(resume): Likewise.  Do not call maybe_software_singlestep
for displaced stepping.
(maybe_software_singlestep): Do not handle displaced stepping.

14 years ago2009-09-29 Hui Zhu <teawater@gmail.com>
Hui Zhu [Tue, 29 Sep 2009 01:53:24 +0000 (01:53 +0000)]
2009-09-29  Hui Zhu  <teawater@gmail.com>

* record.c (record_open): Change "query" to "error".
(cmd_record_stop): Change "query" to "printf_unfiltered".

14 years ago * ia64-tdep.c: Update the comments on how we insert/remove
Joel Brobecker [Tue, 29 Sep 2009 01:29:10 +0000 (01:29 +0000)]
    * ia64-tdep.c: Update the comments on how we insert/remove
        breakpoints for L-X instructions.
        (ia64_memory_insert_breakpoint, ia64_memory_remove_breakpoint):
        Update the comments inside these functions.

14 years ago * eval.c (evaluate_subexp_standard) [OP_OBJC_MSGCALL]: Support
Ulrich Weigand [Tue, 29 Sep 2009 00:49:18 +0000 (00:49 +0000)]
* eval.c (evaluate_subexp_standard) [OP_OBJC_MSGCALL]: Support
platforms that use function descriptors.  Prefer to use function
pointer types instead of function types.
* linespec.c (decode_objc): Support function descriptors.  Fully
initialize SAL result.
* objc-lang.c (find_methods): Support function descriptors.
Do not require function symbol to point to text section.

* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): When calling
via a function pointer, use the descriptor it points to.

14 years ago * valops.c (value_assign): Respect parent offset when
Ulrich Weigand [Tue, 29 Sep 2009 00:41:23 +0000 (00:41 +0000)]
* valops.c (value_assign): Respect parent offset when
assigning to a bitfield.

14 years ago * s390-tdep.c (op_bctr, op_bctgr, op_bct, op1_bctg, op2_bctg,
Ulrich Weigand [Tue, 29 Sep 2009 00:40:22 +0000 (00:40 +0000)]
* s390-tdep.c (op_bctr, op_bctgr, op_bct, op1_bctg, op2_bctg,
op_bxh, op1_bxhg, op2_bxhg, op_bxle, op1_bxleg, op2_bxleg,
op1_brct, op2_brct, op1_brctg, op2_brctg, op_brxh, op1_brxhg,
op2_brxhg, op_brxle, op1_brxlg, op2_brxlg): New enum values.
(is_rsi, is_rie): New insn format decoder routines.
(s390_displaced_step_fixup): New function.
(s390_gdbarch_init): Install displaced stepping routines.

14 years ago * spu-low.c (spu_kill): Wait for inferior to terminate.
Ulrich Weigand [Tue, 29 Sep 2009 00:39:01 +0000 (00:39 +0000)]
* spu-low.c (spu_kill): Wait for inferior to terminate.
Call clear_inferiors.
(spu_detach): Call clear_inferiors.

14 years ago * gdb.threads/manythreads.c (main): Increase thread stack size
Ulrich Weigand [Tue, 29 Sep 2009 00:38:01 +0000 (00:38 +0000)]
* gdb.threads/manythreads.c (main): Increase thread stack size
to 2*PTHREAD_STACK_MIN.
* gdb.threads/multi-create.c (main): Likewise.
(create_function): Likewise.

14 years ago * gdb.base/dump.exp: Pass difference of pointer types instead
Ulrich Weigand [Tue, 29 Sep 2009 00:36:49 +0000 (00:36 +0000)]
* gdb.base/dump.exp: Pass difference of pointer types instead
of integer types as offset to restore in intarr3.srec case.

14 years ago * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
Ulrich Weigand [Tue, 29 Sep 2009 00:35:39 +0000 (00:35 +0000)]
* gdb.cp/gdb2495.exp: Skip test on spu*-*-*.

14 years ago * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
Ulrich Weigand [Tue, 29 Sep 2009 00:34:42 +0000 (00:34 +0000)]
* gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.

14 years ago*** empty log message ***
gdbadmin [Tue, 29 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago Fix ia64 breakpoints in the L-X slot.
Joel Brobecker [Mon, 28 Sep 2009 23:59:23 +0000 (23:59 +0000)]
    Fix ia64 breakpoints in the L-X slot.
        * ia64-tdep.c (ia64_memory_insert_breakpoint): Extend the comment.
        New variable shadow_slotnum, use it appropriately instead of slotnum.
        Move shadow_len initialization before SLOTNUM adjustment, cover now the
        whole remaining bundle.  Error now on breakpoints requested for the
        slot 2 of L-X bundles.  Better sanity check the requested slot 1 of L-X
        bundles.
        (ia64_memory_remove_breakpoint): New variable shadow_slotnum, use it
        appropriately instead of slotnum.  Warn now on breakpoints requested
        for the slot 2 of L-X bundles.  Better sanity check the requested slot
        1 of L-X bundles.  Update the assertio check of PLACED_SIZE.
        (ia64_breakpoint_from_pc): New variable shadow_slotnum, use it
        appropriately instead of slotnum.  Move *lenptr initialization before
        SLOTNUM adjustment, cover now the whole remaining bundle.  Error now
        on breakpoints requested for the slot 2 of L-X bundles.  Better sanity
        check the requested slot 1 of L-X bundles.  Simplify the returned
        expression.

14 years ago * ia64-tdep.c (ia64_memory_insert_breakpoint): Check the slotnum
Joel Brobecker [Mon, 28 Sep 2009 23:56:52 +0000 (23:56 +0000)]
    * ia64-tdep.c (ia64_memory_insert_breakpoint): Check the slotnum
        and the type of instruction before deciding which slot to save
        in the breakpoint shadown contents.

14 years ago2009-09-28 Hui Zhu <teawater@gmail.com>
Hui Zhu [Mon, 28 Sep 2009 07:20:45 +0000 (07:20 +0000)]
2009-09-28  Hui Zhu  <teawater@gmail.com>

* i386-tdep.c (i386_process_record): Remove "0x" that
don't need.

14 years ago*** empty log message ***
gdbadmin [Mon, 28 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
gdbadmin [Sun, 27 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago gdb ChangeLog entry:
Pierre Muller [Sat, 26 Sep 2009 12:10:57 +0000 (12:10 +0000)]
gdb ChangeLog entry:
* i386-nat.c (i386_stopped_data_address): Also check that
hitted watch register is not vacant.

gdb/testsuite ChangeLog entry:
New test for two watchpoints, with disabling of
the first inserted.
* testsuite/gdb.base/watchpoints.c: New file.
* testsuite/gdb.base/watchpoints.exp: New file.

14 years ago*** empty log message ***
gdbadmin [Sat, 26 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago*** empty log message ***
gdbadmin [Fri, 25 Sep 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * record.c (record_open, record_store_registers, record_xfer_partial):
Joel Brobecker [Thu, 24 Sep 2009 17:59:12 +0000 (17:59 +0000)]
    * record.c (record_open, record_store_registers, record_xfer_partial):
        Replace calls to nquery by calls to query.

14 years ago*** empty log message ***
gdbadmin [Thu, 24 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2009-09-23 John Wright <john.wright@hp.com>
Tom Tromey [Wed, 23 Sep 2009 17:33:05 +0000 (17:33 +0000)]
2009-09-23  John Wright  <john.wright@hp.com>

PR gdb/10684:
* event-top.c (command_line_handler): Terminate linebuffer before
xstrdup.

14 years ago*** empty log message ***
gdbadmin [Wed, 23 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * solib.c (solib_bfd_open): Relax a bit the compatibility check.
Joel Brobecker [Tue, 22 Sep 2009 23:04:30 +0000 (23:04 +0000)]
    * solib.c (solib_bfd_open): Relax a bit the compatibility check.

14 years ago * source.c (forget_cached_source_info): Clear last_source_visited.
Daniel Jacobowitz [Tue, 22 Sep 2009 22:33:46 +0000 (22:33 +0000)]
* source.c (forget_cached_source_info): Clear last_source_visited.
(init_last_source_visited): Delete.
(directory_command): Do not clear last_source_visited.  Call
forget_cached_source_info only if required.
(unset_substitute_path_command, set_substitute_path_command): Call
forget_cached_source_info.
* mi/mi-cmd-env.c (mi_cmd_env_dir): Do not call
init_last_source_visited.
* defs.h (init_last_source_visited): Delete declaration.