diff options
Diffstat (limited to 'gdb/gdbserver/server.c')
-rw-r--r-- | gdb/gdbserver/server.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index 94c27d3..3afab2b 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -63,13 +63,9 @@ handle_query (char *own_buf) { if (strcmp ("qSymbol::", own_buf) == 0) { -#if 0 - strcpy (own_buf, "qSymbol:"); - hexify (own_buf + strlen ("qSymbol:"), "main", 4); - putpkt (own_buf); - getpkt (own_buf); - fprintf (stderr, "Got %s", own_buf); -#endif + if (the_target->look_up_symbols != NULL) + (*the_target->look_up_symbols) (); + strcpy (own_buf, "OK"); return; } |