public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/5815] New: "up" and "down" are reversed
@ 2008-03-02  0:00 tromey at redhat dot com
  2008-03-03 14:10 ` [Bug general/5815] " cagney at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2008-03-02  0:00 UTC (permalink / raw)
  To: frysk-bugzilla

According to the hpd spec (downloaded from sourceware.org, see page 106)
"up" moves to a frame that has existed longer, and "down" "follows
the progress of program execution".

fhpd has these reversed.

In case it matters fhpd is also backwards from common use in *many*
other debuggers.  I looked at Emacs' "gud" mode and all the debuggers
it supports (dbx, gdb, xdb, jdb, perldb, and a few others) use "up"
and "down" in the same way.

-- 
           Summary: "up" and "down" are reversed
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: tromey at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5815

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/5815] "up" and "down" are reversed
  2008-03-02  0:00 [Bug general/5815] New: "up" and "down" are reversed tromey at redhat dot com
@ 2008-03-03 14:10 ` cagney at redhat dot com
  2008-03-04  9:18 ` mark at klomp dot org
  2008-03-04 13:30 ` cagney at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cagney at redhat dot com @ 2008-03-03 14:10 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From cagney at redhat dot com  2008-03-03 14:09 -------
Visually, the stack is displayed "top" (inner most) to "bottom" (outermost);
graphically we do the same.  For "up" to go down and "down" to go up would be
less consistent and more confusing for new new users.




*** This bug has been marked as a duplicate of 3459 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |3459
              nThis|                            |
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://sourceware.org/bugzilla/show_bug.cgi?id=5815

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/5815] "up" and "down" are reversed
  2008-03-02  0:00 [Bug general/5815] New: "up" and "down" are reversed tromey at redhat dot com
  2008-03-03 14:10 ` [Bug general/5815] " cagney at redhat dot com
@ 2008-03-04  9:18 ` mark at klomp dot org
  2008-03-04 13:30 ` cagney at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2008-03-04  9:18 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mark at klomp dot org  2008-03-04 09:18 -------
On irc Andrew suggested a compromise. Implement new command for new users called
either "inner" and "outer" or "older" and "newer". Which would avoid the whole
issue of whether a stack grows up or down.

Then we up/down can be just aliases to these commands which do what the HPD spec
says and how all other debuggers support these commands.

This would satisfactory resolve the complaint that fhpd is just being
gratuitously different.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |


http://sourceware.org/bugzilla/show_bug.cgi?id=5815

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug general/5815] "up" and "down" are reversed
  2008-03-02  0:00 [Bug general/5815] New: "up" and "down" are reversed tromey at redhat dot com
  2008-03-03 14:10 ` [Bug general/5815] " cagney at redhat dot com
  2008-03-04  9:18 ` mark at klomp dot org
@ 2008-03-04 13:30 ` cagney at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cagney at redhat dot com @ 2008-03-04 13:30 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From cagney at redhat dot com  2008-03-04 13:29 -------
Here is a stack:

    ---    <- top
  | --- |
  | --- |
  | --- |
  +-----+  <- bottom

when moving around that stack "up" goes towards the "top" and "down" goes
towards the bottom.

- Rosenburg's debugger book points this out
- a survey of old time debugger users point this out (they, without prompting,
complained that what GDB does is wrong)

Remember, our target is new users that will expect; and the decision to use this
model (and differ to the hpd) was made after long and careful discussion which
the entire group participated in.

There wasn't anything gratuitous about the decision.

If down/up were to be flipped, then so to would our back-trace order and our
display of a backtrace.  Not a must have first feature.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WONTFIX


http://sourceware.org/bugzilla/show_bug.cgi?id=5815

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-04 13:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-02  0:00 [Bug general/5815] New: "up" and "down" are reversed tromey at redhat dot com
2008-03-03 14:10 ` [Bug general/5815] " cagney at redhat dot com
2008-03-04  9:18 ` mark at klomp dot org
2008-03-04 13:30 ` 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).