aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-12-31 18:38:43 +0000
committerDaniel Jacobowitz <drow@false.org>2007-12-31 18:38:43 +0000
commitb7589f7df4a6b1c7c7a3948cc006e2c4fcdee4d6 (patch)
tree86fb70af26015d0a487a8cf8a44ffdbc4180c872 /gdb/remote.c
parent4ae6d70300700f5ed376463d059d422712225211 (diff)
downloadgdb-b7589f7df4a6b1c7c7a3948cc006e2c4fcdee4d6.zip
gdb-b7589f7df4a6b1c7c7a3948cc006e2c4fcdee4d6.tar.gz
gdb-b7589f7df4a6b1c7c7a3948cc006e2c4fcdee4d6.tar.bz2
* remote.c (unpack_nibble): Use fromhex.
* symtab.c (find_line_common): Always set exact_match.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 452af07..1a51fae 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -1353,7 +1353,7 @@ unpack_varlen_hex (char *buff, /* packet to parse */
static char *
unpack_nibble (char *buf, int *val)
{
- ishex (*buf++, val);
+ *val = fromhex (*buf++);
return buf;
}