projects
/
openwrt
/
staging
/
dangole.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d50430
)
remote-gdb: fix parsing of arch and libc from given path as well
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 12 Oct 2010 03:07:07 +0000
(
03:07
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 12 Oct 2010 03:07:07 +0000
(
03:07
+0000)
SVN-Revision: 23407
scripts/remote-gdb
patch
|
blob
|
history
diff --git
a/scripts/remote-gdb
b/scripts/remote-gdb
index 95529fc84c4992563843162f9a12eccb8aa50887..aad23e3246ad6feb441c9ecbb593f36899f7a1cb 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);