1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
Commit graph

2634 commits

Author SHA1 Message Date
Alain Magloire
f5456b1ad1 change create session for attach to take an
array of string that can serve to connect to
a remote host if need be:
-target-select remotehost 999
2002-10-09 13:11:52 +00:00
David Inglis
0926de5ab2 cleanup warnings 2002-10-09 12:40:43 +00:00
Mikhail Khodjaiants
94a721a938 Implementation of disassembly mode. 2002-10-09 03:06:17 +00:00
Alain Magloire
e9791e7823 make getMIsession public. 2002-10-09 02:00:44 +00:00
Alain Magloire
f83f886c2d setDetached() was rename setDisconnected() to reduce
confusing between a attach/detach command.
2002-10-09 02:00:21 +00:00
Alain Magloire
c6eacff948 Remove confusing ATTACHED variable and use the session
type on MISession to decide on the right thing to do
for destroy().  Renambe setAttached() etc.. for
setConnected() and setDisconnected() to reduce confusion.
2002-10-09 01:59:24 +00:00
Alain Magloire
2d34891d15 The MISession take the type of session base on an
argument in the constructor.  Set this correctly
for post-mortem, attach, and regular program.

Define initializeDefaultPluginPreference.
2002-10-09 01:57:54 +00:00
Alain Magloire
0d8dcf74cc Change the MISession constructor to add a new argument
that will indicate the type of session being created.
Add 3 new methods that will return the type of session:
Post-mortem, attach or regular debug.
2002-10-09 01:56:08 +00:00
Mikhail Khodjaiants
fdf2c99a70 Implementation of disassembly mode. 2002-10-08 22:03:22 +00:00
Mikhail Khodjaiants
347497be9c Added method to replace access to non-accessible method of enclosing type. 2002-10-08 20:35:59 +00:00
Mikhail Khodjaiants
d142a758d5 Added method to replace access to non-accessible method of enclosing type. 2002-10-08 20:20:22 +00:00
Alain Magloire
bf16d50fda Base on a patch from Keith Seitz to use MIDataEvaluateExpression
to get the return value instead of MIGDBSet class.
2002-10-08 19:15:58 +00:00
David Inglis
cb369c6fcc fixed typo 2002-10-08 11:55:50 +00:00
Mikhail Khodjaiants
1c8774e46c Filter out the empty expressions when hovering. 2002-10-07 20:25:14 +00:00
Mikhail Khodjaiants
0180598ed2 Use the number of actual children as a length of array instead of the number returned by gdb. 2002-10-07 18:02:48 +00:00
Mikhail Khodjaiants
8f4ba58fe7 Incorrect casting. 2002-10-07 17:30:48 +00:00
Alain Magloire
c124fa1f18 Gdb return the value in octal we have to decode() it. 2002-10-07 17:18:39 +00:00
Alain Magloire
1f82bf446b the double quotes " and the the backslash needs to be
escaped.   Especially for characters like the command
-data-evaluate-espression to work correctly.
2002-10-07 00:58:53 +00:00
Alain Magloire
5fec881d73 MIInferiorExitEvent takes an argument now. 2002-10-05 19:49:55 +00:00
Alain Magloire
1d294c4344 The exit value is save in case the gdb was terminated before
the value was fetch.  setTerminated(boolean) only
fire an event when destroy is called.
2002-10-05 19:49:21 +00:00
Alain Magloire
b65d77fc75 We now parse the MI output and look for "exit-code" for the
exit return value.
2002-10-05 19:47:56 +00:00
Alain Magloire
7de6e84c6b ExitInfo takes MIInferiorExitEvent as argument in the constructor. 2002-10-05 19:47:19 +00:00
Mikhail Khodjaiants
c732f75c54 New line for each debug target. 2002-10-04 21:43:47 +00:00
Mikhail Khodjaiants
114372c4fc Implementation of 'Show Full Paths' action. 2002-10-04 20:23:28 +00:00
Mikhail Khodjaiants
1145258fd6 Implementation of preference pages. 2002-10-04 18:09:05 +00:00
Alain Magloire
452737ae51 Return the "ISO C" string instead meaning the string with
the \t \n etc escaped characters.
2002-10-04 14:42:23 +00:00
Mikhail Khodjaiants
ce345efa78 Implementation of the debugger's preference pages. 2002-10-03 22:51:52 +00:00
Mikhail Khodjaiants
fa410d22c0 Added the 'C/C++ Debug' action group to the preferences. 2002-10-03 21:12:19 +00:00
Mikhail Khodjaiants
dddc587f19 Do not terminate process when handling 'terminated' event. 2002-10-03 15:04:35 +00:00
Alain Magloire
3a38658386 change state to be connectetd. 2002-10-03 13:49:21 +00:00
Alain Magloire
683b557bd2 do not terminate attach processes. 2002-10-03 13:49:03 +00:00
Alain Magloire
3653983f0e set the state detached when you disconnect. 2002-10-03 13:48:17 +00:00
Alain Magloire
5a9d2b9bfb Since registers will not change, the method
getRegisters() is now on ICDITarget instead of ICDISTackFrame.
2002-10-03 02:34:36 +00:00
Alain Magloire
334cbd1564 Since registers will not change, the method
getRegisters() is now on ICDITarget instead of ICDISTackFrame.
2002-10-03 02:32:40 +00:00
Mikhail Khodjaiants
138cdae85d Moved getRegisters from the stack frame to the target. 2002-10-02 21:13:02 +00:00
Mikhail Khodjaiants
0c0673d8f4 Removed unused imports and local variables. 2002-10-02 21:10:35 +00:00
Mikhail Khodjaiants
9eeece90e7 Removed unused imports and local variables. 2002-10-02 19:37:13 +00:00
Mikhail Khodjaiants
8f3469b849 Cache the 'hasVariables' flag for global values and the type names for all variables. 2002-10-02 19:25:14 +00:00
David Inglis
2be2685341 missing dep. 2002-10-02 13:30:20 +00:00
Alain Magloire
4804e480bb The expansion by default is way to expensive,
commenting out for now.
2002-10-02 04:59:12 +00:00
Alain Magloire
b1b25e2273 add new method getRegisters(). 2002-10-02 04:58:17 +00:00
Alain Magloire
e1f759197d getValue() returns a string now. 2002-10-02 04:57:35 +00:00
Alain Magloire
883ffe3747 rename getRegisters() to getMIRegisterValues() more
descriptive
2002-10-02 04:56:56 +00:00
Alain Magloire
dc61120019 rename getRegisters() to getRegistersNumber() more
descriptive
2002-10-02 04:56:24 +00:00
Alain Magloire
589fec8751 Extends MIChangedEvent for convenience. 2002-10-02 04:55:44 +00:00
Alain Magloire
3eb7378d87 New file . 2002-10-02 04:55:21 +00:00
Alain Magloire
f1af1d30d1 add help method. 2002-10-02 04:54:50 +00:00
Alain Magloire
aeb2c89c90 Only pass -- if an argument starts with '-' 2002-10-02 04:54:20 +00:00
Alain Magloire
bdee45066b Typo in the name of the method. 2002-10-02 04:53:54 +00:00
Alain Magloire
4a90b847b5 Remove any reference to registers. They are now manage
by the RegisterManager.
2002-10-02 04:53:26 +00:00