- 30 Aug, 2013 3 commits
-
-
gdbadmin authored
-
Tom Tromey authored
The bug here is that when a software watchpoint is being used, gdb will stop responding to C-c. This is a regression caused by the "catch signal" patch. The problem is that software watchpoints always end up on the bpstat list. However, this makes bpstat_explains_signal return BPSTAT_SIGNAL_HIDE, causing infrun to think that the signal is not a "random signal". The fix is to change bpstat_explains_signal to handle this better. I chose to do it in a "clean API" way, by passing the signal value to bpstat_explains_signal and then adding an explains_signal method for watchpoints, which handles the specifics. Built and regtested on x86-64 Fedora 18. New test case included. * break-catch-sig.c (signal_catchpoint_explains_signal): Add 'sig' argument. * breakpoint.c (bpstat_explains_signal): Add 'sig' argument. Special case signals other than GDB_SIGNAL_TRAP. (explains_signal_watchpoint): New function. (base_breakpoint_explains_signal): Add 'sig' argument. (initialize_breakpoint_ops): Set 'explains_signal' method for watchpoints. * breakpoint.h (struct breakpoint_ops) <explains_signal>: Add signal argument. (bpstat_explains_signal): Likewise. * infrun.c (handle_syscall_event, handle_inferior_event): Update. * gdb.base/random-signal.c: New file. * gdb.base/random-signal.exp: New file.
-
gdbadmin authored
-
- 29 Aug, 2013 3 commits
-
-
Joel Brobecker authored
For some reason not understood, src-release produces tarballs where the version number in the tarball name includes the "-cvs" suffix. Looking at the snapshots produced in the past for CVS snashots, the "-cvs" suffix was NOT included. This new -cvs suffix is therefore now causing a mismatch between what the scripts expect and what this makefile produces. This patch fixes the issue by stripping the "-cvs" suffix, if present, from the version number. ChangeLog: * src-release (VER): Strip any "-cvs" suffix from the version number, if extracted from $(TOOL)/version.in. -
Jan Kratochvil authored
gdb/gdbserver/ 2013-08-29 Jan Kratochvil <jan.kratochvil@redhat.com> PR server/15604 * linux-low.c (linux_create_inferior) <pid == 0 && !remote_connection_is_stdio ()>: Close LISTEN_DESC and optionally REMOTE_DESC. (lynx_create_inferior) <pid == 0 && !remote_connection_is_stdio ()>: Close LISTEN_DESC and optionally REMOTE_DESC. * remote-utils.c (remote_desc, listen_desc): Remove static qualifier. * server.h (remote_desc, listen_desc): New declaration. * spu-low.c (spu_create_inferior) <pid == 0 && !remote_connection_is_stdio ()>: Close LISTEN_DESC and optionally REMOTE_DESC.
-
gdbadmin authored
-
- 28 Aug, 2013 2 commits
-
-
Jan Kratochvil authored
gdb/ 2013-08-27 Jan Kratochvil <jan.kratochvil@redhat.com> PR gdb/15415 * corefile.c (get_exec_file): Use exec_filename. * defs.h (OPF_DISABLE_REALPATH): New definition. Add new comment. * exec.c (exec_close): Free EXEC_FILENAME. (exec_file_attach): New variable canonical_pathname. Use OPF_DISABLE_REALPATH. Call gdb_realpath explicitly. Set EXEC_FILENAME. * exec.h (exec_filename): New. * inferior.c (print_inferior, inferior_command): Use PSPACE_EXEC_FILENAME. * mi/mi-main.c (print_one_inferior): Likewise. * progspace.c (clone_program_space, print_program_space): Likewise. * progspace.h (struct program_space): New field pspace_exec_filename. * source.c (openp): Describe OPF_DISABLE_REALPATH. New variable realpath_fptr, initialize it from OPF_DISABLE_REALPATH, use it. gdb/testsuite/ 2013-08-27 Jan Kratochvil <jan.kratochvil@redhat.com> PR gdb/15415 * gdb.base/argv0-symlink.c: New file. * gdb.base/argv0-symlink.exp: New file.
-
gdbadmin authored
-
- 27 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 26 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 25 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 24 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 23 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 22 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 21 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 20 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 19 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 18 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 17 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 16 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 15 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 14 Aug, 2013 2 commits
- 13 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 12 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 11 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 10 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 09 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 08 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 07 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 06 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 05 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 04 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 03 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 02 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 01 Aug, 2013 1 commit
-
-
gdbadmin authored
-
- 31 Jul, 2013 1 commit
-
-
gdbadmin authored
-
- 30 Jul, 2013 1 commit
-
-
gdbadmin authored
-
- 29 Jul, 2013 1 commit
-
-
gdbadmin authored
-
- 28 Jul, 2013 1 commit
-
-
gdbadmin authored
-