projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad903bf
)
[scripts] remote-gdb: fix parsing of arch and libc from given path as well
author
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 12 Oct 2010 03:07:07 +0000
(
03:07
+0000)
committer
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 12 Oct 2010 03:07:07 +0000
(
03:07
+0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23407
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
scripts/remote-gdb
patch
|
blob
|
history
diff --git
a/scripts/remote-gdb
b/scripts/remote-gdb
index
95529fc
..
aad23e3
100755
(executable)
--- a/
scripts/remote-gdb
+++ b/
scripts/remote-gdb
@@
-14,7
+14,7
@@
if( opendir SD, "$Bin/../staging_dir" )
{
my ( $tid, $arch, $libc, @arches );
- if( $ARGV[1] =~ m!\btarget-(
[^_/]+)_([^_/]+)\b!
)
+ if( $ARGV[1] =~ m!\btarget-(
.+?)_([^_]+libc[^_/]+)\b!i
)
{
print("Using target $1 ($2)\n");
($arch, $libc) = ($1, $2);
This page took
0.023324 seconds
and
4
git commands to generate.