Home | History | Annotate | Download | only in gdb

Lines Matching defs:top_stack

426  *top_stack;			/* Top stack ptr */
437 if (top_stack && top_stack->prev)
438 newobj = top_stack->prev;
442 if (top_stack)
446 *newobj = *top_stack;
447 top_stack->prev = newobj;
449 newobj->next = top_stack;
451 top_stack = newobj;
459 if (!top_stack)
461 if (top_stack->next)
462 top_stack = top_stack->next;
574 add_symbol (s, top_stack->cur_st, b);
642 b = top_stack->cur_st->compunit ()->blockvector ()->global_block ();
650 b = top_stack->cur_block;
670 b = top_stack->cur_block;
685 top_stack->numargs++;
715 add_symbol (s, top_stack->cur_st, top_stack->cur_block);
725 add_symbol (s, top_stack->cur_st, top_stack->cur_block);
786 b = top_stack->cur_block;
790 = top_stack->cur_st->compunit ()->blockvector ();
800 else if (sh->value == top_stack->procadr)
803 add_symbol (s, top_stack->cur_st, b);
819 b->set_superblock (top_stack->cur_block);
820 add_block (b, top_stack->cur_st);
827 top_stack->cur_block = b;
828 top_stack->blocktype = sh->st;
829 top_stack->cur_type = s->type ();
830 top_stack->cur_field = -1;
831 top_stack->procadr = sh->value;
832 top_stack->numargs = 0;
868 top_stack->blocktype = stBlock;
1090 add_symbol (enum_sym, top_stack->cur_st, top_stack->cur_block);
1100 top_stack->cur_type = t;
1101 top_stack->cur_field = 0;
1120 add_symbol (s, top_stack->cur_st, top_stack->cur_block);
1136 if (top_stack->blocktype == stProc
1137 || top_stack->blocktype == stStaticProc)
1139 top_stack->blocktype = stNil;
1143 top_stack->blocktype = stBlock;
1145 b->set_start (sh->value + top_stack->procadr);
1146 b->set_superblock (top_stack->cur_block);
1147 top_stack->cur_block = b;
1148 add_block (b, top_stack->cur_st);
1155 top_stack->cur_type = 0;
1158 (top_stack->blocktype == stProc ||
1159 top_stack->blocktype == stStaticProc))
1163 = top_stack->cur_st->compunit ()->blockvector ();
1165 struct block *cblock = top_stack->cur_block;
1166 struct type *ftype = top_stack->cur_type;
1168 top_stack->cur_block->set_end
1169 (top_stack->cur_block->end () + sh->value); /* size */
1179 e->numargs = top_stack->numargs;
1181 add_symbol (s, top_stack->cur_st, top_stack->cur_block);
1188 && b_bad->start () == top_stack->procadr
1189 && b_bad->end () == top_stack->procadr)
1200 int nparams = top_stack->numargs;
1223 else if (sh->sc == scText && top_stack->blocktype == stBlock)
1228 top_stack->cur_block->set_end (sh->value + top_stack->procadr);
1230 else if (sh->sc == scText && top_stack->blocktype == stNil)
1236 else if (sh->sc == scText && top_stack->blocktype == stFile)
1250 struct field *f = &top_stack->cur_type->field (top_stack->cur_field);
1251 top_stack->cur_field++;
1308 s->set_value_block (top_stack->cur_block);
1310 add_symbol (s, top_stack->cur_st, top_stack->cur_block);
1347 top_stack->blocktype = sh->st;
1919 in question, or NULL to use top_stack->cur_block. */
1989 s = mylookup_symbol (sh_name, top_stack->cur_block,
2009 add_symbol (s, top_stack->cur_st, top_stack->cur_block);
2018 BLOCK_SUPERBLOCK (b) = top_stack->cur_block;
2019 add_block (b, top_stack->cur_st);
2069 This routine clobbers top_stack->cur_block and ->cur_st. */
4110 top_stack->cur_st = cust->primary_filetab ();
4111 top_stack->cur_block = cust->blockvector ()->static_block ();
4112 top_stack->cur_block->set_start (pst->text_low (objfile));
4113 top_stack->cur_block->set_end (0);
4114 top_stack->blocktype = stFile;
4115 top_stack->cur_type = 0;
4116 top_stack->procadr = 0;
4117 top_stack->numargs = 0;
4198 top_stack->cur_st = cust->primary_filetab ();
4199 top_stack->cur_block
4200 = top_stack->cur_st->compunit ()->blockvector ()->global_block ();
4201 top_stack->blocktype = stFile;