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

448 commits

Author SHA1 Message Date
Peter Graves
32b09f9ef9 Initial commit of new debug tests. 2002-10-10 13:06:39 +00:00
Alain Magloire
1d78db05eb MIGDBSetAutoSolib takes "on" or "off" 2002-10-10 11:49:24 +00:00
Mikhail Khodjaiants
dd2ebb3c74 Implementation of disassembly mode. 2002-10-10 03:38:46 +00:00
Mikhail Khodjaiants
c0dd34d21c Typo. 2002-10-10 02:36:42 +00:00
Mikhail Khodjaiants
aa7651d574 Implementation of disassembly mode. 2002-10-09 23:10:16 +00:00
Alain Magloire
20520c0827 Implementing the new CDISourceManager methods for assembly. 2002-10-09 22:09:30 +00:00
Alain Magloire
34558714cc Added methods to get disassemble code from the source manager. 2002-10-09 22:04:43 +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
Mikhail Khodjaiants
be32b96116 Implementation of disassembly mode. 2002-10-09 17:56:17 +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
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