public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] jankratochvil/dwp: reverse-20080717-branchpoint-15831-g0cb1418
@ 2013-09-24 14:04 jkratoch
0 siblings, 0 replies; 2+ messages in thread
From: jkratoch @ 2013-09-24 14:04 UTC (permalink / raw)
To: archer-commits
The branch, jankratochvil/dwp has been deleted
was 0cb1418ab8132ac48b36d067af197cf1f6dba93f
-----------------------------------------------------------------------
0cb1418ab8132ac48b36d067af197cf1f6dba93f .
-----------------------------------------------------------------------
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [SCM] jankratochvil/dwp: reverse-20080717-branchpoint-15831-g0cb1418
@ 2013-09-19 13:37 jkratoch
0 siblings, 0 replies; 2+ messages in thread
From: jkratoch @ 2013-09-19 13:37 UTC (permalink / raw)
To: archer-commits
The branch, jankratochvil/dwp has been created
at 0cb1418ab8132ac48b36d067af197cf1f6dba93f (commit)
- Log -----------------------------------------------------------------
commit 0cb1418ab8132ac48b36d067af197cf1f6dba93f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 15:37:13 2013 +0200
.
commit fdc22bc596079a791eb9864f6a9009239d3d4060
Merge: 198e461 9f2cc8b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 15:25:37 2013 +0200
Merge branch 'extraobjnameconst-rename-func-rtobj-extraname' into extraobjnameconst-rename-func-rtobj-extraname-dwp
commit 9f2cc8b06100e560cf26f21fcb84b9b8d9e68c05
Merge: 13b5678 1836290
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 15:25:36 2013 +0200
Merge branch 'extraobjnameconst-rename-func-rtobj' into extraobjnameconst-rename-func-rtobj-extraname
commit 18362902aebf19ae0d225599df0f9104cf8b0720
Merge: aea5d4a 73edcb2
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 15:25:36 2013 +0200
Merge branch 'extraobjnameconst-rename-func' into extraobjnameconst-rename-func-rtobj
commit 73edcb2a85405b1e96e49620100eb6f2e4b7145b
Merge: 4bbb5a9 544d7f1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 15:25:36 2013 +0200
Merge branch 'extraobjnameconst-rename' into extraobjnameconst-rename-func
commit 544d7f11f6f9192fd34c99840f0506879b1140e9
Merge: fc6bd84 ec832ba
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 15:25:36 2013 +0200
Merge branch 'extraobjnameconst' into extraobjnameconst-rename
commit ec832ba57aa9e8e65149678a109738a4da0c3105
Merge: 950c5bc bf70f69
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 15:25:36 2013 +0200
Merge remote-tracking branch 'gdb/master' into extraobjnameconst
commit 198e4611a7103fc4eda2ef60975bd7ce96e6c875
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 15:24:44 2013 +0200
.
commit b07d7be0066daa24627771bf19f4d45b0c035470
Merge: 3656bf5 13b5678
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 15:07:35 2013 +0200
Merge branch 'extraobjnameconst-rename-func-rtobj-extraname' into extraobjnameconst-rename-func-rtobj-extraname-dwp
commit 13b56784bf3973f64a94af02f6faed4f6aebef31
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 15:07:31 2013 +0200
.
commit 3656bf598370d3627ad8e9fe22941ba5a6a457c7
Merge: cb1413b 9920128
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 14:48:00 2013 +0200
Merge branch 'extraobjnameconst-rename-func-rtobj-extraname' into extraobjnameconst-rename-func-rtobj-extraname-dwp
commit 9920128ec10920a96671b56b3f70b52f06b6db99
Merge: 00d7d2e aea5d4a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 14:48:00 2013 +0200
Merge branch 'extraobjnameconst-rename-func-rtobj' into extraobjnameconst-rename-func-rtobj-extraname
commit aea5d4a51a4f2c31b305b10aa7dabc8678548732
Merge: 5ebb0a1 4bbb5a9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 14:47:59 2013 +0200
Merge branch 'extraobjnameconst-rename-func' into extraobjnameconst-rename-func-rtobj
commit 4bbb5a9777981cae974e216d89e93fe178ab906e
Merge: 7c760e4 fc6bd84
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 14:47:59 2013 +0200
Merge branch 'extraobjnameconst-rename' into extraobjnameconst-rename-func
commit fc6bd8408aeefeabf90e0d762c0ee4c0635a16a9
Merge: ec12c71 950c5bc
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 14:47:58 2013 +0200
Merge branch 'extraobjnameconst' into extraobjnameconst-rename
commit 950c5bce35fc8518ad4e43024bec22177879a9d8
Merge: 20e0fa1 f8c5cdb
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 14:47:58 2013 +0200
Merge remote-tracking branch 'gdb/master' into extraobjnameconst
commit bf70f69596aebfe8c461c3b95e4e38adbf834860
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Thu Sep 19 12:44:45 2013 +0000
Mostly code cleanup: Constification.
gdb/
2013-09-19 Jan Kratochvil <jan.kratochvil@redhat.com>
Constification.
* main.c (captured_main): Replace catch_command_errors by
catch_command_errors_const. Twice.
* symfile.c (symbol_file_add_main_1): Make args parameter const.
(symbol_file_add): Make name parameter const.
(symbol_file_add_main, symbol_file_add_main_1): Make args parameter const.
(symfile_bfd_open): Make name parameter const, rename it to cname. Add
variable name. Change their usage accordingly.
* symfile.h (symbol_file_add, symfile_bfd_open): Make first parameter
const.
(symbol_file_add_main): Make args parameter const.
commit f8c5cdb04084c92be52cfcb47522d6f1185d764d
Author: Alan Modra <amodra@bigpond.net.au>
Date: Thu Sep 19 00:00:03 2013 +0000
daily update
commit 48e334288d81af446fc35e4afedfb124785d2ed0
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date: Wed Sep 18 17:47:56 2013 +0000
2013-09-18 Raunaq Bathija <raunaq12@in.ibm.com>
Ulrich Weigand <uweigand@de.ibm.com>
* xcoffread.c (struct coff_symbol): Use CORE_ADDR as type
of c_value member.
(read_xcoff_symtab): Use CORE_ADDR as type of fcn_start_addr.
commit cb1413bb4e9c1486581d531fd2789bc696d31c83
Merge: 3edc903 00d7d2e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 17:02:09 2013 +0200
Merge branch 'extraobjnameconst-rename-func-rtobj-extraname' into extraobjnameconst-rename-func-rtobj-extraname-dwp
commit 00d7d2ed090dd8dd344eb69c4da1b47f65c883e7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 17:00:09 2013 +0200
.
commit 3edc903aa9d70157bceaeba8076574c928983ffc
Merge: 230f0c3 7b54024
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 16:59:17 2013 +0200
Merge branch 'extraobjnameconst-rename-func-rtobj-extraname' into extraobjnameconst-rename-func-rtobj-extraname-dwp
commit 7b540243da68a359fa9dc91a9685ac09fa35109d
Merge: ab9f359 5ebb0a1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 16:59:17 2013 +0200
Merge branch 'extraobjnameconst-rename-func-rtobj' into extraobjnameconst-rename-func-rtobj-extraname
commit 5ebb0a1c1500bdd813b6aa7af4789f8e18db1c8b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 16:58:56 2013 +0200
.
commit 8c9977824d22984b520fca38a290559b815ded18
Author: Pedro Alves <palves@redhat.com>
Date: Wed Sep 18 14:49:43 2013 +0000
Also mention Yue Lu in previous commit's entry.
2013-09-18 Pedro Alves <palves@redhat.com>
Yue Lu <hacklu.newborn@gmail.com>
* gnu-nat.c (inf_validate_procs, gnu_wait, gnu_resume)
(gnu_create_inferior)
(gnu_attach, gnu_thread_alive, gnu_pid_to_str, cur_thread)
(set_sig_thread_cmd): Use the lwpid field of ptids to
store/extract thread ids instead of the tid field.
* i386gnu-nat.c (gnu_fetch_registers): Adjust.
commit 7fa67a4500f6fc516978f54af61cead51f071e2a
Author: Pedro Alves <palves@redhat.com>
Date: Wed Sep 18 14:47:50 2013 +0000
Subject: [PATCH] [Hurd/gnu-nat.c] Use ptid_t.lwpid to store thread ids
instead of ptid_t.tid.
In preparation for reusing gnu-nat.c in gdbserver, switch to storing
thread ids in the lwpid field of ptid_t rather than in the tid
field. The Hurd's thread model is 1:1, so it doesn't feel wrong
anyway.
gdb/
2013-09-18 Pedro Alves <palves@redhat.com>
* gnu-nat.c (inf_validate_procs, gnu_wait, gnu_resume)
(gnu_create_inferior)
(gnu_attach, gnu_thread_alive, gnu_pid_to_str, cur_thread)
(set_sig_thread_cmd): Use the lwpid field of ptids to
store/extract thread ids instead of the tid field.
* i386gnu-nat.c (gnu_fetch_registers): Adjust.
commit ab9f3595038893b96dd5a6843fbf57fc1b0efb1c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 16:47:37 2013 +0200
.
commit 7c760e4919aed09353fdb89d2210dd50f0d68a8e
Merge: e53dcf9 ec12c71
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 16:03:18 2013 +0200
Merge branch 'extraobjnameconst-rename' into extraobjnameconst-rename-func
commit 230f0c373c80eb856ab0fff2709d6a1603dc2a2f
Merge: 6fd2c72 3ea2a5e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 16:03:18 2013 +0200
Merge branch 'extraobjnameconst-rename-func-extraname' into extraobjnameconst-rename-func-extraname-dwp
commit 3ea2a5edadbaf83f010b2d94caeef320da9a5873
Merge: 8aea803 7c760e4
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 16:03:18 2013 +0200
Merge branch 'extraobjnameconst-rename-func' into extraobjnameconst-rename-func-extraname
commit ec12c716c1b2df14bbe1fc1d3b6a75c362655e35
Merge: e343386 20e0fa1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 16:03:17 2013 +0200
Merge branch 'extraobjnameconst' into extraobjnameconst-rename
commit d19fd090b7ec0a60846c52cad9fc0c24c3729565
Author: aburgess <aburgess>
Date: Wed Sep 18 14:02:31 2013 +0000
Consistent display of "<optimized out>" for register values.
https://sourceware.org/ml/gdb-patches/2013-08/msg00170.html
gdb/ChangeLog
* infcmd.c (default_print_one_register_info): Add detection of
optimized out values.
(default_print_registers_info): Switch to using
get_frame_register_value.
gdb/testsuite/ChangeLog
* gdb.dwarf2/dw2-reg-undefined.exp: Change pattern for info
register to "<optimized out>", and also print the registers.
commit 20e0fa10f2401dc31f9e4d04e09ee2fb4ebfef03
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 15:59:53 2013 +0200
.
commit 6fd2c721c6cc1111ec269a9cc34e4acddb8091fc
Merge: 915ee8a 8aea803
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 15:55:28 2013 +0200
Merge branch 'extraobjnameconst-rename-func-extraname' into extraobjnameconst-rename-func-extraname-dwp
commit 8aea803df3fe10bc0732f229a26c6157d7ea5da9
Merge: ee1224a e53dcf9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 15:55:27 2013 +0200
Merge branch 'extraobjnameconst-rename-func' into extraobjnameconst-rename-func-extraname
commit e53dcf9fe3233d97f2efe3cc9a6c986f188af169
Merge: 4ea5423 e343386
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 15:55:26 2013 +0200
Merge branch 'extraobjnameconst-rename' into extraobjnameconst-rename-func
commit e343386a8b2427da0dd9db99fb54c730e0024807
Merge: 224386e 8a2756f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 15:55:25 2013 +0200
Merge branch 'extraobjnameconst' into extraobjnameconst-rename
commit 8a2756fb7aeb332b9ecc87362b59427b8d0890a1
Merge: a54a96a 39678f9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 18 15:55:25 2013 +0200
Merge remote-tracking branch 'gdb/master' into extraobjnameconst
commit 39678f9ca92a54f66f9d0efdd2e81c3a95f7888b
Author: Pedro Alves <palves@redhat.com>
Date: Wed Sep 18 13:21:41 2013 +0000
gdbserver --wrapper also doesn't work on Cygwin.
Skip the test on Cygwin too.
2013-09-18 Pedro Alves <palves@redhat.com>
PR server/15967
* gdb.server/wrapper.exp: Also return unsupported for Cygwin, and
change text.
commit 46ba1bad0e9a308b12ebf1b1f31c9839df3cd33f
Author: mmetzger <mmetzger>
Date: Wed Sep 18 13:02:42 2013 +0000
When reverse-stepping, only insert a resume breakpoint at ecs->stop_func_start
if the function start is known. Otherwise, keep single-stepping.
commit 61a0fb214b24b426cdd76a876498c31785d957aa
Author: Pedro Alves <palves@redhat.com>
Date: Wed Sep 18 12:00:06 2013 +0000
[Hurd/gnu-nat] Fix old "signal-thread" command regression.
By inspection, I noticed that when I made the gnu-nat use
ptid(pid,0,tid) to represent a thread, instead of using ptid(tid,0,0),
in <https://sourceware.org/ml/gdb-patches/2008-08/msg00175.html>, I
introduced a bug.
The change was:
else
{
- int tid = PIDGET (thread_id_to_pid (atoi (args)));
+ int tid = ptid_get_tid (thread_id_to_pid (atoi (args)));
if (tid < 0)
error (_("Thread ID %s not known. Use the \"info threads\" command to\n"
"see the IDs of currently known threads."), args);
and thread_id_to_pid does:
ptid_t
thread_id_to_pid (int num)
{
struct thread_info *thread = find_thread_id (num);
if (thread)
return thread->ptid;
else
return pid_to_ptid (-1);
}
(pid_to_ptid (-1) is the same as minus_one_ptid.)
So before, we were really looking at the pid, where thread_id_to_pid
stores the -1.
The right fix is to compare the whole ptid to minus_one_ptid, of
course.
Completely untested, but I think it's obvious enough, so I went ahead
and put it in.
gdb/
2013-09-18 Pedro Alves <palves@redhat.com>
* gnu-nat.c (set_sig_thread_cmd): Compare the thread's ptid to
minus_one_ptid instead of looking at the ptid's tid field and
comparing that to -1.
commit 660eafd30caab3145f06170ac2bb8a4d93a9cb55
Author: aburgess <aburgess>
Date: Wed Sep 18 11:45:20 2013 +0000
Fix whitespace error in previous commit.
https://sourceware.org/ml/gdb-cvs/2013-09/msg00108.html
https://sourceware.org/ml/gdb-patches/2013-09/msg00225.html
gdb/ChangeLog
* main.h (get_gdb_program_name): Remove extra whitespace.
commit 189e4ff0f9ca44e68ac2cebf15a674ce88955920
Author: aburgess <aburgess>
Date: Wed Sep 18 11:41:38 2013 +0000
Add new function to access gdb_program_name.
https://sourceware.org/ml/gdb-patches/2013-09/msg00225.html
gdb/ChangeLog
* main.h (get_gdb_program_name): Add declaration.
* main.c (get_gdb_program_name): Add definition.
commit 3821a0aa66a5c5513cf30ca594707c46cd68a421
Author: Tristan Gingold <gingold@adacore.com>
Date: Wed Sep 18 11:02:05 2013 +0000
bfd/
2013-09-18 Tristan Gingold <gingold@adacore.com>
* configure.in: Bump version to 2.24.51
* configure: Regenerate.
commit 4e979f7f93cc0045c679e2a5d61f5e8561b5f26e
Author: qiyao <qiyao>
Date: Wed Sep 18 01:59:59 2013 +0000
gdb/gdbserver/
2013-09-18 Yao Qi <yao@codesourcery.com>
PR server/15959
* server.c (start_inferior): Clear 'resume_info'.
gdb/testsuite/
2013-09-18 Yao Qi <yao@codesourcery.com>
* gdb.server/wrapper.c: New.
* gdb.server/wrapper.exp: New.
commit 35894d5f46cf6f976467799dadebd527da034f4f
Author: qiyao <qiyao>
Date: Wed Sep 18 01:55:53 2013 +0000
gdb/gdbserver/
Fix ChangeLog format issue.
commit 036018a1e57e401f59b80bf8443b4c71f2949b5c
Author: Alan Modra <amodra@bigpond.net.au>
Date: Wed Sep 18 00:00:05 2013 +0000
daily update
commit 6170b34fdf4543241e1833a0a8563f6c19aaf94e
Author: Doug Evans <dje@google.com>
Date: Tue Sep 17 22:12:55 2013 +0000
* dwarf2read.c: Move definitions of complaint functions to after
forward declarations of local functions.
commit 42b683959cbd8bd6891b745873d9617619966e2c
Author: Steve Ellcey <sje@cup.hp.com>
Date: Tue Sep 17 21:07:13 2013 +0000
2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>
* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Handle
EF_MIPS_FP64.
commit 0ba63364adb329d28c3009e28b719b100f7c7aa0
Author: Steve Ellcey <sje@cup.hp.com>
Date: Tue Sep 17 21:05:49 2013 +0000
2013-09-17 Doug Gilmore <Doug.Gilmore@imgtec.com>
* mips.h (EF_MIPS_FP64): New e_flags bit.
commit b097f3547e11a4937dc9d25d56254c76d954e7e4
Author: Pedro Alves <palves@redhat.com>
Date: Tue Sep 17 19:32:46 2013 +0000
PR gdb/11568 - delete thread-specific breakpoints on thread exit
PR gdb/11568 is about thread-specific breakpoints being left behind
when the corresponding thread exits.
Currently:
(gdb) b start thread 2
Breakpoint 3 at 0x400614: file thread-specific-bp.c, line 23.
(gdb) b end
Breakpoint 4 at 0x40061f: file thread-specific-bp.c, line 29.
(gdb) c
Continuing.
[Thread 0x7ffff7fcb700 (LWP 14925) exited]
[Switching to Thread 0x7ffff7fcc740 (LWP 14921)]
Breakpoint 4, end () at thread-specific-bp.c:29
29 }
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7ffff7fcc740 (LWP 14921) "thread-specific" end () at thread-specific-bp.c:29
(gdb) info breakpoints
Num Type Disp Enb Address What
2 breakpoint keep y 0x0000000000400614 in start at thread-specific-bp.c:23
breakpoint already hit 1 time
3 breakpoint keep y 0x0000000000400614 in start at thread-specific-bp.c:23 thread 2
stop only in thread 2
4 breakpoint keep y 0x000000000040061f in end at thread-specific-bp.c:29
breakpoint already hit 1 time
Note that the thread-specific breakpoint 3 stayed around, even though
thread 2 is gone.
There's no way that breakpoint can trigger again (*), so the PR argues
that the breakpoint should just be removed, like local watchpoints.
I'm ambivalent on this -- it could be reasonable to disable the
breakpoint (kind of like breakpoint in shared library code when the
DSO is unloaded), so the user could still use it as visual template
for creating other breakpoints (copy/paste command lists, etc.), or we
could have a way to change to which thread a breakpoint applies. But,
several people pushed this direction, and I don't plan on arguing...
(*) - actually, there is ... thread numbers are reset on "run", so
the user could do "break foo thread 2", "run", and expect the
breakpoint to hit again on the second thread. But given gdb's thread
numbering can't really be stable, that'd only work sufficiently well
for thread 1, so we'd better call it unsupported.
So with the patch, whenever a thread is deleted from GDB's list, GDB
goes through the thread-specific breakpoints and deletes corresponding
breakpoints. Since this is user-visible, GDB prints out:
Thread-specific breakpoint 3 deleted - thread 2 is gone.
And of course, we end up with:
(gdb) info breakpoints
Num Type Disp Enb Address What
2 breakpoint keep y 0x0000000000400614 in start at thread-specific-bp.c:23
breakpoint already hit 1 time
4 breakpoint keep y 0x000000000040061f in end at thread-specific-bp.c:29
breakpoint already hit 1 time
2013-09-17 Muhammad Waqas <mwaqas@codesourcery.com>
Pedro Alves <palves@redhat.com>
PR gdb/11568
* breakpoint.c (remove_threaded_breakpoints): New function.
(_initialize_breakpoint): Attach remove_threaded_breakpoints
as thread_exit observer.
2013-09-17 Muhammad Waqas <mwaqas@codesourccery.com>
Jan Kratochvil <jan.kartochvil@redhat.com>
Pedro Alves <palves@redhat.com>
PR gdb/11568
* gdb.thread/thread-specific-bp.c: New file.
* gdb.thread/thread-specific-bp.exp: New file.
commit ba63250261f323a471bd2bfbcf246741f86cdd0a
Author: sergiodj <sergiodj>
Date: Tue Sep 17 19:24:50 2013 +0000
This commit fixes a regression introduced by the new $_isvoid convenience
function. It adds a check for $_isvoid during the test of "show convenience"
output.
gdb/testsuite/
2013-09-17 Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.base/defaults.exp (<show_conv_list>): Add check for $_isvoid
convenience function.
commit 6cf8ed1e3d02e706f390f6b767a85fa2cf7ea2ee
Author: Pedro Alves <palves@redhat.com>
Date: Tue Sep 17 18:26:38 2013 +0000
PR gdb/15911: "info threads" changes the default source and line (for "break", "list")
"info threads" changes the default source for "break" and "list", to
whatever the location of the first/bottom thread in the thread list
is...
(gdb) b start
(gdb) c
...
(gdb) list
*lists "start"*
(gdb) b 23
Breakpoint 3 at 0x400614: file test.c, line 23.
(gdb) info threads
Id Target Id Frame
* 2 Thread 0x7ffff7fcb700 (LWP 1760) "test" start (arg=0x0) at test.c:23
1 Thread 0x7ffff7fcc740 (LWP 1748) "test" 0x000000323dc08e60 in pthread_join (threadid=140737353922304, thread_return=0x0) at pthread_join.c:93
(gdb) b 23
Breakpoint 4 at 0x323dc08d90: file pthread_join.c, line 23.
^^^^^^^^^^^^^^^
(gdb) list
93 lll_wait_tid (pd->tid);
94
95
96 /* Restore cancellation mode. */
97 CANCEL_RESET (oldtype);
98
99 /* Remove the handler. */
100 pthread_cleanup_pop (0);
101
102
The issue is that print_stack_frame always sets the current sal to the
frame's sal. print_frame_info (which print_stack_frame calls to do
most of the work) also sets the last displayed sal, but only if
print_what isn't LOCATION. Now the call in question, from within
thread.c:print_thread_info, does pass in LOCATION as print_what, but
print_stack_frame doesn't have the same check print_frame_info has.
We could consider adding it, but setting these globals depending on
print_what isn't very clean, IMO. What we have is two logically
distinct operations mixed in the same function(s):
#1 - print frame, in the format specified by {print_what,
print_level and print_args}.
#2 - We're displaying a frame to the user, and I want the default
sal to point here, because the program stopped here, or the user
did some context-changing command (up, down, etc.).
So I added a new parameter to print_stack_frame & friends for point
#2, and went through all calls in the tree adjusting as necessary.
Tested on x86_64 Fedora 17.
gdb/
2013-09-17 Pedro Alves <palves@redhat.com>
PR gdb/15911
* ada-tasks.c (task_command_1): Adjust call to print_stack_frame.
* bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd):
* corelow.c (core_open):
* frame.h (print_stack_frame, print_frame_info): New
'set_current_sal' parameter.
* infcmd.c (finish_command, kill_command): Adjust call to
print_stack_frame.
* inferior.c (inferior_command): Likewise.
* infrun.c (normal_stop): Likewise.
* linux-fork.c (linux_fork_context): Likewise.
* record-full.c (record_full_goto_entry, record_full_restore):
Likewise.
* remote-mips.c (common_open): Likewise.
* stack.c (print_stack_frame): New 'set_current_sal' parameter.
Use it.
(print_frame_info): New 'set_current_sal' parameter. Set the last
displayed sal depending on the new paremeter instead of looking at
print_what.
(backtrace_command_1, select_and_print_frame, frame_command)
(current_frame_command, up_command, down_command): Adjust call to
print_stack_frame.
* thread.c (print_thread_info, restore_selected_frame)
(do_captured_thread_select): Adjust call to print_stack_frame.
* tracepoint.c (tfind_1): Likewise.
* mi/mi-cmd-stack.c (mi_cmd_stack_list_frames)
(mi_cmd_stack_info_frame): Likewise.
* mi/mi-interp.c (mi_on_normal_stop): Likewise.
* mi/mi-main.c (mi_cmd_exec_return, mi_cmd_trace_find): Likewise.
gdb/testsuite/
* gdb.threads/info-threads-cur-sal-2.c: New file.
* gdb.threads/info-threads-cur-sal.c: New file.
* gdb.threads/info-threads-cur-sal.exp: New file.
commit 7e2e81f64cb143c5fe9643d7be3bf5d7b506b682
Author: Luis Machado <luisgpm@br.ibm.com>
Date: Tue Sep 17 15:06:01 2013 +0000
Fix ChangeLog entry missing a ':' char.
commit 2f3637450a6afb6b3fa17de5d53f97c67a6d49ae
Author: jiwang <jiwang>
Date: Tue Sep 17 14:00:30 2013 +0000
gdbserver/ChangeLog
* linux-tile-low.c (tile_regsets): Modify the size field to 64-bit
for each register.
commit 218356d44a88b2c0e30fc998ed1f7218331b2a05
Author: jiwang <jiwang>
Date: Tue Sep 17 13:56:53 2013 +0000
2013-09-16 Jiong Wang <jiwang@tilera.com>
gdbserver/ChangeLog
* configure.srv <tilegx*-*-linux*>: Remove linux-osdata.o from and add
linux-tile-low.o to srv_tgtobj.
commit 915ee8ae9f7681395bce314de85256efb6e7ac49
Merge: 823d0ea ee1224a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Tue Sep 17 08:50:23 2013 +0200
Merge branch 'extraobjnameconst-rename-func-extraname' into extraobjnameconst-rename-func-extraname-dwp
commit ee1224abc7179c19f1847a52f08873639d2212f9
Merge: c9f7b24 4ea5423
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Tue Sep 17 08:50:23 2013 +0200
Merge branch 'extraobjnameconst-rename-func' into extraobjnameconst-rename-func-extraname
commit 4ea5423c274d61e029ac633a038371e83c616b1a
Merge: c23cf4b 224386e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Tue Sep 17 08:50:22 2013 +0200
Merge branch 'extraobjnameconst-rename' into extraobjnameconst-rename-func
commit 224386e53ce85a3edfa28307b0d9bf4a0e92e422
Merge: 5cb5687 a54a96a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Tue Sep 17 08:50:21 2013 +0200
Merge branch 'extraobjnameconst' into extraobjnameconst-rename
commit a54a96a9c02b37d81d22cb5f0f73965a4a94dab3
Merge: 2445e02 0d4ce57
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Tue Sep 17 08:50:20 2013 +0200
Merge remote-tracking branch 'gdb/master' into extraobjnameconst
commit 823d0ea824a8f64f93f56410d6ef925416bf1610
Merge: da303e7 c9f7b24
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 21:14:56 2013 +0200
Merge branch 'extraobjnameconst-rename-func-extraname' into extraobjnameconst-rename-func-extraname-dwp
commit c9f7b246d4c80760c22e09d9c61e12ea13b5eeec
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 21:14:54 2013 +0200
.
commit da303e7175313dbf506d5036e0bc1e4cba34ed19
Merge: 41ea701 8961e7e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 21:09:26 2013 +0200
Merge branch 'extraobjnameconst-rename-extraname-func-dwp' into extraobjnameconst-rename-func-extraname-dwp
commit 41ea70150afb2a74b2fddbaa97e2b880aa723082
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 21:05:08 2013 +0200
.
commit 860b81bbe3f84ea869f3f126f200e0d1962f7b05
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 21:00:21 2013 +0200
.
commit b5dc63b8b069d4ef5050d8f0680a47b0f7c679b7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 20:46:27 2013 +0200
.
commit 5f0bc68db8c36cda6fc784cceaabe32870141717
Merge: 5cf46a6 246283f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 20:39:03 2013 +0200
Merge branch 'extraobjnameconst-rename-extraname-func' into extraobjnameconst-rename-func-extraname
commit 5cf46a6e8f79f20c1b4a2f372bb3a1b0d7c09028
Merge: c23cf4b cfe9845
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 20:38:57 2013 +0200
.
commit c23cf4bb1d9bc5eca78169ae0f9fb6caa783a58e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 20:29:52 2013 +0200
.
commit 8961e7e51d9f70b839fbb61633cc0cb280f94d5b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 20:15:50 2013 +0200
.
commit 08251121793377c45be2a9ea1c9c55c702d0fb5c
Merge: e4d25b4 246283f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 20:15:34 2013 +0200
Merge branch 'extraobjnameconst-rename-extraname-func' into extraobjnameconst-rename-extraname-func-dwp
commit 246283ffc20cf041d8e581a22cf2d73bb481d198
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 20:15:27 2013 +0200
.
commit e4d25b461b3d98c521e2f3eaba6958f42a26bee8
Merge: 27d929f a0588e8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 19:54:49 2013 +0200
Merge branch 'extraobjnameconst-rename-extraname-func' into extraobjnameconst-rename-extraname-func-dwp
commit a0588e8bc40eff72fc5c70a0c0496631c3aa88cd
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 19:54:45 2013 +0200
.
commit 27d929f8bbaf5c9ca2e0d7b247c089d73165f988
Merge: 5e1f988 369d90c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 19:52:34 2013 +0200
Merge branch 'extraobjnameconst-rename-extraname-func' into extraobjnameconst-rename-extraname-func-dwp
commit 369d90cb3d0947b2d1026340e90bac34c7ac10bc
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 19:52:25 2013 +0200
.
commit 5e1f9881113c8ee1a9212ffd1ce3c5bab7f4a0f9
Merge: be5929d ba79f60
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 19:20:57 2013 +0200
Merge branch 'extraobjnameconst-rename-extraname-func' into extraobjnameconst-rename-extraname-func-dwp
commit ba79f605465d3cdefc0507651ddceda9db4021a5
Merge: 0c34e4b cfe9845
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 19:20:57 2013 +0200
Merge branch 'extraobjnameconst-rename-extraname' into extraobjnameconst-rename-extraname-func
commit cfe98453b18b5e1f0540ee3616d8c7733a87a873
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 19:20:48 2013 +0200
.
commit be5929d1bba5b82a29e70dcb950fca0af264a4b6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 16:41:51 2013 +0200
.
commit 24480d8a3ed36ecd892157a3d89acaf1c2943f0d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 16:21:04 2013 +0200
.
commit fe55ae623926aebbaba8cc7abc2a455a791388d9
Merge: a32abc8 0c34e4b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 16:20:47 2013 +0200
Merge branch 'extraobjnameconst-rename-extraname-func' into extraobjnameconst-rename-extraname-func-dwp
commit 0c34e4bb1a1eedef5733160a099395291be87503
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 16:20:40 2013 +0200
.
commit a32abc86fb5ce6e38f9433b6411680b2a108d2e0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 16:15:28 2013 +0200
.
commit 0a11e7059c574919228eb02d999f9be1aa475327
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 16:14:40 2013 +0200
.
commit 977a75061a709b5c133f54331653e20d18d3e289
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 16:12:56 2013 +0200
.
commit d79daf10025e8d12133132dd011ad4965a16a662
Merge: 39f6b20 9a8b0a7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 16:09:18 2013 +0200
Merge branch 'extraobjnameconst-rename-extraname' into extraobjnameconst-rename-extraname-func
Conflicts:
gdb/objfiles.c
commit 9a8b0a76b6f8c8839f2e8429bb5a9d291a6c5136
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 16:08:22 2013 +0200
.
commit 39f6b200cfe81857f17b0f0802a391a44d3bfcc4
Merge: c6bcead 5683256
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 14:03:13 2013 +0200
Merge branch 'extraobjnameconst-rename-extraname' into extraobjnameconst-rename-extraname-func
commit 5cb5687bf91cedd76cf489673ba3a051df245aac
Merge: 748b51a 2445e02
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 14:03:12 2013 +0200
Merge branch 'extraobjnameconst' into extraobjnameconst-rename
commit 56832564170807b4911e815546a97425d3ee659f
Merge: 96b3b9b 5cb5687
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 14:03:12 2013 +0200
Merge branch 'extraobjnameconst-rename' into extraobjnameconst-rename-extraname
commit 2445e021969b1569fc3fba16f7b3bb3e5b7856c5
Merge: 7ba0dfa 2c848f8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Sep 15 14:03:11 2013 +0200
Merge remote-tracking branch 'gdb/master' into extraobjnameconst
commit c6bcead801d93ce5dc62dd376d13da5c9f819a68
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Sep 13 17:08:47 2013 +0200
.
commit 2e0f575dc5c1a24a47444d5946c039e4ed4184c9
Merge: 537900d 96b3b9b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Sep 13 17:07:29 2013 +0200
Merge branch 'extraobjnameconst-rename-extraname' into extraobjnameconst-rename-extraname-func
Conflicts:
gdb/jit.c
gdb/objfiles.c
commit 96b3b9b1a781609ec143c2ff0c20cf586952d9a6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Sep 13 17:05:57 2013 +0200
.
commit 493425b8fad14ecad24be3551b42ab5a6e489613
Merge: 748b51a 8e271dc
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Sep 13 16:53:26 2013 +0200
Merge branch 'extraname' into extraobjnameconst-rename-extraname
commit 537900dc2f3b60bfc334e6179b88ec38c9da38a6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Sep 13 16:24:31 2013 +0200
.
commit aa6b7e5e2748242b3f6d247facbe7f319ba2a192
Merge: e6e6a22 748b51a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Sep 13 16:10:56 2013 +0200
Merge branch 'extraobjnameconst-rename' into extraobjnameconst-rename-func
Conflicts:
gdb/probe.c
commit 748b51a57d395afb236eddb4c283c0c72f1ec5e0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Sep 13 16:09:50 2013 +0200
.
commit e6e6a222dc8a75c2a2d65ee331cb468c11424731
Merge: b1d1dbb 7ba0dfa
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Sep 13 16:05:42 2013 +0200
Merge branch 'extraobjnameconst' into extraobjnameconst-func
commit 7ba0dfa3930d72faef183683884115b6e5319d90
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Sep 13 16:04:58 2013 +0200
.
commit b1d1dbb9851050dab59bfbdc6a1f69619214d594
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Sep 13 15:53:00 2013 +0200
.
commit 8e271dca8626f7188403d34a35916b3aaf5aa199
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 4 20:58:51 2013 +0200
.
-----------------------------------------------------------------------
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-24 14:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-24 14:04 [SCM] jankratochvil/dwp: reverse-20080717-branchpoint-15831-g0cb1418 jkratoch
-- strict thread matches above, loose matches on Subject: below --
2013-09-19 13:37 jkratoch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).