public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Insight Bug?
@ 2000-05-29  6:32 Paul_Heijman
  2000-05-29  8:12 ` Fernando Nasser
  2000-05-30  5:48 ` Finish [was: Insight Bug?] Fernando Nasser
  0 siblings, 2 replies; 5+ messages in thread
From: Paul_Heijman @ 2000-05-29  6:32 UTC (permalink / raw)
  To: insight

Hi folks,

I encountered the following, of what I think is a bug of Insight:

When I use the 'finish' button to complete a function, Insight apparently uses
breakpoints for this (they are hidden someway).
The problem is that when I press the 'continue' button afterwards, the 'hidden
breakpoint' GDB used for the 'finish' function, is still there.
Result: the program stops again.

I hope I explained the problem well enough for you, if I didn't, let me know.

Kind regards,
Paul Heijmann
OMRON ETC-NL
-




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

* Re: Insight Bug?
  2000-05-29  6:32 Insight Bug? Paul_Heijman
@ 2000-05-29  8:12 ` Fernando Nasser
  2000-05-30  5:48 ` Finish [was: Insight Bug?] Fernando Nasser
  1 sibling, 0 replies; 5+ messages in thread
From: Fernando Nasser @ 2000-05-29  8:12 UTC (permalink / raw)
  To: Paul_Heijman; +Cc: insight, fnasser

Paul_Heijman@eu.omron.com wrote:
> 
> Hi folks,
> 
> I encountered the following, of what I think is a bug of Insight:
> 
> When I use the 'finish' button to complete a function, Insight apparently uses
> breakpoints for this (they are hidden someway).
> The problem is that when I press the 'continue' button afterwards, the 'hidden
> breakpoint' GDB used for the 'finish' function, is still there.
> Result: the program stops again.
> 
> I hope I explained the problem well enough for you, if I didn't, let me know.
> 

First of all: which host and which target are you talking about?
Which version of insight (gdb) are you using?  Where did you get it from?
How was it configured/compiled?  What is your O.S. version?

Te underlying debugger mechanism is very dependent on the architecture, OS
support and other details.  Problems may arise on a specific platform and not
on others.  Sometimes just in a specific OS version.  For remote targets,
sometimes is a problem with communication or withing a certain version of a
ROM monitor.

If you tell what your platform is, people with similar setups may be able to
help you with problems that the others may have no clue.


Another very important test one should do when encountering a problem while
using the GUI is to try running gdb with the command line interface.

Invoke gdb with "gdb -nw yourprog" (assuming you are debugging natively on a host)
and try the "finish" command at the same situation as above (try repeating the
corresponding actions you performed with the GUI).

This way we will know if it is a gdb problem or a GUI problem.  In you case, it must
be a gdb gdb probem as the GUI works fine on many systems.  If this is indeed the
case, please post your question to the gdb list as there may be people who have
seem your problem before or have some idea on how to investigate it further.  This is
the GUI list and people who sign to it are more into the user interface bits.

Regards.
F.


-- 
Fernando Nasser
Cygnus Solutions (a Red Hat company)    E-Mail:  fnasser@cygnus.com

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

* Finish [was: Insight Bug?]
  2000-05-29  6:32 Insight Bug? Paul_Heijman
  2000-05-29  8:12 ` Fernando Nasser
@ 2000-05-30  5:48 ` Fernando Nasser
  1 sibling, 0 replies; 5+ messages in thread
From: Fernando Nasser @ 2000-05-30  5:48 UTC (permalink / raw)
  To: Paul_Heijman; +Cc: insight

Paul_Heijman@eu.omron.com wrote:
> 
> Hi folks,
> 
> I encountered the following, of what I think is a bug of Insight:
> 
> When I use the 'finish' button to complete a function, Insight apparently uses
> breakpoints for this (they are hidden someway).
> The problem is that when I press the 'continue' button afterwards, the 'hidden
> breakpoint' GDB used for the 'finish' function, is still there.
> Result: the program stops again.
> 
> I hope I explained the problem well enough for you, if I didn't, let me know.
> 
> Here are the details:
> - GDB: 20000105
> - OS: i586-pc-cygwin (WINNT)
> - TARGET: m68k-coff
>
> I tried it in GDB with -nw option:
> (...)
> This works - that is, the application stays running without breaking on the end
> of the functions you see in the stack above.
> It must be an Insight bug then.

Is anyone else seeing a similar problem with the "finish" button?
I would like very much to know if this happens in some other platform besides
Paul's cross m68k?

So far we know it does not happen with the command line interface.
Please let me know if it fails in yours and what is your host and target.

Thanks.

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@cygnus.com
2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
Toronto, Ontario   M4P 2C9              Fax:  416-482-6299

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

* Re: Finish [was: Insight Bug?]
  2000-05-30 10:02 Nicholas_Karagas
@ 2000-05-30 10:25 ` Fernando Nasser
  0 siblings, 0 replies; 5+ messages in thread
From: Fernando Nasser @ 2000-05-30 10:25 UTC (permalink / raw)
  To: Nicholas_Karagas; +Cc: insight

Nicholas_Karagas@cirilium.com wrote:
> 
> I have fixes for some other problems I found with Insight; when
> I get the time, I will write them up and send them to the list.
> 

Please do so.  We will appreciate your help.

P.S.: I will try to fix the typo you've mentioned later today.

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@cygnus.com
2323 Yonge Street, Suite #300           Tel:  416-482-2661 ext. 311
Toronto, Ontario   M4P 2C9              Fax:  416-482-6299

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

* Re: Finish [was: Insight Bug?]
@ 2000-05-30 10:02 Nicholas_Karagas
  2000-05-30 10:25 ` Fernando Nasser
  0 siblings, 1 reply; 5+ messages in thread
From: Nicholas_Karagas @ 2000-05-30 10:02 UTC (permalink / raw)
  To: Fernando Nasser; +Cc: insight

>Is anyone else seeing a similar problem with the "finish" button?
>I would like very much to know if this happens in some other platform
besides
>Paul's cross m68k?
>
>So far we know it does not happen with the command line interface.
>Please let me know if it fails in yours and what is your host and target.

I am running the same host (actually i686-pc-cygwin) and the same target
(remote m68k-coff), and can't seem to recreate this problem.  My version of
Insight is 20000515.  Maybe this problem was fixed after 20000105?

Also, earlier someone mentioned a problem with screen updates in SRC+ASM
mode.  This is due to a typo in the function set_execution_status in
srcwin.itb; gdb_cmd is misspelled in the SRC+ASM clause of the case
statement.  I have fixes for some other problems I found with Insight; when
I get the time, I will write them up and send them to the list.

Nicholas Karagas
Associate Software Engineer
Cirilium Corporation
Tempe, AZ
(480) 317-1144



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

end of thread, other threads:[~2000-05-30 10:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-29  6:32 Insight Bug? Paul_Heijman
2000-05-29  8:12 ` Fernando Nasser
2000-05-30  5:48 ` Finish [was: Insight Bug?] Fernando Nasser
2000-05-30 10:02 Nicholas_Karagas
2000-05-30 10:25 ` Fernando Nasser

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).