This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug remote/15651] New: set sysroot remote: is not enough
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 19 Jun 2013 19:21:28 +0000
- Subject: [Bug remote/15651] New: set sysroot remote: is not enough
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15651
Bug ID: 15651
Summary: set sysroot remote: is not enough
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: remote
Assignee: unassigned at sourceware dot org
Reporter: jan.kratochvil at redhat dot com
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
One usually needs to type more commands than just "set sysroot remote:".
(gdb) set sysroot remote:
(gdb) target extended-remote hostname:port
(gdb) set remote exec-file /path/to/program
(gdb) file /path/to/program - local copy
(gdb) start
- GDB could download even exec_bfd from remote:.
(gdb) set sysroot remote:
(gdb) target remote hostname:port
(gdb) symbol-file remote:/path/to/program
(gdb) tbreak main
(gdb) continue
(gdb) sharedlibrary
- why is symbol-file needed here when remote gdbserver already has the file?
(Unrelated bug - "sharedlibrary" command should not be needed there.)
These example come from my experiments in 2012:
http://people.redhat.com/jkratoch/gdb2012.pdf
--
You are receiving this mail because:
You are on the CC list for the bug.