Age | Commit message (Collapse) | Author | Files | Lines |
|
* solib-darwin.c (darwin_current_sos): Check magic and filetype
|
|
* gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
|
|
TYPE_CALLING_CONVENTION annotation.
|
|
|
|
* Makefile.in (ALL_TARGET_OBS): Add rx-tdep.o.
(ALLDEPFILES): Add rx-tdep.c.
|
|
symfile_flags.
* solib.c (solib_read_symbols): Use inferior's symfile_flags.
* linux-nat.c (linux_child_follow_fork): Set symfile_flags on
inferior.
* infrun.c (handle_vfork_child_exec_or_exit): Set symfile_flags on
inferior.
(follow_exec): Use inferior's symfile_flags.
* inferior.h (struct inferior) <symfile_flags>: New field.
|
|
The current gdbsim_create_inferior func doesn't check the return value
of sim_create_inferior which can be problematic when that func doesn't
return success. So, if it fails, call error() and be done.
Reported-by: Richard Stuckey <richard.stuckey@arc.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
* machoread.c: Initialize nbr_syms to avoid warnings-as-errors failure.
|
|
|
|
* thread.c (struct current_thread_cleanup) <was_removable>: New
field.
(do_restore_current_thread_cleanup): Restore 'removable' field.
(restore_current_thread_cleanup_dtor): Likewise.
(make_cleanup_restore_current_thread): Initialize new field.
testsuite/gdb
* gdb.base/inferior-died.c: New file.
* gdb.base/inferior-died.exp: New file.
|
|
* inferiors.c: Move code to ...
* dll.c: .... here. New.
* server.h: Declare clear_dlls.
* Makefile.in (SFILES): Add dll.c.
(OBS): Add dll.o
(dll.o): New rule.
|
|
|
|
* Makefile.in (ALL_TARGET_OBS): Add rl78-tdep.o.
(ALLDEPFILES): Add rl78-tdep.c.
* NEWS: Mention rl78 as a new target.
|
|
data.
* stack.c (set_last_displayed_sal): Validate that PSPACE is not NULL.
testuite:
* gdb.base/break-inline.exp: New file.
* gdb.base/break-inline.c: New file.
|
|
* infcmd.c (registers_info): Print just the current register's
name.
gdb/testsuite
* gdb.base/pc-fp.exp: Add "info register" tests.
|
|
|
|
* gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
the target doesn't support tracepoints.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/collection.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/passc-dyn.exp: Ditto.
* gdb.trace/report.exp: Ditto.
* gdb.trace/tfind.exp: Ditto.
* gdb.trace/tspeed.exp: Ditto.
* gdb.trace/tsv.exp: Ditto.
* gdb.trace/unavailable.exp: Ditto.
* gdb.trace/while-dyn.exp: Ditto.
|
|
|
|
* gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
gdb_test_multiple, and call unsupported instead of fail, if the
remote side does not support the request.
|
|
* gdb.server/ext-attach.exp: Make sure gdb is disconnected.
* gdb.server/ext-run.exp: Make sure gdb is disconnected.
* gdb.server/file-transfer.exp: Make sure gdb is disconnected.
* gdb.server/server-mon.exp: Make sure gdb is disconnected.
* gdb.server/server-run.exp: Make sure gdb is disconnected.
* lib/gdbserver-support.exp (gdbserver_start_extended): Only
prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
doesn't start with "extended-" already.
|
|
2012-02-15 Pedro Alves <palves@redhat.com>
* remote.c (remote_detach_1, extended_remote_attach_1): Tweak
output to be like native targets'.
(remote_pid_to_str): Special case the null ptid.
gdb/testsuite/
2012-02-15 Pedro Alves <palves@redhat.com>
Support extended-remote. Avoid cascading timeouts.
* gdb.base/attach.exp (do_attach_tests): Add expected output for
the extended-remote target. If attaching with no file fails, load
the file manually.
* gdb.server/ext-attach.exp: Adjust expected attach/detach output.
|
|
|
|
* NEWS: Mention enable count command.
* breakpoint.h (struct breakpoint): New field enable_count.
* breakpoint.c (enable_breakpoint_disp): Add count argument.
(enable_breakpoint): Add arg to call.
(struct disp_data): New struct.
(do_enable_breakpoint_disp): Interp arg as disp_data and unpack.
(do_map_enable_once_breakpoint): Create a struct and pass it.
(do_map_enable_delete_breakpoint): Ditto.
(do_map_enable_count_breakpoint): New function.
(enable_count_command): New function.
(bpstat_stop_status): Decrement enable_count.
(print_one_breakpoint_location): Report enable count.
(_initialize_breakpoint): Add enable count command.
* gdb.texinfo (Disabling Breakpoints): Document enable count.
* gdb.base/ena-dis-br.exp: Add enable count test.
|
|
|
|
the name parameter being passed to find_pc_partial_function().
|
|
* MAINTAINERS: Step down from being ia64 target maintainer.
|
|
|
|
2012-02-13 Pedro Alves <palves@redhat.com>
* gdb.texinfo (MIPS boards): Refer to mips-elf instead of
mips-idt-ecoff.
gdb/testsuite/
2012-02-13 Pedro Alves <palves@redhat.com>
* config/mips-idt.exp: Delete.
* gdb.base/a2-run.exp: Remove mips-idt xfails.
* gdb.base/bitfields.exp: Remove mips-idt restarts.
* gdb.base/break.exp: Remove mips-idt references.
* gdb.base/chng-syms.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/funcargs.exp (funcargs_reload): Delete.
(top level): Don't call it.
* gdb.base/opaque.exp: Remove mips-idt restarts.
* gdb.base/ptype.exp: Remove mips-idt xfails.
* gdb.base/scope.exp: Remove mips-idt restarts.
* gdb.base/sepdebug.exp: Remove mips-idt references.
* gdb.base/watchpoint.exp (maybe_clean_restart)
(maybe_reinitialize): Delete.
(test_disabling_watchpoints, test_disabling_watchpoints)
(test_watchpoint_triggered_in_syscall)
(test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
Don't call them.
|
|
|
|
* ppc-linux-nat.c (fetch_register, store_register): Fix GCC aliasing
compilation warning.
|
|
Fix crash on loaded shlibs without loaded exec_bfd.
* exec.c (exec_files_info): Do not crash on NULL EXEC_BFD.
(set_section_command): Replace exec_bfd by p->bfd.
gdb/testsuite/
* gdb.server/server-exec-info.exp: New file.
|
|
|
|
* server.c: (handle_monitor_command): Add a new parameter
`own_buf'.
(handle_query): Update caller.
|
|
|
|
when we have a C++ qualified name.
|
|
* gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
always non-empty.
(test_attach): Always pass $exec to test_attach_gdb.
|
|
* inferior.c (inferior_pid_to_str): New.
(print_inferior, inferior_command): Use it.
|
|
* configure.ac (HAVE_ELF test): Put the old CFLAGS at the end of
the test CFLAGS.
* configure: Regenerate.
|
|
* linespec.c (decode_line_internal): Fix comment correctness.
|
|
* gdb.texinfo (Symbols In Python): Add missing `@end defvar'.
|
|
|
|
This reproduces on the GDBserver side what GDB does when readlink is
not supported.
gdb/gdbserver/ChangeLog:
* configure.ac: Add readlink to AC_CHECK_FUNCS list.
* configure, config.in: Regenerate.
* hostio.c: Provide an alternate implementation if HAVE_READLINK
is not defined.
|
|
PR gdb/12953
* Makefile.in (HFILES_NO_SRCDIR): Add amd64bsd-nat.h.
* amd64bsd-nat.c: Add support for debug registers (adapted from
i386bsd-nat.c).
[HAVE_PT_GETDBREGS] (amd64bsd_dr_get, amd64bsd_dr_set)
(amd64bsd_dr_set_control, amd64bsd_dr_set_addr)
(amd64bsd_dr_get_addr, amd64bsd_dr_get_status)
(amd64bsd_dr_get_control): New functions.
* amd64bsd-nat.h: New file (adapted from i386bsd-nat.h).
* amd64fbsd-nat.c: Include "amd64bsd-nat.h", "i386-nat.h".
[HAVE_PT_GETDBREGS] (_initialize_amd64fbsd_nat): Add hardware
watchpoints initialization.
* config/i386/fbsd64.mh (NATDEPFILES): Add i386-nat.o.
|
|
* gdb-gdb.py (StructMainTypePrettyPrinter) <struct_field_img>: Print
flds_bnds.fields.
(StructMainTypePrettyPrinter) <bounds_img>: Print flds_bnds.bounds.
|
|
* breakpoint.c (bp_location_compare): Fix comment. Reindent the code.
|
|
|
|
before inferior is started.
|
|
The la_get_symbol_name_match_p language hook was poorly named, as
it suggested that the function should return nonzero if the names
match, whereas it is the exact opposite. This patch therefore
renames the hook and associated typedef, as well some of the code
that uses that hook.
gdb/ChangeLog:
* language.h (symbol_name_cmp_ftype): Renames
symbol_name_match_p_ftype.
(struct language_defn)[la_get_symbol_name_cmp]: Renames
la_get_symbol_name_match_p.
* ada-lang.c (ada_get_symbol_name_cmp): Renames
ada_get_symbol_name_match_p. Update comment.
(ada_language_defn)[la_get_symbol_name_cmp]: Update value.
* linespec.c (struct symbol_matcher_data)[symbol_name_cmp]:
Renames symbol_name_match_p. Update field type.
(iterate_name_matcher, iterate_over_all_matching_symtabs): Adjust.
* c-lang.c, d-lang.c, f-lang.c, jv-lang.c, m2-lang.c, objc-lang.c,
opencl-lang.c, p-lang.c: Replace "la_get_symbol_name_match_p" by
"la_get_symbol_name_cmp" in comments.
* language.c: Likewise.
|
|
%eflags offset.
* i386-sol2-nat.c (amd64_sol2_gregset64_reg_offs)
(amd64_sol2_gregset32_reg_offs): Likewise.
|
|
* solib-darwin.c (darwin_bfd_open): Make sure that the filename
of the returned BFD is allocated by GDB.
|