From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30208 invoked by alias); 29 Jan 2008 04:07:27 -0000 Received: (qmail 22564 invoked by uid 48); 29 Jan 2008 04:06:43 -0000 Date: Tue, 29 Jan 2008 04:07:00 -0000 From: "cagney at redhat dot com" To: frysk-bugzilla@sourceware.org Message-ID: <20080129040642.5687.cagney@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/5687] New: list ignores frame (and thread?) changes X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00215.txt.bz2 List-Id: For instance, although this moves between frames, it keeps listing more of a single file :-( (fhpd) down #8 0x08065211 in yyparse () from /bin/bash (fhpd) list [0.0] 2218 { 2219 int r = 0; 2220 while (need_here_doc) 2221 { 2222 make_here_document (redir_stack[r++]); 2223 need_here_doc--; 2224 } 2225 } 2226 2227 /* When non-zero, an open-brace used to create a group is awaiting a close 2228 brace partner. */ 2229 static int open_brace_count; 2230 2231 #define command_token_position(token) \ 2232 (((token) == ASSIGNMENT_WORD) || \ 2233 ((token) != SEMI_SEMI && reserved_word_acceptable(token))) 2234 2235 #define assignment_acceptable(token) \ 2236 (command_token_position(token) && ((parser_state & PST_CASEPAT) == 0)) 2237 (fhpd) down #9 0x0805ee71 in push_string () from /bin/bash (fhpd) list [0.0] No symbol table is available. (fhpd) up #8 0x08065211 in yyparse () from /bin/bash (fhpd) list [0.0] 2238 /* Check to see if TOKEN is a reserved word and return the token 2239 value if it is. */ 2240 #define CHECK_FOR_RESERVED_WORD(tok) \ 2241 do { \ 2242 if (!dollar_present && !quoted && \ 2243 reserved_word_acceptable (last_read_token)) \ 2244 { \ 2245 int i; \ 2246 for (i = 0; word_token_alist[i].word != (char *)NULL; i++) \ 2247 if (STREQ (tok, word_token_alist[i].word)) \ 2248 { \ 2249 if ((parser_state & PST_CASEPAT) && (word_token_alist[i].token != ESAC)) \ 2250 break; \ 2251 if (word_token_alist[i].token == TIME && time_command_acceptable () == 0) \ 2252 break; \ 2253 if (word_token_alist[i].token == ESAC) \ 2254 parser_state &= ~(PST_CASEPAT|PST_CASESTMT); \ 2255 else if (word_token_alist[i].token == CASE) \ 2256 parser_state |= PST_CASESTMT; \ 2257 else if (word_token_alist[i].token == COND_END) \ (fhpd) up #7 0x08065211 in yylex() /usr/src/debug/bash-3.2/./parse.y#2208 [inline] (fhpd) list [0.0] 2258 parser_state &= ~(PST_CONDCMD|PST_CONDEXPR); \ 2259 else if (word_token_alist[i].token == COND_START) \ 2260 parser_state |= PST_CONDCMD; \ 2261 else if (word_token_alist[i].token == '{') \ 2262 open_brace_count++; \ 2263 else if (word_token_alist[i].token == '}' && open_brace_count) \ 2264 open_brace_count--; \ 2265 return (word_token_alist[i].token); \ 2266 } \ 2267 } \ 2268 } while (0) 2269 2270 #if defined (ALIAS) 2271 2272 /* OK, we have a token. Let's try to alias expand it, if (and only if) 2273 it's eligible. 2274 2275 It is eligible for expansion if EXPAND_ALIASES is set, and 2276 the token is unquoted and the last token read was a command 2277 separator (or expand_next_token is set), and we are currently (fhpd) -- Summary: list ignores frame (and thread?) changes Product: frysk Version: unspecified Status: NEW Severity: normal Priority: P2 Component: general AssignedTo: frysk-bugzilla at sourceware dot org ReportedBy: cagney at redhat dot com OtherBugsDependingO 2246 nThis: http://sourceware.org/bugzilla/show_bug.cgi?id=5687 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.