This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Tue, 2005-05-17 at 00:04 -1100, Accounts wrote:Yes, i was re-considering this problem this morning.
I Believe this is the correct thing to do.
Hmm. I'm not so sure... So what happens if you're not running and you type something like "tk gdb_loc main". Does it return something useful?
The problem is, of course, that there is no specific way to pass anThe thought occured, that in the case of a non-running target, maybe the best reply to gdb_loc for a $PC is the value of the entry point for the program in question. Its at least a sane default, and is not generating an error.
error like this to the UI (the error is really an ignorable one in this
case). We don't want invocations of gdb_loc to fail because we don't
have a running target. I guess we could always pass some sort of fixed
constant string (like "NOT_RUNNING" or something) instead of the PC
value to indicate no registers or not running...
I guess an easier way to see whether your patch works: Does the functionWell thats the killer, at the moment I am having problems with the function browser, and i dont know if its my patch or not. The reason is, I cant test the function browser before i do the "file" command, because i have no functions to browse. And when i do execute "file" i segfault, without my patch. So its not possible for me to test it.
browser work before you are running? Or you could simply type in the
name of a file or function in the combo boxes in the tool bar.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |