summaryrefslogtreecommitdiff
path: root/gdb/remote-nindy.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1994-07-23 00:53:28 +0000
committerStu Grossman <grossman@cygnus>1994-07-23 00:53:28 +0000
commitcad1498f8a8aaa41ca54ffdde76263740372975a (patch)
treeeaf8dfd3a65cdb20fc02c37c7ec9ae5c44dad53f /gdb/remote-nindy.c
parentf2c2e75ce090e3a012a942077587b2acc948e4ee (diff)
downloadbinutils-gdb-cad1498f8a8aaa41ca54ffdde76263740372975a.tar.gz
* Makefile.in: Add stuff to build nlmstub.
* Add rule for annotate.o to keep Sun make happy. * configure.in: Add config for powerpc/Netware. * partial-stab.h (near N_SO): Don't call START_PSYMTAB with null filename. This speeds up handling of trailing N_SO stabs (they mark the end of a .o file). * target.c, target.h: Change the way pushing and popping of targets work to support target overlays and inheritance. * corelow.c, hppa-tdep.c, inflow.c, remote-nindy.c, utils.c: Fixup references to current_target, due to previous changes. * config/i386/tm-i386nw.h: Enable longjmp support. More work is needed to get the address of longjmp out of the target.
Diffstat (limited to 'gdb/remote-nindy.c')
-rw-r--r--gdb/remote-nindy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c
index 8c9c624b498..a85caf07725 100644
--- a/gdb/remote-nindy.c
+++ b/gdb/remote-nindy.c
@@ -685,7 +685,8 @@ nindy_before_main_loop ()
char ttyname[100];
char *p, *p2;
- while (current_target != &nindy_ops) { /* remote tty not specified yet */
+ while (target_stack->target_ops != &nindy_ops) /* What is this crap??? */
+ { /* remote tty not specified yet */
if ( instream == stdin ){
printf_unfiltered("\nAttach /dev/ttyNN -- specify NN, or \"quit\" to quit: ");
gdb_flush( gdb_stdout );