OSDN Git Service
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.
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.
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.
DJ Delorie [Fri, 9 Oct 2009 04:49:48 +0000 (04:49 +0000)]
merge from gcc
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.
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.
Pedro Alves [Fri, 9 Oct 2009 01:01:20 +0000 (01:01 +0000)]
* corelow.c (add_to_thread_list): Fix typo.
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.
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.
gdbadmin [Fri, 9 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 8 Oct 2009 22:59:56 +0000 (22:59 +0000)]
daily update
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.
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.
Jan Kratochvil [Thu, 8 Oct 2009 13:08:25 +0000 (13:08 +0000)]
gdb/doc/
* gdbint.texinfo (i386_stopped_by_hwbp): Remove.
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.
Jim Meyering [Thu, 8 Oct 2009 08:50:51 +0000 (08:50 +0000)]
manually sync from the CVS repository
gdbadmin [Thu, 8 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 7 Oct 2009 22:59:59 +0000 (22:59 +0000)]
daily update
Jan Kratochvil [Wed, 7 Oct 2009 19:52:27 +0000 (19:52 +0000)]
gdb/testsuite/
* gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
Jan Kratochvil [Wed, 7 Oct 2009 19:35:05 +0000 (19:35 +0000)]
gdb/
* i386-nat.c (i386_stopped_by_hwbp): Remove.
Joel Brobecker [Wed, 7 Oct 2009 18:27:22 +0000 (18:27 +0000)]
* NEWS: Update following the GDB 7.0 release.
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.
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.
Ian Lance Taylor [Wed, 7 Oct 2009 05:57:48 +0000 (05:57 +0000)]
Sync with gcc repository.
DJ Delorie [Wed, 7 Oct 2009 02:57:27 +0000 (02:57 +0000)]
merge from gcc
gdbadmin [Wed, 7 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
Ian Lance Taylor [Tue, 6 Oct 2009 20:14:05 +0000 (20:14 +0000)]
Merge from gcc repository.
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.
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
gdbadmin [Tue, 6 Oct 2009 17:40:34 +0000 (17:40 +0000)]
GDB 7.0 released.
Joel Brobecker [Tue, 6 Oct 2009 16:04:05 +0000 (16:04 +0000)]
Minor reformatting of the last entry.
Nick Clifton [Tue, 6 Oct 2009 15:44:39 +0000 (15:44 +0000)]
Updated Finnish translation
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.
eager [Tue, 6 Oct 2009 15:19:52 +0000 (15:19 +0000)]
* microblaze/interp.c: Add include microblaze-dis.h.
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.
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.
Joel Brobecker [Tue, 6 Oct 2009 05:14:46 +0000 (05:14 +0000)]
* MAINTAINERS: Add Tristan Gingold as Maintainer of the Darwin port.
Joel Brobecker [Tue, 6 Oct 2009 02:56:04 +0000 (02:56 +0000)]
* MAINTAINERS: Add Jan Kratochvil as Maintainer of the ia64 target.
gdbadmin [Tue, 6 Oct 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 5 Oct 2009 23:00:04 +0000 (23:00 +0000)]
daily update
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@.
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.
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.
gdbadmin [Mon, 5 Oct 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 4 Oct 2009 23:00:04 +0000 (23:00 +0000)]
daily update
Pedro Alves [Sun, 4 Oct 2009 17:39:30 +0000 (17:39 +0000)]
* NEWS: Mention non-stop mode.
Pedro Alves [Sun, 4 Oct 2009 17:37:57 +0000 (17:37 +0000)]
* gdb.texinfo (Remote Protocol): Don't mention vCont;T.
Pedro Alves [Sun, 4 Oct 2009 13:50:06 +0000 (13:50 +0000)]
* gdbinit.in: Set data-directory to @srcdir@.
gdbadmin [Sun, 4 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 3 Oct 2009 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Sat, 3 Oct 2009 17:00:16 +0000 (17:00 +0000)]
Revert the last change.
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.
Alan Modra [Sat, 3 Oct 2009 00:39:53 +0000 (00:39 +0000)]
* arm-dis.c (print_insn): Check symtab_size not *symtab.
gdbadmin [Sat, 3 Oct 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
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.
gdbadmin [Fri, 2 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Thu, 1 Oct 2009 23:12:43 +0000 (23:12 +0000)]
* MAINTAINERS: Move Don Lee to the correct section (Write After
Approval).
Joel Brobecker [Thu, 1 Oct 2009 19:37:31 +0000 (19:37 +0000)]
* configure.ac: Disable -Werror by default.
* configure: Regenerate.
gdbadmin [Thu, 1 Oct 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Wed, 30 Sep 2009 20:50:21 +0000 (20:50 +0000)]
Set version to 6.8.92.
20090930-cvs
gdbadmin [Wed, 30 Sep 2009 20:48:41 +0000 (20:48 +0000)]
GDB 6.8.92 released.
gdbadmin [Wed, 30 Sep 2009 20:20:50 +0000 (20:20 +0000)]
Update GDB version number in README and version.in
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.
gdbadmin [Wed, 30 Sep 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
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.
Tom Tromey [Tue, 29 Sep 2009 15:17:26 +0000 (15:17 +0000)]
* python/py-value.c (valpy_string): NULL-terminate 'keywords'.
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".
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".
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.
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".
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.
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.
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.
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.
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.
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.
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.
Ulrich Weigand [Tue, 29 Sep 2009 00:35:39 +0000 (00:35 +0000)]
* gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
Ulrich Weigand [Tue, 29 Sep 2009 00:34:42 +0000 (00:34 +0000)]
* gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
gdbadmin [Tue, 29 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
gdbadmin [Mon, 28 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sun, 27 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
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.
gdbadmin [Sat, 26 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Fri, 25 Sep 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
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.
gdbadmin [Thu, 24 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
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.
gdbadmin [Wed, 23 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Tue, 22 Sep 2009 23:04:30 +0000 (23:04 +0000)]
* solib.c (solib_bfd_open): Relax a bit the compatibility check.
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.