Jo-Philipp Wich
d2b3101053
scripts: remote-gdb: fix target / libc matching on directory names
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-23 12:41:06 +00:00
John Crispin
b6471d5ff3
scripts: use extended-remote for greater compatibility
...
Plain "remote" results in failure to connect using the gdb built with
the toolchain. (On atheros target at least) extended-remote also allows
"run" to restart the target process.
Signed-off-by: Karl Palsson <karlp@remake.is>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-10 15:50:52 +00:00
Jo-Philipp Wich
10e649119b
script/remote-gdb: enable and keep command history
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-18 09:29:44 +00:00
Felix Fietkau
e358500854
scripts/remote-gdb: add support for debugging core files
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:50:58 +00:00
Felix Fietkau
1e025a57b3
scripts/remote-gdb: fix path when built for musl
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:50:54 +00:00
Jo-Philipp Wich
4e02c3b90a
scripts: fix remote-gdb script to cope with _eabi suffix in uClibc version
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-08 11:22:09 +00:00
Hamish Guthrie
2a22d86e63
Correct libc path
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-13 11:52:40 +00:00
Jo-Philipp Wich
76b017e355
[scripts] remote-gdb: fix parsing of arch and libc from given path as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-12 03:07:07 +00:00
Jo-Philipp Wich
461f29cb46
[scripts] remote-gdb:
...
- fix parsing of arch-libc tuples
- automatically add sysroot to executable if needed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-12 01:15:55 +00:00
Jo-Philipp Wich
eb5d7e74b5
[scripts] remote-gdb:
...
* use sysroot instead of solib search paths
* don't query arch if there's only one choice
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 21:10:56 +00:00
Jo-Philipp Wich
6c48ebd0a4
[scripts] remote-gdb: change library paths after r19849, swap usr/lib/ and lib/
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 23:51:50 +00:00
Jo-Philipp Wich
93aae29643
[scripts] remote-gdb: add build_dir/target-*/debug-* to solib-search-path
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 22:56:36 +00:00
Jo-Philipp Wich
40d72d7e35
[scripts] add "remote-gdb", a helper script to connect the local host gdb with a running gdbserver on the target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-25 17:45:57 +00:00