1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

690 commits

Author SHA1 Message Date
Alain Magloire
122c0c38d7 Remove those methods (getInstructions) it is part
of ICDISourceManager.
2002-10-12 23:51:24 +00:00
Alain Magloire
5b7c73cea5 update. 2002-10-12 01:22:05 +00:00
Alain Magloire
39f06893f1 Implements the new MixedInstruction methods. 2002-10-12 01:21:51 +00:00
Alain Magloire
c87597043b A class to return a mixed of source and assembly instructions. 2002-10-12 01:21:29 +00:00
Alain Magloire
a4401df722 Remove ExpressionManager. 2002-10-11 14:41:35 +00:00
Alain Magloire
3cba8eaf06 Updated 2002-10-10 22:06:17 +00:00
Alain Magloire
e0077adce6 Comments. 2002-10-10 22:06:08 +00:00
Alain Magloire
96ac0e81e6 Declare a boolean variable to set if the session was terminated. 2002-10-10 22:05:53 +00:00
Alain Magloire
b3ae7fedaa Check if the level is already set in setCurrentStackFrame() if yes
make it a noop.
2002-10-10 22:04:59 +00:00
Alain Magloire
16e22eb4b8 in getInstructions() use long instead of String for addresses. 2002-10-10 15:18:23 +00:00
Alain Magloire
1d78db05eb MIGDBSetAutoSolib takes "on" or "off" 2002-10-10 11:49:24 +00:00
Alain Magloire
20520c0827 Implementing the new CDISourceManager methods for assembly. 2002-10-09 22:09:30 +00:00
Alain Magloire
00408c875a added helper method. 2002-10-09 21:59:23 +00:00
Alain Magloire
43bb02ca86 Implementing MIDisassemble parsing. 2002-10-09 21:12:03 +00:00
Alain Magloire
af2c2b4625 Commit out the logging from gdb/mi 2002-10-09 19:54:39 +00:00
David Inglis
364318b050 fixed small bug - forgot to use gdb string passed in 2002-10-09 14:14:24 +00:00
Alain Magloire
975236b144 This is a major cleanup, by boosting the number of warnings in
the compiler, for unuse vairables, imports etc ...
2002-10-09 14:08:42 +00:00
Alain Magloire
426a675867 move the creation of pty into a higher another method. 2002-10-09 13:38:21 +00:00
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
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