and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  1. 30 Aug, 2013 3 commits
    • gdbadmin's avatar
      Update GDB version number in version.in · b1ea606e
      gdbadmin authored
      b1ea606e
    • Tom Tromey's avatar
      This fixes PR cli/15603. · 4a3f5e49
      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.
      4a3f5e49
    • gdbadmin's avatar
      *** empty log message *** · 144173e5
      gdbadmin authored
      144173e5
  2. 29 Aug, 2013 3 commits
    • Joel Brobecker's avatar
      src-release: Strip "-cvs" suffix in version number. · 267b9105
      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.
      267b9105
    • Jan Kratochvil's avatar
      PR server/15604 · 4b0f5fbb
      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.
      4b0f5fbb
    • gdbadmin's avatar
      *** empty log message *** · 1bd99fe1
      gdbadmin authored
      1bd99fe1
  3. 28 Aug, 2013 2 commits
    • Jan Kratochvil's avatar
      PR gdb/15415 · 510604ee
      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.
      510604ee
    • gdbadmin's avatar
      *** empty log message *** · a32e6cbd
      gdbadmin authored
      a32e6cbd
  4. 27 Aug, 2013 1 commit
  5. 26 Aug, 2013 1 commit
  6. 25 Aug, 2013 1 commit
  7. 24 Aug, 2013 1 commit
  8. 23 Aug, 2013 1 commit
  9. 22 Aug, 2013 1 commit
  10. 21 Aug, 2013 1 commit
  11. 20 Aug, 2013 1 commit
  12. 19 Aug, 2013 1 commit
  13. 18 Aug, 2013 1 commit
  14. 17 Aug, 2013 1 commit
  15. 16 Aug, 2013 1 commit
  16. 15 Aug, 2013 1 commit
  17. 14 Aug, 2013 2 commits
    • Yao Qi's avatar
      gdb/ · 9a95e75e
      Yao Qi authored
      	PR gdb/15837:
      	* frame.h (read_frame_local): Declare.
      	* mi/mi-cmd-stack.c (list_args_or_locals): Call
      	read_frame_local.
      	* stack.c (read_frame_local): New.
      9a95e75e
    • gdbadmin's avatar
      *** empty log message *** · 9a1b9555
      gdbadmin authored
      9a1b9555
  18. 13 Aug, 2013 1 commit
  19. 12 Aug, 2013 1 commit
  20. 11 Aug, 2013 1 commit
  21. 10 Aug, 2013 1 commit
  22. 09 Aug, 2013 1 commit
  23. 08 Aug, 2013 1 commit
  24. 07 Aug, 2013 1 commit
  25. 06 Aug, 2013 1 commit
  26. 05 Aug, 2013 1 commit
  27. 04 Aug, 2013 1 commit
  28. 03 Aug, 2013 1 commit
  29. 02 Aug, 2013 1 commit
  30. 01 Aug, 2013 1 commit
  31. 31 Jul, 2013 1 commit
  32. 30 Jul, 2013 1 commit
  33. 29 Jul, 2013 1 commit
  34. 28 Jul, 2013 1 commit