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

1121 commits

Author SHA1 Message Date
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
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
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
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
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
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
Alain Magloire
d9ecab58a7 Use the RegisterManager for getRegisters(). 2002-10-02 04:52:16 +00:00
Alain Magloire
0d11ebfa7c Organize Import. 2002-10-02 04:51:31 +00:00
Alain Magloire
e206d3b10f Complete rewrite to not use the gdb/mi variable object
but rather the -data-list-register-xxx calls.
2002-10-02 04:51:01 +00:00
Alain Magloire
73a428b3f5 Catch MIRegisterChangedEvent and call update on the RegisterManager. 2002-10-02 04:49:56 +00:00
Alain Magloire
b7ec1b9bb1 Call update on the RegisterManager. 2002-10-02 04:49:10 +00:00
Alain Magloire
13271515fe New method getRegisters() and move the intelligence of
getRegisterObjects() into the RegisterManager class.
2002-10-02 04:48:46 +00:00
Alain Magloire
324596dc72 New method to return the RegisterManager. 2002-10-02 04:47:42 +00:00
Alain Magloire
6fb26a1444 Support for MIRegisterChangedEvent. 2002-10-02 04:47:08 +00:00
Alain Magloire
46f5898b90 Organize imports. 2002-10-02 04:45:05 +00:00
Alain Magloire
a03ec0415c Reenable throwing exception. 2002-10-01 12:22:29 +00:00
Alain Magloire
5c5f660b7b If we are attached suspending should work fine. 2002-09-30 16:52:16 +00:00
Alain Magloire
b28d409cb4 New Command from Don Howard, MITargetDownload. 2002-09-30 15:17:36 +00:00
Alain Magloire
14a8943722 When we detach fire a detachedEvent that
will be transfor to a CDIDisconnectEvent.
2002-09-27 19:23:01 +00:00
Alain Magloire
d7afd79e1e change the order and kill the running thread last. 2002-09-26 12:41:52 +00:00
David Inglis
04d90a4425 build changes 2002-09-26 02:16:53 +00:00
Alain Magloire
d25d3e05c5 Rearranging shutdown sequence because of race on Windows. 2002-09-25 20:02:41 +00:00
Alain Magloire
187811636e Do not try -exec-interrupt since it is not supported. 2002-09-25 20:01:02 +00:00
Alain Magloire
3e1694d249 Still not working, more work to be done. 2002-09-25 20:00:31 +00:00
Alain Magloire
6725ba2595 Interrupt() method now throws MIException. 2002-09-25 20:00:11 +00:00
Alain Magloire
3766b7446a For Windows try to set new-console, this is necessary
to get the inferior output non interlace with gdb output.
2002-09-25 14:59:53 +00:00
Alain Magloire
defbca8c8f Remove uneeded import. 2002-09-24 19:29:51 +00:00
Alain Magloire
d6f41fe8a8 Change the signature on SetAutoSolib to take a boolean. 2002-09-24 19:20:50 +00:00
Alain Magloire
cba9b18bf5 Implement solib-search-path. 2002-09-24 19:08:42 +00:00