This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug remote/15651] New: set sysroot remote: is not enough


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]