This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug server/21980] New: Make "show args" show arguments passed through the CLI to gdbserver
- From: "ciro.santilli at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 20 Aug 2017 11:18:44 +0000
- Subject: [Bug server/21980] New: Make "show args" show arguments passed through the CLI to gdbserver
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21980
Bug ID: 21980
Summary: Make "show args" show arguments passed through the CLI
to gdbserver
Product: gdb
Version: 7.11
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: server
Assignee: unassigned at sourceware dot org
Reporter: ciro.santilli at gmail dot com
Target Milestone: ---
Current behavior is a bit confusing:
gdbserver :1234 ./prog.out arg0 arg1
gdb -ex 'target remote :1234' ./prog.out
Then:
(gdb) b main
(gdb) c
(gdb) show args
Argument list to give program being debugged when it is started is ""
(gdb) print argc
$1 = 3
Would require sending the arguments over the protocol I expect.
--
You are receiving this mail because:
You are on the CC list for the bug.