public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/5687] New: list ignores frame (and thread?) changes
@ 2008-01-29 4:07 cagney at redhat dot com
2008-02-06 19:38 ` [Bug general/5687] " cagney at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: cagney at redhat dot com @ 2008-01-29 4:07 UTC (permalink / raw)
To: frysk-bugzilla
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug general/5687] list ignores frame (and thread?) changes
2008-01-29 4:07 [Bug general/5687] New: list ignores frame (and thread?) changes cagney at redhat dot com
@ 2008-02-06 19:38 ` cagney at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: cagney at redhat dot com @ 2008-02-06 19:38 UTC (permalink / raw)
To: frysk-bugzilla
------- Additional Comments From cagney at redhat dot com 2008-02-06 19:37 -------
For the moment the "smart" where list tries to (it can't it doesn't have
sufficient information) remember where it last was should be removed.
We can think about how repeat should work in general later.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|frysk-bugzilla at sourceware|scox at redhat dot com
|dot org |
Status|NEW |ASSIGNED
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-06 19:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-29 4:07 [Bug general/5687] New: list ignores frame (and thread?) changes cagney at redhat dot com
2008-02-06 19:38 ` [Bug general/5687] " cagney at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).