cdt/cdt_6_0_x/org.eclipse.cdt.debug.mi.core/ChangeLog-2003
author dadubrow
Mon, 19 Jul 2010 14:32:19 -0500
changeset 142 241f43d93585
parent 37 c2bce6dd59e7
permissions -rw-r--r--
add mozilla plugins
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     1
2003-12-22 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     2
	Fix for bug 49282 terminate the gdb session if the termination of the inferior fails.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     3
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     4
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     5
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     6
2003-12-22 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     7
	Fix for Bug 49278 do not retry the "info threads" command if the first attempt fails.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     8
	Throw an exception from the "getCThreads" method when it fails.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     9
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    10
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    11
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    12
2003-12-18 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    13
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    14
	PR 49148
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    15
	Set environment variable value to give the program.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    16
	Arguments are VAR VALUE where VAR is variable name and VALUE is value.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    17
	VALUES of environment variables are uninterpreted strings.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    18
	This does not affect the program until the next "run" command.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    19
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    20
	So pass the string raw.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    21
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    22
	* src/org/eclipse/cdt/debug/mi/core/command/MIGDBSetEnvironment.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    23
	* src/org/eclipse/cdt/debug/mi/core/cdi/RuntimeOptions.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    24
	* src/org/eclipse/cdt/debug/mi/core/CommandFactory.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    25
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    26
2003-12-17 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    27
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    28
	Fix for bug 49061: Different values are used as default for the "Load shared library symbols automatically" option.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    29
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    30
	* src/org/eclipse/cdt/debug/mi/core/GDBDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    31
	* src/org/eclipse/cdt/debug/mi/core/GDBServerDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    32
	* src/org/eclipse/cdt/debug/mi/core/IMILaunchConfigurationConstants.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    33
	* src/org/eclipse/cdt/debug/mi/core/CygwinGDBDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    34
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    35
2003-12-16 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    36
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    37
	Show the gdb arguments when tracing.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    38
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    39
	* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    40
 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    41
2003-12-16 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    42
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    43
	Fix for PR 48870: Terminate gdb if attach to process fails.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    44
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    45
	* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    46
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    47
2003-12-09 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    48
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    49
	Do not try to interrupt if the target was suspended.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    50
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    51
	* src/org/eclipse/cdt/debug/mi/core/MIInferior.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    52
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    53
2003-12-08 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    54
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    55
	Target.terminate() did not pass the exception up.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    56
	Added new method MIInferior.terminate().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    57
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    58
	* src/org/eclipse/cdt/debug/mi/core/MIInferior.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    59
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    60
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    61
2003-12-02 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    62
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    63
	Retry the stack-info-depth when it fails the first time
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    64
	and decrement the count.  GDB can cope up the second try
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    65
	and probably mark the thread invalid.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    66
	Patch base on Ashish Karkare patch:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    67
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    68
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    69
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    70
2003-11-26 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    71
	Cleanup.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    72
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    73
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    74
	* src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    75
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    76
2003-11-26 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    77
	Cleanup.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    78
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    79
	* src/org/eclipse/cdt/debug/mi/core/GDBDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    80
	* src/org/eclipse/cdt/debug/mi/core/GDBServerDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    81
	* src/org/eclipse/cdt/debug/mi/core/CygwinGDBDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    82
	* src/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    83
	* src/org/eclipse/cdt/debug/mi/core/cdi/event/ResumedEvent.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    84
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    85
	* src/org/eclipse/cdt/debug/mi/core/command/MIBreakAfter.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    86
	* src/org/eclipse/cdt/debug/mi/core/event/MIFunctionFinishedEvent.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    87
	* src/org/eclipse/cdt/debug/mi/core/event/MIInferiorSignalExitEvent.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    88
	* src/org/eclipse/cdt/debug/mi/core/event/MISignalEvent.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    89
	* src/org/eclipse/cdt/debug/mi/core/event/MIWatchpointTriggerEvent.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    90
	* src/org/eclipse/cdt/debug/mi/core/output/MIGDBShowDirectoriesInfo.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    91
	* src/org/eclipse/cdt/debug/mi/core/output/MIGDBShowSolibSearchPathInfo.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    92
	* src/org/eclipse/cdt/debug/mi/core/output/MIList.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    93
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    94
2003-11-25 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    95
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    96
	Process the suspend event even if there is not threads
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    97
	or stack associated with the target.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    98
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    99
	* src/org/eclipse/cdt/debug/mi/core/cdi/EventManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   100
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   101
2003-11-22 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   102
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   103
	In MISession constructor if the initialization fails shutdown
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   104
	the Tx/RX/Event threads.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   105
	In MIPlugin if the initialization fails shutdown the pty console.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   106
	Ditto for GDBDebugger/GDBServerDebugger/CygwinGDBDebugger.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   107
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   108
	* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   109
	* src/org/eclipse/cdt/debug/mi/core/MISession.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   110
	* src/org/eclipse/cdt/debug/mi/core/GDBDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   111
	* src/org/eclipse/cdt/debug/mi/core/GDBServerDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   112
	* src/org/eclipse/cdt/debug/mi/core/CygwinGDBDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   113
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   114
2003-11-21 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   115
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   116
	The wrong MIPlugin.createCSession() method was used.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   117
	Problem noted by Ashish.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   118
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   119
	* src/org/eclipse/cdt/debug/mi/core/GDBServerDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   120
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   121
2003-11-21 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   122
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   123
	* src/org/eclipse/cdt/debug/mi/core/output/MIFrame.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   124
	Fix for PR 46592: Debug View shows Functions as func(type param,...)().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   125
	Return an empty string instead of "??" if the function name is not available.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   126
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   127
2003-11-20 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   128
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   129
	Fix NPE: 46313. Setting breakpoint when the target was running
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   130
	was throwing NPE.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   131
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   132
	* src/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   133
	* src/org/eclipse/cdt/debug/mi/core/cdit/EventManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   134
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   135
2003-11-19 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   136
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   137
	Fix for PR 45533: MIException while creating MISession can leave an orphan gdb process.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   138
	* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java: removed the 'getAdjustedTimeout' method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   139
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   140
2003-11-19 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   141
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   142
	Fix for PR 45533: MIException while creating MISession can leave an orphan gdb process. 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   143
	* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java: initialization of preferences by default values. 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   144
	* src/org/eclipse/cdt/debug/mi/core/MISession.java: removed the duplicate constant for the default 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   145
	launch timeout value. 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   146
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   147
2003-11-13 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   148
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   149
	* src/org/eclipse/cdt/debug/mi/core/output/MIFrame.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   150
	Fix for PR 46592: Debug View shows Functions as func(type param,...)().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   151
	In some situations gdb returns the function names that include parameter types. 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   152
	To make the presentation consistent truncate the parameters.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   153
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   154
2003-11-06 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   155
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   156
	* src/org/eclipse/cdt/debug/mi/core/cdi/EventManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   157
	Small fix for the defferred breakpoint support.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   158
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   159
2003-11-06 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   160
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   161
	Patch from Ashish Karkare:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   162
	A CDT 1.2 patch that enables setting of
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   163
	serial line speed in the launch configuration when debugging remote targets.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   164
 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   165
	* src/org/eclipse/cdt/debug/mi/core/IGDBServerMILaunchConfigurationConstants.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   166
    New attribute definition DEV_SPEED.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   167
 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   168
	* src/org/eclipse/cdt/debug/mi/core/GDBServerDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   169
    Extracts  serial speed value and passes it to createCSession().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   170
  
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   171
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   172
2003-10-29 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   173
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   174
	Deal with PR 45533
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   175
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   176
	Make a preferenc for Timeout and use it when launching
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   177
	the ICDebugger session, when way wait for for gdb
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   178
	to say "ready" by returning the prompt.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   179
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   180
	* src/org/eclipse/cdt/debug/mi/core/MISession.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   181
	* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   182
	* src/org/eclipse/cdt/debug/mi/core/IMIConstants.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   183
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   184
2003-10-17 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   185
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   186
	Put the framework to deal with deferred breakpoint.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   187
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   188
	* src/org/eclipse/cdt/debug/mi/core/cdi/event/ResumeEvent.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   189
	Deal with MIRunningEvent.RETURN.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   190
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Breakpoint.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   191
	Check if MIBreakpoint is null first.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   192
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Watchpoint.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   193
	Check if MIWathchpoint is null first.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   194
	* src/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   195
	Implement Deferred Breakpoint
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   196
	* src/org/eclipse/cdt/debug/mi/core/cdi/SharedLibraryManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   197
	Implement Deferred Breakpoint
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   198
	* src/org/eclipse/cdt/debug/mi/core/GDBDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   199
	Enable deferredBreakpoint.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   200
	* src/org/eclipse/cdt/debug/mi/core/CygwinDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   201
	Enable deferredBreakpoint.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   202
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   203
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   204
2003-10-07 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   205
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   206
	All methods of 'IRuntimeOptions' should throw CDI exceptions in case of failure.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   207
	* src/org/eclipse/cdt/debug/mi/core/cdi/RuntimeOptions.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   208
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   209
2003-09-30 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   210
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   211
	ICDIVariableObject.equals();
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   212
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   213
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   214
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   215
2003-09-29 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   216
	Added the initialization of the shared libraries' attributes to CygwinGDBDebugger.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   217
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   218
	* src/org/eclipse/cdt/debug/mi/core/CygwinGDBDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   219
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   220
2003-09-26 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   221
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   222
	Second part of PR 43496.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   223
	On the startup of GDB, we have to wait for "(gdb)" prompt
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   224
	to make sure that gdb is ready to accept command.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   225
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   226
	* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   227
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   228
2003-09-25 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   229
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   230
	Fix for PR 43496.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   231
	In the event of an error we should Process.destroy()
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   232
	after creating the Process.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   233
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   234
	* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   235
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   236
2003-09-11 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   237
	Moving the shared library search paths block to mi UI.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   238
	* IMILaunchConfigurationConstants.java: added the 'ATTR_DEBUGGER_SOLIB_PATH' attribute.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   239
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   240
2003-09-11 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   241
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   242
	Fix to info shared parsing.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   243
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   244
	* src/org/eclipse/cdt/debug/mi/core/output/MIInfoSharedLibary.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   245
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   246
2003-09-09 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   247
	Regrouping the launch configuration constants.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   248
	* IMILaunchConfigurationConstants.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   249
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   250
2003-09-09 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   251
	Added the 'stop-on-solib-events' option. 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   252
	Changed the initialization of the shared library search path.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   253
	Changed the messages of the thrown exceptions.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   254
	* GDBDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   255
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   256
2003-09-09 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   257
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   258
	CoreFileConfiguration supports shared libraries.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   259
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   260
	* src/org/eclipse/cdt/debug/mi/core/cdi/CoreFileConfiguration.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   261
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   262
2003-08-30 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   263
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   264
	Unnecessary synchronization making deadlocks.  Should revisit this code.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   265
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   266
	* src/org/eclipse/cdt/debug/mi/core/MIInferior.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   267
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   268
2003-08-29 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   269
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   270
	Added new command - 'set stop-on-solib-events'.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   271
	 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   272
	* src/org/eclipse/cdt/debug/mi/core/command/MIGDBSetStopOnSolibEvents.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   273
	* src/org/eclipse/cdt/debug/mi/core/command/CommandFactory.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   274
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   275
	Implementation of the new methods added to the 'ICDISharedLibraryManager' interface.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   276
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   277
	* src/org/eclipse/cdt/debug/mi/core/cdi/SharedLibraryManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   278
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   279
2003-08-26 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   280
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   281
	This is still a hack: "info shared"  the real solution
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   282
	is to implement in GDB/MI the corresponding command.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   283
	So now we do weird parsing, that varies from platform
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   284
	to platform.  For example Cygwin output of "info shared"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   285
	is totally different from the GNU/Linux one etc ...
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   286
	We the best we can to cope ... but things will break.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   287
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   288
	* src/org/eclipse.cdt/debug/mi/core/output/MIInfoSharedLibraryInfo.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   289
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   290
2003-08-26 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   291
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   292
	Using the wrong method for toString() and we were returning
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   293
	a overly verbose string.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   294
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   295
	* src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   296
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   297
2003-08-25 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   298
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   299
	Small fix, get the datatype for the GDBTypeParser.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   300
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   301
	* src/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   302
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   303
2003-08-22 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   304
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   305
	For casting array we use the "@" format, hide it in
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   306
	the name.  But show it the qualifiedName() since the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   307
	expression is use to evaluate.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   308
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   309
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   310
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   311
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   312
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   313
2003-08-21 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   314
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   315
	GDB varobj for the arrays children name only returns
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   316
	the index.  We need to construct the entire name:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   317
	char buffer[2]
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   318
	GDB return "0", "1" for the children names.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   319
	We will return
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   320
	"buffer[0]", "buffer[1]"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   321
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   322
	* src/org/eclipse/cdt/debug/mi/core/cdi/Variable.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   323
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   324
2003-08-20 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   325
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   326
	GDB/MI altough define an interface that all commands should
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   327
	follow .. they do not.  For example, we should be able
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   328
	to separate options from agument with a "--" string not
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   329
	all commands.  The latest is -break-condition.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   330
	So we override the MICommand.toString() to do specific
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   331
	parsing for specific commands.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   332
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   333
	* src/org/eclipse/cdt/debug/mi/core/command/MICommand.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   334
	break the toString() method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   335
	* src/org/eclipse/cdt/debug/mi/core/command/MIBreakCondition.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   336
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   337
2003-08-19 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   338
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   339
	Fix to the GDBTypeParser to deal with gdb
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   340
	awkwardness
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   341
	* src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   342
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   343
2003-08-19 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   344
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   345
	GDB, uses false category for C++ class/struct.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   346
	Fix to return the correct name.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   347
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   348
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   349
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   350
2003-08-18 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   351
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   352
	Patch from Chris Songer, excerpt from the email.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   353
	Using the phrase "To ensure consistency between a register name and its
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   354
	number, the output list may include empty register names," the MI protocol
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   355
	appears to allow gdb to return a "sparse" array of registers by giving a 0
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   356
	length name in response to the -data-list-register-names-command. CDT 1.0.1
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   357
	does not handle this especially well and subsequently exposes a bug in GDB
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   358
	5.1.3 and crashes it if the debugger has more than 3  register names of 0
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   359
	length.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   360
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   361
	example:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   362
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   363
	8-data-list-register-names
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   364
	(gdb)                                                                                                                          
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   365
	8^done,register-names=["ar0","ar1",... ,"","","","","","","ur0",\
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   366
	"ur1","ur2","ur3","ur4","ur5","ur6","ur7","","" ..]
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   367
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   368
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   369
	* src/org/eclipse/cdt/debug/mi/core/output/MIDataListRegisterNamesInfo.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   370
	New method getNumRealNames().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   371
	* src/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   372
	Check if the register name is not empty.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   373
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   374
2003-08-18 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   375
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   376
	From the manual:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   377
	By default GDB will automatically keep track of objects as they are
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   378
	loaded and unloaded by the dynamic linker.  By using the command `set
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   379
	stop-on-solib-events 1' you can arrange for GDB to stop the inferior
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   380
	when shared library events occur, thus allowing you to set breakpoints
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   381
	in shared libraries which are explicitly loaded by the inferior.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   382
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   383
	* src/org/eclipse/cdt/debug/mi/core/event/MISharedLibEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   384
	New file, StoppedEvent du to shared lib events.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   385
	* src/org/eclipse/cdt/debug/mi/core/cdi/event/SuspendedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   386
	Catch MISharedLibEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   387
	* src/org/eclipse/cdt/debug/mi/core/cdi/SharedLibraryevent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   388
	New file implements ICDISharedLibaryEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   389
	* src/org/eclipse/cdt/debug/mi/core/RxThread.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   390
	Hack to catch suspend/stop on shared library.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   391
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   392
2003-08-11 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   393
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/ArrayValue.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   394
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   395
	Removed the 'type' parameter from the 'getVariableObjectAsArray' method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   396
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   397
2003-08-11 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   398
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/ArrayValue.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   399
	The 'type' argument of the 'getVariableObjectAsArray' method shouldn't be null.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   400
 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   401
2003-08-11 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   402
	* src/org/eclipse/cdt/debug/mi/core/cdi/variableManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   403
	Mistype in the 'CheckType' method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   404
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   405
2003-08-07 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   406
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   407
	* src/org/eclipse/cdt/debug/mi/core/cdi/variableManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   408
	getVariableObjectAsArray() ignore the type argument it does
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   409
	not work with gdb.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   410
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   411
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   412
	Added hasChildren() method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   413
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   414
2003-08-07 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   415
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   416
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   417
	Update the interface to reflect ICDIVariableManager.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   418
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   419
2003-08-06 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   420
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/ArrayValue.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   421
	Removed the unused local variable 'children' from the 'getVariables' method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   422
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   423
2003-08-07 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   424
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   425
	PR 38964.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   426
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   427
	* src/org/eclipse/cdt/debug/mi/core/MIInferior.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   428
	The method interrupted was synchronized and so was the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   429
	setSuspended().  Now do a notify when the status change.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   430
	Throw an exception if the interrupt() failed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   431
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   432
	Do not check for running.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   433
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   434
2003-08-06 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   435
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   436
	Dealing with casting: Casting a field of a structure did not
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   437
	work properly for example:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   438
		struct foo { int bar; } foobar;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   439
	To cast the field bar, we need to construct the full qualified
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   440
	name "foobar.bar".
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   441
	Unfortunately for C++ things are hectic in the GDB/MI world
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   442
	the childre of structure are not the fields.  So we try to
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   443
	deal with it too.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   444
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   445
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   446
	New constructor, new method getLanguage() to deal with
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   447
	different type of languages ex: C vs C++.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   448
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   449
	Clean up and added a bunch of set/getXXX() methods instead of
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   450
	accessing directly the fields.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   451
	* src/og/eclipse/cdt/debug/mi/core/cdi/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   452
	Clean the methods use for casting and format the indentation.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   453
	* src/org/eclipse/cdt/debug/mi/core/command/MIVarInfoExpression.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   454
	Added parsing method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   455
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   456
2003-08-06 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   457
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   458
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   459
	Implement isEditable method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   460
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   461
2003-08-06 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   462
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   463
	Fix for 'isEditable'.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   464
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   465
	Use correct expression in 'sizeof'.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   466
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   467
2003-08-06 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   468
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   469
	First framework to deal with breaking the arrays in ranges.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   470
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   471
	*  src/org/eclipse/cdt/debug/mi/core/cdi/model/Argument.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   472
	Remove unused getArgumentObject().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   473
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Register.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   474
	Remove unuse getRegisterObject().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   475
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   476
	Move methods to VariableObject to comply with the interface.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   477
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   478
	Implement new methods of ICDIVariableObject.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   479
	Save the castin information.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   480
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/ArrayValue.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   481
	New method getVariables(int, int).
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   482
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   483
	New method encodeVariable(), to get the encode specific string
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   484
	for gdb casting of arrays.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   485
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   486
2003-07-28 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   487
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   488
	Minimize the number of the "evaluate expression" requests when changing the value of the floating point types.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   489
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   490
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/FloatingPointValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   491
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   492
2003-07-17 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   493
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   494
	Catch the use of cli command "detach" and fire the appropriate events.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   495
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   496
	* src/org/eclipse/cdt/debug/mi/core/CLIProcessor.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   497
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   498
2003-07-16 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   499
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   500
	Provide FunctionValue, PointerValue and ArrayValue.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   501
	For ArrayValue apply the patch from Chris Songer, excerpt from
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   502
	his email:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   503
		Given GDB performance, we saw CDT start to time out on large array 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   504
 		requests. The following patch corrects this by scaling the time out with 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   505
		the number of children being retrieved. I have not looked at the head on 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   506
		this so your mileage may vary. On 1.0.1 with this and the MIParser change 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   507
		you can open 16k arrays.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   508
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   509
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/AggregateValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   510
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/DerivedValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   511
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/PointerValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   512
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/ReferenceValueValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   513
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/ArrayValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   514
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/StructValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   515
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Value.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   516
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   517
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   518
2003-07-10 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   519
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   520
	In the case of not having a PTY to unmixed inferior output from gdb commands
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   521
	do the only sane thing and when a response comes in that is not a valid
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   522
	MI format consider it as inferior output.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   523
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   524
	* src/org/eclipse/cdt/debug/mi/core/output/MIParser.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   525
	Put non valid lines in the TargetStream.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   526
	* src/org/eclipse/cdt/debug/mi/core/MIInferior.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   527
	Pass output straight to the target.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   528
	* src/org/eclipse/cdt/debug/mi/core/TxThread.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   529
	Remove unused code.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   530
	* src/org/eclipse/cdt/debug/mi/core/command/Command.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   531
	Try to remove duplicate errors when throwing the MIException.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   532
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   533
2003-07-08 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   534
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   535
	Unfortunately GDB/MI does not make the errors available via the advertise
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   536
	way explain in the documentation, for example:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   537
		27-var-create - * this->aaa
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   538
		&"There is no member or method named aaa.\n"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   539
		&"Type Hello has no component named aaa.\n"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   540
		27^error,msg="."
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   541
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   542
	According to the doc, the error should be available in the msg field:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   543
		27^error,msg="There is no member or method named aaaa"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   544
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   545
	Since this will not be fix in GDB/MI anytime soon, we cope with it by
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   546
	grabing the logstream error and make it available in
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   547
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   548
		CDIException.getDetailedMesssage().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   549
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   550
	* src/org/eclipse/cdt/debug/mi/core/command/*.java:  All the commands
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   551
	changed to grab also the logstream messages if any for the exception.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   552
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   553
2003-06-25 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   554
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   555
	Patch from Chris Songer, excerpt from its email:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   556
	The MIParser is O(N^2) time in the length of a line returned from GDB. 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   557
	While not an issue for OOB messages, this can be quite an issue for array 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   558
	retrieval from the target and other potentially long messages. It's N^2 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   559
	because it relies on StringBuffer.deleteCharAt( 0 ) and 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   560
	StringBuffer.delete( 0, X ). These operations appear to do a copy of the 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   561
	remaining data in the Sun Java library rather than bumping some index.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   562
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   563
	The following diffs are code that we are using on 1.0.1 to correct this 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   564
	issue. It's relatively new, so there may be some bugs but has certainly 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   565
	performed just fine in our initial regressions. Because of that I'm not 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   566
	sending it in as a patch, more an FYI really. The basic change is exactly 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   567
	what you'd expect: these diffs make MIParser use a new type of string 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   568
	buffer that's quite efficient at deleting from the head of the array.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   569
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   570
	* src/org/eclipse/cdt/debug/mi/core/output/MIParser.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   571
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   572
2003-06-18 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   573
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   574
	* src/org/eclipse/cdt/debug/mi/core/cdi/event/ChangedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   575
	Check if the variable was a register.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   576
	* src/org/eclipse/cdt/debug/mi/core/cdi/event/CreatedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   577
	Cleanup.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   578
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Register.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   579
	Removing of method {get,set}Value() and new method getChildren().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   580
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   581
	(setValue): calls update on the appropriate manager.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   582
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/RegisterValue.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   583
	Remove file, unused.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   584
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   585
	(getVariableObjectAsType): check for register.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   586
	(getVariableObjectAsArray): check for register.	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   587
	* src/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   588
	(getRegister): reimplemented.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   589
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   590
2003-06-18 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   591
	Removed unused local variable.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   592
	* src/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   593
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   594
2003-06-17 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   595
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   596
	PR 38934
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   597
	* src/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   598
	We have to call "-var-update" to update the register values in gdb.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   599
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   600
2003-06-05 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   601
	gdb/mi support of infinite values of the floating point types.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   602
	* DoubleValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   603
	* FloatingPointValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   604
	* FloatValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   605
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   606
2003-06-05 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   607
	Removed the redundant methods from the 'ICDIFloatingPointValue' interface.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   608
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/FloatingPointValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   609
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   610
2003-06-04 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   611
	Correction in the parsing of reference value.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   612
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/ReferenceValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   613
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   614
2003-06-04 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   615
	Added some missing types and methods for the type parsing.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   616
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   617
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/ArrayType.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   618
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/DoubleValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   619
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/FloatingPointValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   620
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/FloatValue.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   621
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/PointerValue.java: new
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   622
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/ReferenceValue.java: new
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   623
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   624
2003-06-03 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   625
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   626
	* src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   627
	Bug fix gdb returns fix like "char [200]" no variables.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   628
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   629
2003-06-03 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   630
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   631
	* src/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   632
	(getType): save the head of the type for the return value.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   633
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   634
2003-06-02 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   635
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   636
	Enable the new type parsing with the class GDBTypeParser.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   637
	This class takes the output of GDB/MI
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   638
	(gdb) whatis
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   639
	or
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   640
	(gdb) ptype
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   641
	And parse it.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   642
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   643
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/ArrayType.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   644
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/DerivedType.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   645
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/PointerType.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   646
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/type/FunctionType.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   647
	* src/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   648
	* src/org/eclipse/cdt/debug/mi/core/GDBTypeParser.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   649
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   650
2003-05-25 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   651
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   652
	Do extra parsing.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   653
	* src/org/eclipse/cdt/debug/mi/core/model/type/ArrayType.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   654
	* src/org/eclipse/cdt/debug/mi/core/model/type/DerivedType.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   655
	* src/org/eclipse/cdt/debug/mi/core/model/type/PointerType.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   656
	* src/org/eclipse/cdt/debug/mi/core/model/type/FunctionType.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   657
	* src/org/eclipse/cdt/debug/mi/core/model/Variable.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   658
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   659
2003-05-24 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   660
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   661
	* src/org/eclipse/cdt/debug/mi/core/cdi/StackFrame.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   662
	When execption reset the variable to null and rethrow the exception.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   663
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   664
2003-05-24 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   665
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   666
	Continuing the implementation of types.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   667
	ICDIType is ICDIObject.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   668
	* src/org/eclispe/cdt/mi/core/cdi/model/type/Type.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   669
	Extends CObject
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   670
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   671
2003-05-23 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   672
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   673
	Draft implementation of org.eclipse.cdt.debug.core.cdi.model.type/*
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   674
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   675
2003-05-06 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   676
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   677
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java (suspend):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   678
	Suspend the program before selecting the thread.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   679
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   680
2003-05-01 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   681
	Implementations of the new "terminateSessionOnExit" method of ICDIConfiguration.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   682
	* Configuration.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   683
	* CoreFileConfiguration.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   684
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   685
2003-04-30 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   686
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   687
	* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   688
	Call MIInferior.update() if attaching session.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   689
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   690
2003-04-30 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   691
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   692
	* src/org/eclipse/cdt/debug/mi/core/cdi/Configuration.java (supportsTerminate):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   693
	Returns true.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   694
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   695
2003-04-25 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   696
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   697
	* src/org/eclipse/cdt/debug/mi/core/EventManager.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   698
	Remove the call to MIInferior.update(), wrong place.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   699
	* src/org/eclipse/cdt/debug/mi/core/EventThread.java (run):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   700
	Call MIInferior.update() when suspended.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   701
	* src/org/eclipse/cdt/debug/mi/core/MIInferior.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   702
	Do not do the call to "info program" for type "attached" sessions.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   703
	* src/org/eclipse/cdt/debug/mi/core/MISession.java (terminate):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   704
	When terminate() is call disable posting commands to the queue etc...
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   705
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   706
2003-04-25 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   707
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   708
	Fix for bug 36909.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   709
	* MIFrame.java: 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   710
	gdb returns "??" as a function name if symbols are not available.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   711
	Set the function name in this case to "";
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   712
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   713
2003-04-24 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   714
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   715
	* src/org/eclipse/cdt/debug/mi/core/command/CommandFactory.java (createMIInfoProgram):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   716
	New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   717
	* src/org/eclipse/cdt/debug/mi/core/command/MIInfoProgram.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   718
	New file, "info program".
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   719
	* src/org/eclipse/cdt/debug/mi/core/output/MIInfoProgramInfo.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   720
	New file, parsing of "info Program".
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   721
	* src/org/eclipse/cdt/debug/mi/core/output/EventManager.java (processSuspend):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   722
	Call MIInferio.update();
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   723
	* src/org/eclipse/cdt/debug/mi/core/MIInferior.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   724
	New method to retrieve the pid.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   725
	(interrupt): Try doing Spawner.raise(pid, INT) as a fallback.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   726
	* src/org/eclipse/cdt/debug/mi/core/cdi/Configuration.java (supportSuspend):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   727
	Bug fix.	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   728
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   729
2003-04-23 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   730
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   731
	* src/org/eclipse/cdt/debug/mi/core/cdi/SignalManager.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   732
	Move the creation of the list after the call to "info signals".
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   733
	The call may fail.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   734
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   735
2003-04-21 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   736
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   737
	* src/org/eclipse/cdt/debug/mi/core/cdi/Target.java (suspend):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   738
	Remove the delay of 10 secs.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   739
	* src/org/eclipse/cdt/debug/mi/core/MIInferior.java (interrupt):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   740
	Do a delay of 10 secs to allow time for the inferior to stop.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   741
	* src/org/eclipse/cdt/debug/mi/core/MISession.java (terminate) :
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   742
	Clear the EventQueue, if we restart.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   743
	* src/org/eclipse/cdt/debug/mi/core/Queue (isEmpty):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   744
	New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   745
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   746
2003-04-21 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   747
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   748
	* src/org/eclipse/cdt/debug/mi/core/GDBDebugger.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   749
	* src/org/eclipse/cdt/debug/mi/core/GDBServerDebugger.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   750
	Ignore exception when doing "set auto-solib-path on".
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   751
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   752
2003-04-17 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   753
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   754
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   755
	setCurrentThread(), calls VariableManager.update();
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   756
	* src/org/eclipse/cdt/debug/micore/cdt/model/Thread.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   757
	setCurrentStackFrame() calls VariableManager.update();
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   758
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   759
2003-04-07 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   760
	Changed the messages of CDI exceptions.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   761
	* MISession.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   762
	* Target.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   763
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   764
2003-04-04 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   765
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   766
	Code from Monta Vista to add a Session via GDBServer.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   767
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   768
	* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   769
	* src/org/eclipse/cdt/debug/mi/core/GDBServerDebugger.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   770
	* src/org/eclipse/cdt/debug/mi/core/IGDBServerMILaunchConfigurationConstants.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   771
	* plugin.xml
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   772
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   773
2003-04-04 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   774
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   775
	* src/org/eclipse/cdt/debug/mi/core/cdt/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   776
	Check for null in update().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   777
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   778
2003-04-03 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   779
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   780
	* src/org/eclipse/cdt/debug/mi/core/cdt/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   781
	update(), put a limit on the number of stack we check for variables.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   782
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   783
2003-04-03 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   784
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   785
	* src/org/eclipse/cdt/debug/mi/core/cdt/model/Target.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   786
	* src/org/eclipse/cdt/debug/mi/core/cdt/model/Thread.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   787
	Before updating the register check if the manager is on autoupdate.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   788
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   789
2003-04-02 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   790
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   791
	* src/org/eclipse/cdt/debug/mi/core/cdt/model/Target.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   792
	suspend() sync for at least < 10 seconds to allow the gdb to
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   793
	suspend via SIGINT the program.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   794
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   795
2003-03-28 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   796
	Added time stamp to the trace messages.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   797
	* MIPlugin.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   798
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   799
2003-03-28 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   800
	Correction of the previous patch.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   801
	* MIAsm.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   802
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   803
2003-03-27 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   804
	Applied patch from Chris Songer: Assembly View Fixups
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   805
	* Instruction.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   806
	* MIAsm.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   807
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   808
2003-03-19 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   809
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   810
	Some applications, like recursive code, have a very deep stackframes
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   811
	bigger > 50.  This can turn out to be a problem, as the VariableManager
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   812
	will try to update all the variables and there can be a lot of local
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   813
	variable in all those stackframes.  We can not use:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   814
	"-var-update *"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   815
	either since on gdb-5.2.1, for reasons unknown to me this will make
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   816
	gdb unstable/crash.  So the approach is to only update variables
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   817
	in the current stackframe.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   818
	The advantage we only update a small set of variables.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   819
	The downside if we have side effects i.e. pointers pass to
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   820
	argument and modifying the pointer affect the callees memory.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   821
	But this is a small price to pay and usually C/C++ programmer
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   822
	are interrested to see changes of variables in the current stack
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   823
	not changes 20 stack before.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   824
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   825
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   826
	Method update() only check the variable in the scope of the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   827
	current stackframe(the highest stack).  This will include
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   828
	any globals.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   829
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   830
2003-03-19 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   831
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   832
	Base on PR/patch from Chris Songer.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   833
	Assigning a value to a register may have side-effects
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   834
	on other registers.  When assigning, the action is now
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   835
	to upate again the values.  The same for the variables.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   836
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   837
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   838
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Register.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   839
	Method setValue() calls manager.update() after the assignment.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   840
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   841
2003-03-17 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   842
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   843
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/StackFrame.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   844
	getArguments() and getLocalVariable() are caching the results.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   845
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   846
2003-03-16 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   847
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   848
	GDB/MI does not keep the stack level, from what we expect.  In gdb, the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   849
	highest stack is level 0 and lower stack as the highest level:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   850
	-stack-list-frames
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   851
	^done,stack=[frame={level="0 ",addr="0x0804845b",func="main",file="hello.c",line="24"},
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   852
	             frame={level="1 ",addr="0x42017499",func="__libc_start_main",from="/lib/i686/libc.so.6"}]
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   853
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   854
	-stack-list-frames
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   855
	^done,stack=[frame={level="0 ",addr="0x08048556",func="main2",file="hello.c",line="58"},
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   856
	             frame={level="1 ",addr="0x08048501",func="main",file="hello.c",line="41"},
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   857
	             frame={level="2 ",addr="0x42017499",func="__libc_start_main",from="/lib/i686/libc.so.6"}]
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   858
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   859
	This is of no use to us since the level is always "0".  The level is necessary for example when
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   860
	doing recursive calls to make a distinction between frames.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   861
	So in CDT this reverse the hidghest frame will have the highest number. In CDT:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   862
	stack=[frame={level="2 ",addr="0x0804845b",func="main",file="hello.c",line="24"},
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   863
	       frame={level="1 ",addr="0x42017499",func="__libc_start_main",from="/lib/i686/libc.so.6"}]
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   864
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   865
	stack=[frame={level="3 ",addr="0x08048556",func="main2",file="hello.c",line="58"},
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   866
	       frame={level="2 ",addr="0x08048501",func="main",file="hello.c",line="41"},
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   867
	       frame={level="1 ",addr="0x42017499",func="__libc_start_main",from="/lib/i686/libc.so.6"}]
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   868
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   869
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   870
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/StackFrame.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   871
	Takes a new Argument in the constructor, the level.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   872
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Threawd.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   873
	Create the StackFrame with the constructor.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   874
	* src/org/eclipse/cdt/debug/mi/core/cdi/Location.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   875
	Fix equals().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   876
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   877
	Use the right level when setting the frame.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   878
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   879
2003-03-14 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   880
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   881
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Argument.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   882
	New method getArgumentObject().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   883
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Register.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   884
	New method getRegisterObject().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   885
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   886
	Checks for ICDIVariable and ICDIArgument since they are now ICDIVariableObject too.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   887
	* src/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   888
	Checks for ICDIRegister when creating since they are now ICDIRegisterObject too.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   889
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   890
2003-03-13 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   891
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   892
	Small bug fix
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   893
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   894
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   895
2003-03-13 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   896
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   897
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   898
	New method getLocalVariableObjects() implemented returns all the local.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   899
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/StackFrame.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   900
	getLocalVariables() use getLocalVariableObjects().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   901
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   902
	getName() does not longer throw an Exception.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   903
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   904
2003-03-11 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   905
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   906
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   907
	New methods getVariableObjectAsArray() getVariableObjectAsType().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   908
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   909
2003-03-03 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   910
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   911
	* src/org/eclipse/cdt/debug/mi/core/CommandQueue.java (print): Comment out.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   912
	* src/org/eclipse/cdt/debug/mi/core/Queue.java (print): Comment out.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   913
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   914
2003-02-12 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   915
	The 'setAutoSolib' method is no longer in ICDISharedLibraryManager.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   916
	* GDBDebugger.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   917
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   918
2003-02-12 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   919
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   920
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   921
	Removed getRegisterObjects(), getRegisters(), getSharedLibraries().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   922
	Those actions are done via the managers.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   923
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   924
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java (getChild):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   925
	Check the grand children also.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   926
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   927
2003-02-12 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   928
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   929
	* src/org/eclipse/cdt/debug/mi/core/cdi/SharedLibraryManager.java (isAutoLoadSymbols):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   930
	New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   931
	* src/org/eclipse/cdt/deb/mi/core/command/MIGDBShow.java (getMIGDBShowInfo):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   932
	New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   933
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   934
2003-02-12 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   935
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   936
	* src/org/eclipse/cdt/debug/mi/core/cdi/event/ChangedEvent.java (ChangedEvent):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   937
	Returns a Variable.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   938
	* src/org/eclipse/cdt/debug/mi/core/cdi/event/DestroyedEvent.java (DestroyedEvent):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   939
	Check if it was an expression also.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   940
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Value.java (getVariables):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   941
	Calls the parent's implementation.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   942
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Variable.java (getVariables):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   943
	New implementation.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   944
	* src/org/eclipse/cdt/debug/mi/core/cdi/EventManager.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   945
	Deal with new MIVarDeleteEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   946
	* src/org/eclipse/cdt/debug/mi/core/cdi/ExpressionManager.java (addExpression):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   947
	Removed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   948
	(removeExpression): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   949
	* src/org/eclipse/cdt/debug/mi/core/event/MIVarChangedEvent.java (getScope):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   950
	removed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   951
	* src/org/eclipse/cdt/debug/mi/core/event/MIVarDeletedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   952
	New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   953
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   954
2003-02-09 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   955
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   956
	in GDB/MI 5.3 and below, the -data-list-register-xxx can bring gdb down with
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   957
	an assert().  The problem is that code like this
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   958
	ui_out_list_begin();
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   959
	for () {
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   960
		if(error)
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   961
			return ERROR;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   962
	}
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   963
	ui_out_list_end();
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   964
	The ui_out_list_end() is never call.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   965
	However gdb offers the varobj to deal cleanly with register but calling
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   966
	"-var-update *" seems to make gdb misbehave and hang after a while.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   967
	So we use a mixed of -data-list-register-xxx calls and var-object to deal
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   968
	with registers and do not call "-var-update *" but rather call it for
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   969
	each time for individual objects to see the updates.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   970
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   971
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Register.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   972
	Reimplemented to use the var obj.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   973
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/RegisterValue.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   974
	New file implement ICDIValue.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   975
	* src/org/eclipse/cdt/debug/mi/core/cdi/EventManagero.java (processSuspendedEvent):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   976
	Call each manager.update().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   977
	* src/org/eclipse/cdt/debug/mi/core/cdi/ExpressionManager.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   978
	Reimplemented.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   979
	* src/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   980
	Reimplemented
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   981
	* src/org/eclipse/cdt/debug/mi/core/cdi/UpdateManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   982
	Removed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   983
	* src/org/eclipse/cdt/debug/mi/core/cdi/IUpdateListener.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   984
	Removed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   985
	* src/org/eclipse/cdt/debug/mi/core/CLIProcessor.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   986
	Catch the cli "run" command.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   987
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   988
2003-02-06 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   989
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   990
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java (getVariableArrayObject):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   991
	New Method to type cast in an array.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   992
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java (VariableObject):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   993
	New constructor.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   994
	* src/org/eclipse/cdt/debug/mi/core/cdi/SignalManger.java(getSignal):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   995
	Return an signal object even when the session is terminated.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   996
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   997
2003-02-05 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   998
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   999
	* src/org/eclipse/cdt/debug/mi/core/command/MISignal.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1000
	* src/org/eclipse/cdt/debug/mi/core/command/MIJump.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1001
	Return a fake ^running, since the MI semantic is not respected.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1002
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1003
2003-02-04 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1004
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1005
	* src/org/eclipse/cdt/debug/mi/core/CLICommand.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1006
	Catch cli command "jump"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1007
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1008
2003-02-04 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1009
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1010
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1011
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1012
	New implementation for signal(), jump, and stepReturn(boolean).
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1013
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Signal.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1014
	(signal): Calls Target.signal().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1015
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/SignalManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1016
	(signal): Method removed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1017
	* src/org/eclipse/cdt/debug/mi/core/command/MIJump.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1018
	New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1019
	* src/org/eclipse/cdt/debug/mi/core/command/CommandFactory.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1020
	New method creteMIJump().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1021
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1022
2003-02-04 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1023
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1024
	* src/org/eclipse/cdt/debug/mi/core/cdi/SignalManger.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1025
	Implement signal() method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1026
	* src/org/eclipse/cdt/debug/mi/core/command/MISignal.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1027
	New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1028
	* src/org/eclipse/cdt/debug/mi/core/command/CommandFactory.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1029
	(createMISignal): new method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1030
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1031
2003-02-04 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1032
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1033
	* src/org/eclipse/cdt/debug/mi/core/cdi/event/ExitedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1034
	Catch MIInferiorSignalExitEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1035
	* src/org/eclipse/cdt/debug/mi/core/cdi/event/ExitedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1036
	Catch MIInferiorSignalExitEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1037
	* src/org/eclipse/cdt/debug/mi/core/cdi/SignalExitInfo.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1038
	New File.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1039
	* src/org/eclipse/cdt/debug/mi/core/event/MIInferiorSignalExitEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1040
	New File
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1041
	* src/org/eclipse/cdt/debug/mi/core/event/CLIProcessir.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1042
	"signal" command is like continue.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1043
	* src/org/eclipse/cdt/debug/mi/core/event/RxThread.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1044
	Catch MIInferiorSignalExitEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1045
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1046
2003-02-04 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1047
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1048
	Refactor MISignal in MISigHandle to not confus with 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1049
	CLI command "signal SIGNAL".
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1050
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1051
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Signal.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1052
	* src/org/eclipse/cdt/debug/mi/core/cdi/SignalManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1053
	* src/org/eclipse/cdt/debug/mi/core/output/MIInfoSignalsInfo.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1054
	* src/org/eclipse/cdt/debug/mi/core/output/MISigHandle.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1055
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1056
2003-02-03 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1057
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1058
	* src/org/eclipse/cdt/debug/mi/core/cdi/SharedLibraryManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1059
	(loadSymbols): set the read flag to true.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1060
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/SharedLibrary.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1061
	(getMIShared): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1062
	* src/org/eclipse/cdt/debug/mi/core/output/MIShared.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1063
	(setSymbolsRead): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1064
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1065
2003-02-01 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1066
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1067
	* src/org/eclipse/cdt/debug/mi/core/cdi/event/ChangedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1068
	Support for ICDISignal event.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1069
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Signal.java (handle):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1070
	Implemented.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1071
	* src/org/eclipse/cdt/debug/mi/core/cdi/EventManager.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1072
	Support for ICDISignal event.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1073
	* src/org/eclipse/cdt/debug/mi/core/cdi/SignalManager.java (handle):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1074
	New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1075
	* src/org/eclipse/cdt/debug/mi/core/command/CommandFactory.java (createMIHandle):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1076
	New method
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1077
	* src/org/eclipse/cdt/debug/mi/core/command/MIHandle.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1078
	New File.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1079
	* src/org/eclipse/cdt/debug/mi/core/CLICommand.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1080
	Check for "handle" and "signal" cli command.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1081
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1082
2003-01-31 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1083
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1084
	* src/org/eclipse/cdt/debug/mi/core/cdi/event/DestroyedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1085
	Use deleteSharedLibrary from the manager.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1086
	* src/org/eclipse/cdt/debug/mi/core/cdi/signal/Signal.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1087
	Construct a signal base on the MISignal response.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1088
	* src/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1089
	(suspendedInferior): Take ICDITarget as argument.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1090
	(resumeInferior): Take ICDITarget as argument.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1091
	* src/org/eclipse/cdt/debug/mi/core/cdi/SharedLibraryManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1092
	(containsSharedLibrary): removed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1093
	* src/org/eclipse/cdt/debug/mi/core/cdi/SignalManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1094
	(update): implemented.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1095
	(getSignals): implemented.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1096
	* src/org/eclipse/cdt/debug/mi/core/cdi/SignalReceived.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1097
	Ask the manager for the signal.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1098
	* src/org/eclipse/cdt/debug/mi/core/event/MISignalEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1099
	New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1100
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1101
2003-01-29 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1102
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1103
	* src/org/eclipse/cdt/debug/mi/core/cdi/SharedLibraryManager.java (getSharedLibraryPaths):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1104
	New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1105
	(setSharedLibraryPaths): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1106
	(setAutoLoadSymbols): New methos set autosolib.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1107
	* src/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java (setAutoSolib):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1108
	Move to SharedLibraryManager.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1109
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1110
2003-01-28 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1111
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1112
	* src/org/eclipse/cdt/debug/mi/core/command/MIInfoSignals.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1113
	* src/org/eclipse/cdt/debug/mi/core/output/MIInfoSignalsInfo.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1114
	* src/org/eclipse/cdt/debug/mi/core/output/MISignal.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1115
	New files.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1116
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1117
2003-01-28 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1118
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1119
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/ArgumentObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1120
	Use ICDIStackFrame in the constructor.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1121
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/RegisterObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1122
	Use ICDIStackFrame in the constructor.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1123
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1124
	Use ICDIStackFrame in the constructor.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1125
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Value.java (getVariables):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1126
	No need to cast to StackFrame.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1127
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Thread.java (setCurrentFrame):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1128
	Implement new method, takes a boolean as the second method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1129
	* src/org/eclipse/cdt/debug/mi/core/cdi/ExpressionManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1130
	No need to cast to StackFrame.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1131
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1132
	No need to cast to StackFrame.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1133
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1134
2003-01-28 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1135
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1136
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Breakpoint.java (getCondition):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1137
	Condition was initialize with the wrong parameter.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1138
	(setMIBreakpoint): reset location and condition.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1139
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1140
2003-01-28 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1141
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1142
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Breakpoint.java (setMIBreakpoint):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1143
	New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1144
	* src/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1145
	Reset the new MIBreakpoint on the Breakpoint object.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1146
	(containsBreakpoint): Removed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1147
	(hasBreakpointChanged): Change arguments.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1148
	* src/org/eclipse/cdt/debug/mi/core/output/MIBreakpoint.java (parser):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1149
	Better check for watchpoints.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1150
	* src/org/eclipse/cdt/debug/mi/core/CLIProcessor.java (isChangeBreakpoint):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1151
	Check for "ignore" and "condition" cli commands.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1152
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1153
2003-01-27 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1154
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1155
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Register.java (getTypeName):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1156
	Use MIWhatis to get the type of the register.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1157
	(getVariables): Cache the answer.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1158
	* src/org/eclipse/cdt/debug/mi/core/cdi/SharedLibraryManager.java (loadSymbols):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1159
	Use MISharedLibrary.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1160
	* src/org/eclipse/cdt/debug/mi/core/command/CommandFactory.java (createMIWhatis):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1161
	New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1162
	(MIPType): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1163
	* src/org/eclipse/cdt/debug/mi/core/command/MISharedLibrary.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1164
	New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1165
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1166
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1167
2003-01-27 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1168
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1169
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/Target.java (getCThreads):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1170
	When attaching gdb(at least on some platform) does not show
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1171
	the selected thread(info threads).  Fallback on the first one.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1172
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1173
2003-01-27 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1174
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1175
	* src/org/eclipse/cdt/debug/mi/core/cdi/VariableManager.java (findVariable):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1176
	Bug fix, did not compare the stacks correctly.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1177
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1178
2003-01-27 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1179
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1180
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1181
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/ArgumentObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1182
	* src/org/eclipse/cdt/debug/mi/core/cdi/model/RegisterObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1183
    Move to model package.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1184
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1185
2003-01-26 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1186
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1187
	Major refactor of the code.  Rewrote/Added Managers:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1188
	VariableManager
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1189
	ExpressionManager
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1190
	RegisterManager
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1191
	UpdateManager.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1192
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1193
	Refactor of CSession to Session, CTarget to Target
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1194
	and CThread to Thread.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1195
	* src/.../mi/core/cdi/event/ChangedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1196
	* src/.../mi/core/cdi/event/CreatedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1197
	* src/.../mi/core/cdi/event/DestroyedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1198
	* src/.../mi/core/cdi/event/DisconnectedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1199
	* src/.../mi/core/cdi/event/ExitedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1200
	* src/.../mi/core/cdi/event/MemoryChangedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1201
	* src/.../mi/core/cdi/event/ResumedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1202
	* src/.../mi/core/cdi/event/SuspendedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1203
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1204
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1205
	* src/.../mi/core/cdi/model/Argument.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1206
	* src/.../mi/core/cdi/model/Breakpoint.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1207
	* src/.../mi/core/cdi/model/Thread.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1208
	* src/.../mi/core/cdi/model/Target.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1209
	* src/.../mi/core/cdi/model/MemoryBlock.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1210
	* src/.../mi/core/cdi/model/MixedInstruction.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1211
	* src/.../mi/core/cdi/model/Instruction.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1212
	* src/.../mi/core/cdi/model/Signal.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1213
	* src/.../mi/core/cdi/model/SharedLibrary.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1214
	* src/.../mi/core/cdi/model/CObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1215
	* src/.../mi/core/cdi/model/Expression.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1216
	* src/.../mi/core/cdi/model/Variable.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1217
	* src/.../mi/core/cdi/model/Value.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1218
	* src/.../mi/core/cdi/model/Register.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1219
	* src/.../mi/core/cdi/model/StackFrame.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1220
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1221
	* src/.../mi/core/cdi/ArgumentObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1222
	* src/.../mi/core/cdi/VariableObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1223
	* src/.../mi/core/cdi/RegisterObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1224
	* src/.../mi/core/cdi/BreakpointHit.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1225
	* src/.../mi/core/cdi/BreakpointManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1226
	* src/.../mi/core/cdi/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1227
	* src/.../mi/core/cdi/ExpressionManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1228
	* src/.../mi/core/cdi/RegisterManaget.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1229
	* src/.../mi/core/cdi/SignalManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1230
	* src/.../mi/core/cdi/SharedLibraryManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1231
	* src/.../mi/core/cdi/EventManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1232
	* src/.../mi/core/cdi/MemoryManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1233
	* src/.../mi/core/cdi/ErrorInfo.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1234
	* src/.../mi/core/cdi/Session.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1235
	* src/.../mi/core/cdi/ExitInfo.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1236
	* src/.../mi/core/cdi/UpdateManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1237
	* src/.../mi/core/cdi/IUpdateListener.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1238
	* src/.../mi/core/cdi/SessionObject.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1239
	* src/.../mi/core/cdi/SignalReceived.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1240
	* src/.../mi/core/cdi/SourceManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1241
	* src/.../mi/core/cdi/RuntimeOptions.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1242
	* src/.../mi/core/cdi/WatchpointScope.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1243
	* src/.../mi/core/cdi/WatchpointTrigger.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1244
	* src/.../mi/core/cdi/EndSteppingRange.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1245
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1246
	* src/.../mi/core/MIPlugin.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1247
	* src/.../mi/core/CygwinGDBDebugger.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1248
	* src/.../mi/core/GDBDebugger.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1249
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1250
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1251
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1252
2003-01-24 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1253
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1254
	* src/.../mi/core/CLIProcessor.java (isEnableBreakpoint):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1255
	Check for "enable", "disable"  cli commands.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1256
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1257
2003-01-23 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1258
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1259
	* src/.../mi/core/CLIProcessor.java (isDeletingBreakpoint):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1260
	Check for "d" it means delete breakpoints.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1261
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1262
2003-01-20 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1263
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1264
	* src/.../mi/core/cdi/Configuration.java (supporstSharedLibrary):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1265
	New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1266
	* src/.../mi/core/cdi/CoreFileConfiguration.java (supporstSharedLibrary):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1267
	New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1268
	* src/.../mi/core/cdi/SharedLibraryManager.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1269
	Checks if support for shared Libary before doin an update.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1270
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1271
2003-01-20 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1272
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1273
	* src/.../mi/core/cdi/SuspendedEvent.java: Use SignalReceived.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1274
	* src/.../mi/core/cdi/model/Signal.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1275
	* src/.../mi/core/cdi/model/SignalManager.java: Use model/Signal.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1276
	* src/.../mi/core/cdi/SignalReceived.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1277
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1278
2003-01-20 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1279
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1280
	The problem was that no check was done for the existence of
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1281
	the program/executable nor the working directory etc ...
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1282
	By asking the arguements to be File, the check is done by
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1283
	the caller.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1284
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1285
	* src/.../mi/core/MIPlugin.java (createCSession): Change the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1286
	the arguments.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1287
	* src/.../mi/core/GDBDebugger.java (createCSession): Change the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1288
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1289
2003-01-20 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1290
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1291
	* src/.../mi/core/command/MIWhatis.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1292
	* src/.../mi/core/command/MIPType.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1293
	* src/.../mi/core/command/MISharedLibary.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1294
	* src/.../mi/core/output/MIWhatisInfo.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1295
	* src/.../mi/core/output/MIPTypeInfo.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1296
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1297
2003-01-18 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1298
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1299
	* src/.../mi/core/cdi/event/DestroyedEvent.java (DestroyedEvent):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1300
	Remove the deleted shared library from the list.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1301
	* src/.../mi/core/cdi/SharedLibraryManager.java (getUnloadedLibrary):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1302
	Get a shared library slated for unload.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1303
	(removeFromUnloadedList): Remove the library form the list.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1304
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1305
2003-01-17 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1306
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1307
	* src/.../mi/core/output/MIInfoSharedLibraryInfo.java (parseWinShared):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1308
	Break the methods in parserUnixShared() and parseWinShared() to cope
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1309
	with the different formats.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1310
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1311
2003-01-17 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1312
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1313
	* src/.../mi/core/cdi/SharedLibraryManager.java (loadSymbols):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1314
	New method takes and array of ICDISharedLibrary.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1315
	* src/.../mi/core/cdi/SharedLibrary.java (loadSymbols):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1316
	Call the share manager to load.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1317
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1318
2003-01-17 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1319
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1320
	* src/.../mi/core/cdi/SharedLibraryManager.java (loadSymbols):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1321
	Call "shared libraryname".
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1322
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1323
2003-01-17 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1324
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1325
	The problem here is that we do not knw the state of
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1326
	the session, for example "target remote server:port"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1327
	was issue, in this case the state is suspended.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1328
	We try to guess by posting a "info remote-process"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1329
	and set suspended when no error.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1330
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1331
	* src/.../mi/core/MIPlugin.java (createCSession):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1332
	Try "info remote-process" to guess the state.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1333
	Remove the "new-console" call to windows specific files.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1334
	* src/.../mi/core/CygwinGDBDebugger.java(createLaunchSession):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1335
	call "set new-console" for windows plaforms.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1336
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1337
2003-01-16 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1338
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1339
	* src/.../mi/core/cdi/SharedLibary.java (setMIShared):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1340
	New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1341
	* src/.../mi/core/cdi/SharedLibraryManager.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1342
	When changed reset the MIShared of the SharedLibrary.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1343
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1344
2003-01-16 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1345
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1346
	Process gdbinit configuration file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1347
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1348
	* src/.../mi/core/MIPlugin.java (createCSession): Takes now two new
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1349
	arguments for working directory and configuration file gdbinit.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1350
	* src/.../mi/core/GDBDebugger.java (createAttachSession):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1351
	(createCoreSession): pass the working directory and gdbinit file
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1352
	(createLaunchSession): pass the working directory and gdbinit file
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1353
	* src/.../mi/core/IMILaunchConfigurationConstants.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1354
	New constant ATTR_GDB_INIT.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1355
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1356
2003-01-16 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1357
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1358
	* src/.../mi/core/cdi/EventManager.java (processSuspended):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1359
	Also process the Shared lib by calling update on the manager.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1360
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1361
	* src/.../mi/core/cdi/CSession.java: Create a shared
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1362
	library manager.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1363
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1364
2003-01-16 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1365
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1366
	* src/.../mi/core/event/MISharedLibCreatedEvent.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1367
	* src/.../mi/core/event/MISharedLibChangedEvent.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1368
	* src/.../mi/core/event/MISharedLibUndloadedEvent.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1369
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1370
	* src/.../mi/core/cdi/event/CreatedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1371
	new constructors to deal with MISharedLibCreatedEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1372
	* src/.../mi/core/cdi/event/ChangedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1373
	new constructors to deal with MISharedLibChangedEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1374
	* src/.../mi/core/cdi/event/DestroyedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1375
	new constructors to deal with MISharedLibUnloadedEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1376
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1377
	* src/.../mi/core/cdi/model/SharedLibrary.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1378
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1379
	* src/.../mi/core/cdi/SharedLibraryManager.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1380
	* src/.../mi/core/cdi/CSession.java (getSharedLibraryManager):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1381
	New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1382
	* src/.../mi/core/cdi/EventManager.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1383
	Deal with the new MISharedLibXXXEvents.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1384
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1385
2003-01-15 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1386
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1387
	* src/.../mi/core/command/CommandFactory.java (createMIInfoSharedLibrary):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1388
	New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1389
	* src/../mi/core/command/MIInfoSharedLibrary.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1390
	* src/../mi/core/output/MIInfoSharedLibraryInfo.java: New File.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1391
	* src/../mi/core/output/MIShared.java: new File.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1392
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1393
2003-01-13 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1394
	* CTarget.java: in the 'runUntil' method check if file name or function name length > 0, otherwise use address.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1395
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1396
2003-01-10 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1397
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1398
	* src/.../mi/core/cdi/BreakpointManager.java (update): fix subscript
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1399
	(setCondition): Fire a ChangedEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1400
	(enableBreakpoint): Fire a ChangedEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1401
	(disableBreakpoint): Fire a ChangedEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1402
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1403
2003-01-10 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1404
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1405
	* src/.../mi/core/cdi/model/CTarget.java (runUntil): Address breakpoint
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1406
	needs a "*" prefix.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1407
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1408
2003-01-09 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1409
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1410
	* src/.../mi/core/cdi/BreakpointManager.java (hasBreakpointChanged):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1411
	Implemented.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1412
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1413
2003-01-09 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1414
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1415
	* src/.../mi/core/cdi/model/CTarget.java (setCurrentThread): takes
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1416
	a new argument to decide if the events should be fired.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1417
	* src/.../mi/core/cdi/model/CThread.java (getStackFrameCount): use
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1418
	the setCurrentThread() with events updates disable
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1419
	(getStackFrames): Ditto.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1420
	(updateState): Wrong subscript in the loop.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1421
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1422
2003-01-09 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1423
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1424
	Generate CreatedEvent's for Variable, Argument, Expression, Memory, Thread
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1425
	objects when they are created.  This makes it consistent with the generated
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1426
	DestroyedEvent's.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1427
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1428
	* src/.../mi/core/cdi/EventManager.java (update): Deal with
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1429
	MI{Register,Memory,Thread,Var}CreatedEvent events.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1430
	* src/.../mi/core/cdi/model/Ctarget.java (updateState): Fire events
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1431
	when threads are created or destroyed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1432
	* src/.../mi/core/cdi/model/MemoryBlock.java: Move here.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1433
	* src/.../mi/core/cdi/model/Register.java (getID): rename getId() to getID().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1434
	* src/.../mi/core/cdi/event/CreatedEvent.java: New constructors
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1435
	to deal with MI{Register,Memory,Thread,Var}CreatedEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1436
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1437
	* src/.../mi/core/event/MIMemoryCreatedEvent.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1438
	* src/.../mi/core/event/MIRegisterCreatedEvent.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1439
	* src/.../mi/core/event/MIThreadCreatedEvent.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1440
	* src/.../mi/core/event/MIVarCreatedEvent.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1441
	* src/.../mi/core/event/MIBreakpointChangedEvent.java (MIBreakpointChangedEvent):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1442
	Reuse the constructor.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1443
	* src/.../mi/core/event/MIBreakpointCreatedEvent.java (MIBreakpointCreatedEvent):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1444
	Reuse the constructor.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1445
	* src/.../mi/core/event/MIBreakpointDeletedEvent.java (MIBreakpointDeletedEvent):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1446
	Reuse the constructor.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1447
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1448
2003-01-08 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1449
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1450
	Refactoring, split the org.eclipse.cdt.debug.mi.core.cdi in pacackages
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1451
	org.eclipse.cdt.debug.mi.core.cdi
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1452
	org.eclipse.cdt.debug.mi.core.cdi.event
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1453
	org.eclipse.cdt.debug.mi.core.cdi.model
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1454
	This help structure things up.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1455
	* src/.../mi/core/cdi/event: New files.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1456
	* src/.../mi/core/cdi/model: New files.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1457
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1458
2003-01-08 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1459
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1460
	* src/.../mi/core/cdi/EventManager.java (update): bug fix
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1461
	was calling DestroyedEvent() incorrectly.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1462
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1463
2003-01-08 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1464
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1465
	CLIProcessor a new class to recognise the CLI(Command Line Interface)
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1466
	of gdb example:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1467
	 (gdb) next
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1468
	 (gdb) n
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1469
	 (gdb) b
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1470
	 (gdb) break
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1471
           etc ..:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1472
	When the patterns are discover, the class will generate some events
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1473
	to warn te UI that something change.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1474
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1475
	* src/.../mi/core/cdi/BreakpointManager.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1476
	Send a -break-list and generate events for any difference, in
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1477
	the breakpoints that we know about.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1478
	(deleteBreakpoint): Take as argument the breakpoint number.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1479
	(getBreakpoints): Call update() to generate events if new breakpoints.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1480
	(getMIBreakpoints): return the MIBreakpoints.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1481
	* src/.../mi/core/cdi/ChangedEvent.java (ChangedEvent):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1482
	New constructor with MIBreakPointChangedEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1483
	* src/.../mi/core/cdi/DestroyedEvent.java (DestroyedEvent):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1484
	New constructor with MIBreakPointDeletedEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1485
	* src/.../mi/core/cdi/Created.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1486
	* src/.../mi/core/cdi/EventManager.java (update):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1487
	Watch for the new MIBreakPoint*Events.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1488
	* src/.../mi/core/event/MIBreakPointCreatedEvent.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1489
	* src/.../mi/core/event/MIBreakPointChangedEvent.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1490
	* src/.../mi/core/event/MIBreakPointDeletedEvent.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1491
	* src/.../mi/core/event/MICreatedEvent.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1492
	* src/.../mi/core/event/MIDestroyedEvent.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1493
	* src/.../mi/core/event/MIInferiorExitEvent.java: Extends MIDestroyedEvent
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1494
	* src/.../mi/core/event/MIThreadExitEvent.java: Extends MIDestroyedEvent
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1495
	* src/.../mi/core/event/MIGDBExitEvent.java: Extends MIDestroyedEvent
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1496
	* src/.../mi/core/event/MIDetachedEvent.java: Extends MIDestroyedEvent
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1497
	* src/.../mi/core/CLIProcessor.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1498
	* src/.../mi/core/TxThread.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1499
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1500
2003-01-07 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1501
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1502
	* src/.../mi/core/MIInferior.java (getOutputStream): Remove useless assignement.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1503
	* src/.../mi/core/MIPluging.java (debugLog): Not need to be static.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1504
	* src/.../mi/core/cdi/EventManager.java (update): Remove useless assignement.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1505
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1506
2003-01-06 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1507
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1508
	* build.properties: Patch from Judy Green.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1509
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1510
2003-01-06 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1511
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1512
	* src/.../mi/core/cdi/BreapoinManager.java (createLocation): new method
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1513
	to create a breakoint with an address.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1514
	* src/.../mi/core/cdi/Location.java (Location): New constructor takes
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1515
	an address as argument.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1516
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1517
2003-01-03 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1518
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1519
	The Class creating the CDISession part of the initialization would call
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1520
		(gdb) set autosolib on
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1521
	this works fine for Unix system, but on Windows it throws an error
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1522
	failing the debugger.  Windows(Cygwin, MingWin) does not need any
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1523
	special initialization like solib-search-paths etc ..
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1524
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1525
	* src/.../mi/core/cdi/SourceManager.java (setAutoSolib): Takes a boolean argument
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1526
	to set the autosolib on or off.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1527
	* src/.../mi/core/CygwinGDBDebugger.java(initializeLibraries):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1528
	Empty method, cygwin does not need any special handling.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1529
	* src/.../mi/core/GDBDebugger.java (initializeLibraries):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1530
	Always call autosolib.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1531
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1532
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1533
2003-01-02 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1534
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1535
	Bug when using recursive:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1536
	int recursive(int x) {
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1537
		if (x > 10)
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1538
			recursive(++x);
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1539
		return 0;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1540
	}
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1541
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1542
	The Variable Manager is caching the MI/GDB var-obj for speed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1543
	It is finding the object by looking at the name and the stack/thread,
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1544
	for recursive calls, this is wrong and the code would be full in
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1545
	thinking the variable "x"(see above) is the same object.  To make the distinction
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1546
	we use the depth "-stack-info-depth" that will be use also in the equality
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1547
	to make sure we identify an object uniquely.  In the recursive() case above
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1548
	because the depth is different, a new "x" object will be created.  The downside
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1549
	is that on certain platform doing deep recursive/stackframe, we have noticed
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1550
	that "-stack-info-depth" can be very long, test done for gdb/QNX with
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1551
	a stack depth of 1000.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1552
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1553
	* src/.../mi/core/cdi/VariableManager.java (getElement):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1554
	Use the depth when doing equal().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1555
	(createElement): Save the depth of the stack part of the Element.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1556
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1557
2003-01-02 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1558
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1559
	GDB/MI uses some oob reasons that was not documented for the watchpoints
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1560
		*stopped,reason="access-watchpoint-trigger"...
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1561
		*stopped,reason="read-watchpoint-trigger",...
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1562
	* src/.../mi/core/event/MIWatchpointTrigger.java (parse):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1563
	check for "hw-awpt" and "hw-rwpt".
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1564
	* src/.../mi/core/RxThread.java (createEvents):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1565
	Check for "access-watchpoint-trigger", "read-watchpoint-trigger.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1566
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1567
2002-12-17 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1568
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1569
	* src/.../mi/core/cdi/Register.java (setFormat): bug fix
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1570
	The format variable was not set.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1571
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1572
2002-12-05 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1573
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1574
	GDB/MI provides error messages in its log stream, one problem
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1575
	is that it is not consistent, for example doing:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1576
	 (gdb) info threads
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1577
         & "info threads\n"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1578
	which is obviously not an error.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1579
	So we put the error stream output par of the exception so when
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1580
	it is relevant it shows in the Exception.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1581
	MI2CDIException is the bridge class.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1582
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1583
	* src/.../mi/core/cdi/BreakpoinManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1584
	* src/.../mi/core/cdi/CSession.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1585
	* src/.../mi/core/cdi/CTarget.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1586
	* src/.../mi/core/cdi/CThread.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1587
	* src/.../mi/core/cdi/MemoryBlock.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1588
	* src/.../mi/core/cdi/MemoryManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1589
	* src/.../mi/core/cdi/Register.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1590
	* src/.../mi/core/cdi/RegisterManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1591
	* src/.../mi/core/cdi/SourceManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1592
	* src/.../mi/core/cdi/Value.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1593
	* src/.../mi/core/cdi/Variable.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1594
	* src/.../mi/core/cdi/VariableManager.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1595
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1596
	* src/.../mi/core/command/Command.java (getMIInfo):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1597
	When error get the log stream and put it in the MIException.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1598
	* src/.../mi/core/event/MIErrorEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1599
	Get the log stream error also.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1600
	* src/.../mi/core/MIException.java (getLogMessage): New method
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1601
	contains buffer output.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1602
	* src/.../mi/core/RxThread.java (processMIOutput): get the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1603
	oob arrays up so it can be use in MIErrorEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1604
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1605
2002-12-02 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1606
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1607
	* src/.../mi/core/cdi/CTarget.java (updateState): If we
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1608
	have the current thread id set it before, getCThread() if
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1609
	it is implemented with "info threads" can override it but
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1610
	"-stack-list-thread" does not give this information.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1611
	* src/.../mi/core/cdi/ErrorInfo.java: New file
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1612
	* src/.../mi/core/cdi/EventManager.java (getReason): Return
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1613
	an ErrorInfo also.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1614
	* src/.../mi/core/event/MIErroEvent.java: New file
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1615
	* src/.../mi/core/RxThread.java (processMIOutput):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1616
	Generated MIErrorEvent for "^error".
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1617
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1618
2002-11-29 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1619
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1620
	* src/.../mi/core/cdi/EventManager.java (processSuspended):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1621
	get the threadId.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1622
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1623
2002-11-29 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1624
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1625
	* src/.../mi/core/cdi/MemoryBlock.java (setValue):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1626
	Check if the change affects other block and fire MemoryChangedEvent
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1627
	when necessary.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1628
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1629
2002-11-29 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1630
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1631
	* src/.../mi/core/event/MIBreakpointEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1632
	* src/.../mi/core/event/MIFunctionFinishedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1633
	* src/.../mi/core/event/MILocationReachedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1634
	* src/.../mi/core/event/MISignalEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1635
	* src/.../mi/core/event/MISteppingRangeEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1636
	* src/.../mi/core/event/MIStoppedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1637
	* src/.../mi/core/event/MIWatchpointEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1638
	* src/.../mi/core/event/MIWatchpointTriggerEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1639
	* src/.../mi/core/RxThread.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1640
	Some events like the temporary events, do not have
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1641
	any specific format but do provide a frame and a thread-id
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1642
	move the code in MIStoppedEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1643
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1644
2002-11-28 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1645
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1646
	* src/.../mi/core/cdi/MemoryBlock.java (setValue):  Only get a byte.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1647
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1648
2002-11-28 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1649
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1650
	* src/.../mi/core/cdi/CTarget.java (runUntil): new method implemented.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1651
	* src/.../mi/core/cdi/CThread.java (runUntil): new method implemented.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1652
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1653
2002-11-26 Doug Schaefer
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1654
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1655
	* src/.../mi/core/CygwinGDBDebugger.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1656
	New Debugger that provides the Cygwin Command Factory to the MISession
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1657
	* src/.../mi/core/command/CygwinCommandFactory.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1658
	New Command Factory for Cygwin specific implementations of the commands
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1659
	* src/.../mi/core/command/CygwinMIEnvironmentDirectory.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1660
	New.  Subclasses the MIEnvironmentDirectory command to convert the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1661
	paths using cygpath.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1662
	* plugin.xml:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1663
	Defines the new debugger extension.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1664
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1665
2002-11-25 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1666
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1667
	* src/.../mi/core/cdi/Watchpoint.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1668
	Check if it was access point also.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1669
	* src/.../mi/core/output/MIBreakInsertInfo.java (parse):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1670
	Check for "wpt" variable.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1671
	* src/.../mi/core/output/MIBreakpoint.java (IsWriteWatchpoint):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1672
	implemented.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1673
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1674
2002-11-20 Mikhail Khodjaiants
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1675
	Fix for bug 26595.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1676
	* src/.../mi/core/cdi/MemoryManager.java (compareBlocks):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1677
	If the start address of a memory block has changed fir 'changed' event 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1678
	only for the corresponding bytes of the overlapping area of new and old blocks.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1679
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1680
2002-11-19 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1681
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1682
	* src/.../mi/core/cdi/MemoryManager.java (compareBlocks):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1683
	The startAddress() may have change for example if we were
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1684
	watching "char *p;" and the address move "p++".  Take this
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1685
	into account now.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1686
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1687
2002-11-18 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1688
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1689
	* src/.../mi/core/cdi/StackFrame.java (getCurrentStackFrame):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1690
	if the currentFrame was not set only get the top level
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1691
	frame for the current.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1692
	* src/.../mi/core/cdi/CTarget.java (updateStateId):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1693
	Set the currentThreads && currentThreadId.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1694
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1695
2002-11-18 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1696
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1697
	* src/.../mi/core/cdi/CThread.java (getStackFrameCount):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1698
	Set the new thread before getting the value and restore
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1699
	after.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1700
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1701
2002-11-14 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1702
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1703
	This is needed in post-mortem, application doing a 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1704
	very deep recursion and crashing the stack size, for example
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1705
	on GNU/Linux it may reach 200000 levels deep.  Trying to
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1706
	bring in the UI a bactrace tree of 200000 nodes is useless.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1707
	The UI could check the count and do the appropriate action
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1708
	by showing ranges etc ..
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1709
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1710
	* src/.../mi/core/cdi/CThread.java (getStackFrame):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1711
	new method with a hi and low.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1712
	(getStackFrameCount): new method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1713
	* src/.../mi/core/command/CommandFactory.java (createMIStackInfoDepth):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1714
	new method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1715
	* src/.../mi/core/command/MIStackInfoDepth.java (getMIStackInfoDepthInfo):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1716
	new method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1717
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1718
2002-11-13 Dave Inglis
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1719
	* plugin.xml
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1720
	Added "native" cpu support.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1721
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1722
2002-11-06 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1723
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1724
	* src/.../mi/core/cdi/StackFrame.java (getLocals):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1725
	If an exception was thrown, the array may contain null
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1726
	entries.  Use a list and catch the exception.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1727
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1728
2002-11-06 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1729
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1730
	* src/.../mi/core/cdi/StackFrame.java (getArguments):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1731
	If an exception was thrown, the array may contain null
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1732
	entries.  Use and a List and catch the exception.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1733
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1734
2002-11-05 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1735
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1736
	* src/.../mi/core/cdi/Register.java (setValue): Fire a
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1737
	MIRegisterChangedEvent when changing value.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1738
	Fix PR:25730
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1739
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1740
2002-11-01 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1741
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1742
	The change in MISession(), will catch things like starting gdb-5.0
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1743
	with argument "-i mi1", that level of mi is not supported.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1744
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1745
	* src/.../mi/core/cdi/MemoryBlock.java (refresh):  When doing the refresh
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1746
	check if other blocks wehre affected and update them.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1747
	* src/.../mi/core/cdi/MemoryManager.java (update): Return the array of
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1748
	affected addresses.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1749
	* src/.../mi/core/MIPlugin.java (createCSession): Do not throw an
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1750
	error when trying "set new-console", it does not work on Linux.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1751
	* src/.../mi/core/MISession.java (MISession):  Check if the process
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1752
	terminated early, maybe because of wron arguments etc .. and throw
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1753
	the exception.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1754
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1755
2002-11-1 David Inglis
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1756
	* src/.../mi/core/MIPlugin.java
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1757
	throw MIExceptions in createSession (not rethorwn IOExceptions)
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1758
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1759
2002-10-30 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1760
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1761
	* src/.../core/cdi/MemoryBlock.java (setDirty): When need a
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1762
	refresh setDirty() to true.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1763
	(isDirty): Return the flag value.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1764
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1765
	* src/.../core/cdi/MemoryManager.java (update): Check if
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1766
	the MemoryBlock isDirty().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1767
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1768
2002-10-30 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1769
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1770
	* src/.../core/cdi/MemoryBlock.java (setValue): reuse refresh()
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1771
	to update the memory and fire any MemoryChangedEvents.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1772
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1773
2002-10-26 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1774
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1775
	* src/.../core/cdi/MemoryBlock.java (setValue): Generate
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1776
	a MemoryChangeEvent when the value is set, gdb/mi will not
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1777
	do it.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1778
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1779
2002-10-25 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1780
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1781
	* src/.../core/cdi/CThread.java (getStackFrames): Save the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1782
	current thread before changing and restore when operation finish.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1783
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1784
	* src/.../core/cdi/MemoryBlock.java (refresh):  Flush the old
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1785
	data and get new memory.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1786
	(update): New method to compare individual blocks.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1787
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1788
2002-10-25 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1789
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1790
	Automatically suspend/resume gdb when setting a breakpoint.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1791
	The workflow when debuggin which gdb command prompt is to
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1792
	hit CTRL-C set the breakpoint and continue.  The UI debugger
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1793
	should be smart enought to do this by itself.  So if the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1794
	inferior is running, when setting a breakpoint the program
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1795
	is suspended(target.suspend()), the suspend event is ignore
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1796
	the breakpoint is set (--break-insert) and the target is resume.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1797
	To ignore a specific event, we use a (mis)behaviour of gdb that
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1798
	associate the suspend(*stopped) with the last execution command.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1799
	(gdb)
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1800
	111-exec-continue
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1801
	111^running
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1802
	(gdb)
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1803
	222-exec-interrupt
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1804
	222^done
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1805
	(gdb)
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1806
	111*stopped,signal-name="SIGINT",signal-meaning="Interrupt",
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1807
	frame={addr="0x00010140",func="foo",args=[],file="try.c",line="13"}
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1808
	(gdb)
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1809
	In the case above event 111 is ignore.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1810
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1811
	* src/.../core/command/CLICommand.java (toString): Always put
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1812
	the identifying token.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1813
	* src/.../core/command/Command.java (setToken): Removed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1814
	(getUniqToken): New method returns a global uniq token.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1815
	(getToken): Returns a uniq token for the command.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1816
	* src/.../core/MIInferior.java (setTerminated): New argument token,
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1817
	since now all MIEvent has the corresponding command token.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1818
	* src/.../core/MISession.java (cmdCount): Removed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1819
	(postCommand): the command getToken() will return a uniq token.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1820
	* src/.../core/RxThread.java (processMIOOBRecord): MIEvent take
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1821
	the corresponding command token as argument.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1822
	* src/.../core/TxThrea.java (token): Field removed, token are no
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1823
	longer created in this tread.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1824
	* src/.../core/event/MIBreakpointEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1825
	* src/.../core/event/MIBreakpointEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1826
	* src/.../core/event/MIChangedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1827
	* src/.../core/event/MIDetachedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1828
	* src/.../core/event/MIEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1829
	* src/.../core/event/MIFunctionFinishedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1830
	* src/.../core/event/MIGDBExitEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1831
	* src/.../core/event/MIInferiorExitEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1832
	* src/.../core/event/MILocationReachedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1833
	* src/.../core/event/MIMemoryChangedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1834
	* src/.../core/event/MIRegisterChangedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1835
	* src/.../core/event/MIRunningEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1836
	* src/.../core/event/MISignalEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1837
	* src/.../core/event/MISteppingRangeEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1838
	* src/.../core/event/MIStoppedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1839
	* src/.../core/event/MIThreadExitEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1840
	* src/.../core/event/MIVarChangedEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1841
	* src/.../core/event/MIWatchpointScopeEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1842
	* src/.../core/event/MIWatchpointTriggerEvent.java:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1843
	Calls super with getToken().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1844
	* src/.../core/cdi/BreakpointManager.java (allowProgramInterruption):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1845
	New method to allow suspending the program to set a breakpoint.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1846
	(suspendInferior): get the last token execution an ignore the suspend
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1847
	event.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1848
	* src/.../core/cdi/CTarget.java (getLastExecutionToken): New method
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1849
	returns the token of the last execution command.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1850
	* src/.../core/cdi/EventManager.java (enableEventToken): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1851
	(enableEventTokens): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1852
	(disableEventToken): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1853
	(disableEventTokens): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1854
	(update): Ignore token in the disable list.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1855
	* src/.../core/cdi/RegisterManager.java (update): MIEvent takes
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1856
	a token.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1857
	* src/.../core/cdi/Variable.java (setValue): MIEvent takes a token.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1858
	* src/.../core/cdi/VariableManager.java (update): MIEvent takes a token.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1859
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1860
2002-10-24 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1861
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1862
	* src/.../core/RxThread.java (processMIOutput): Fire a
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1863
	suspended event when seeing an error.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1864
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1865
2002-10-24 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1866
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1867
	* src/.../core/output/MIConst.java (isoC): Change to return
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1868
	a string instead '\n' is platform dependent and has to be
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1869
	translate to "\r\n" for SWT widgets to work correctly on windows.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1870
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1871
2002-10-23 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1872
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1873
	gdb/mi for program control command will fire a change state event:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1874
	-exec-run
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1875
	^running
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1876
	This allow the UI to change its state and wait for the suspended.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1877
	Providing a gdb prompt adds some problems, since there is no state
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1878
	change, i.e.(^running) after command like, next/step/...:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1879
	next
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1880
	&"next\n"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1881
	...
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1882
	So to palliate, the txthread do some query when the commands are
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1883
	CLI commands trying to discover the type and fire any appropriate
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1884
	events on behalf on gdb.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1885
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1886
	* src/.../core/RxThread.java (createEvent): Adjust the parser to
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1887
	not rely on the oob "*stopped", since for CLI command it is not
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1888
	in the result-class.  So the suspended state will be base of
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1889
	the "reason" only.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1890
	* src/.../core/TxThread.java (processCLICommand): new method,
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1891
	get the command and try to recognize if it is a program control
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1892
	command like: next, step, etc ..
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1893
	* src/.../core/command/CLICommand.java (getOperation): New method,
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1894
	returns the command string.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1895
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1896
2002-10-22 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1897
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1898
	Change the framework to support access to gdb prompt.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1899
	Trying to reuse as much as possible Eclipse framework.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1900
	The session/gdb process is available via CDI.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1901
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1902
	* src/.../core/GDBStreamsProxy.java: Removed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1903
	* src/.../core/GDBProcess.java: Removed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1904
	* src/.../core/GDBStreamMonitor.java: Removed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1905
	* src/.../core/SessionProcess.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1906
	* src/.../core/MISession.java (getMISessionProcess):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1907
	New method, returns a "fake" Process that wraps the input/outpu
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1908
	stream of gdb.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1909
	(getGDBProcess): was getMIProcess(), renamed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1910
	* src/.../core/cdi/CSession.java (getSessionProcess): New method
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1911
	return gdb process.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1912
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1913
2002-10-22 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1914
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1915
	* src/.../core/GDBStreamsProxy.java (write):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1916
	Replace the OutputStream with a Write class.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1917
	And clear the buffer on flush().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1918
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1919
2002-10-21 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1920
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1921
	* src/.../core/GDBProcess.java (getExitValue): Catch
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1922
	IllegalThreadStateException.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1923
	(getAttribute): Only create Properties, when call.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1924
	(setAttribute): Only create Properties, when call.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1925
	(getAdapter): Implemented.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1926
	(canTerminate): true only of the process is alive.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1927
	(GDBProcess): Takes one more argument the name.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1928
	* src/.../core/GDBStreamMonitor.java (fireStreamAppend): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1929
	Use a synchronized LinkedList for the listeners.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1930
	(read): new Method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1931
	(startMonitoring): New method, start a thread in the background
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1932
	to monitor the input.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1933
	* src/.../core/GDBStreamsProxy.java (getErrorStream): Start the monitor thread.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1934
	(getOutputStream): Start the monitor thread.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1935
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1936
2002-10-21 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1937
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1938
	Framework for having a gdb console.  The idea is to reuse
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1939
	the eclipse console and save a lot of work.  We "adapt"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1940
	the gdb Process to what eclipse debug LaunchView wants(IProcess).
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1941
	So when this fake "gdb process" is selected we can grab the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1942
	input/output of the console and redirect everything to raw gdb.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1943
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1944
	* src/.../core/GDBProcess.java: New file, it implements Eclipse
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1945
	debug class IProcess.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1946
	* src/.../core/GDBStreamMonitor: New file, it implements Eclipse
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1947
	debug class IStreamMonitor.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1948
	* src/.../core/GDBStreamsProxy: New file, it implements Eclipse
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1949
	debug class IStreamsProxy.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1950
	* src/../core/MISession.java (getMIConsoleStream): New method
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1951
	to return the mi console stream output that we get from gdb/mi.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1952
	(getMILogStream): New method, to return the mi log stream output
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1953
	that we get from gdb/mi.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1954
	(terminate): close the fake MI Console and Log streams. 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1955
	* src/../core/RxThread.java (processMIOOBRecord): Redirect the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1956
	console and the log stream to a buffer pipe.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1957
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1958
2002-10-21 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1959
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1960
	* src/.../core/cdi/EventManager.java (update): Only
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1961
	fire the event for MemoryChangedEvent if the block was
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1962
	not frozen.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1963
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1964
2002-10-20 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1965
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1966
	Eclipse provides plugins a way to trace by having an .options file,
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1967
	this mechanism is use to print out the mi exchange between gdb
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1968
	and the plugin.  To enable this in the debug launch one must enable
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1969
	"tracing" and set for the "org.eclipse.debug.mi.core/debug" to true.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1970
	But one problem, the console will simply blow taking down eclipse,
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1971
	for big MI line response, say 4k length, for example asking the children
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1972
	of "char buffer[4096]", -var-list-children varxx.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1973
	This seem only to happen in Eclipse-gtk or Eclipse-motif
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1974
	on GNU/Linux, so it will be break in smaller chunks to give a chance to
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1975
	the console.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1976
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1977
	* .options: Set debug to true.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1978
	* src/.../core/MIPlugin.java (debugLog): Break the log line in small chuncks of 100.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1979
	* src/.../core/MISession.java (postCommand): Print the gdb/mi command.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1980
	* src/.../core/RxThread.java (run): Print gdb/mi responses.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1981
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1982
2002-10-20 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1983
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1984
	-data-write-register-values is not in the texinfo manual but implemented in
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1985
	gdb-5.2.1/gdb/mi/mim-main.c:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1986
	Write given values into registers. The registers and values are
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1987
	given as pairs. The corresponding MI command is 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1988
	-data-write-register-values <format> [<regnum1> <value1>...<regnumN> <valueN>]
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1989
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1990
	* src/.../core/command/MIDataWriteRegisterValues.java: New file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1991
	* src/.../core/command/CommandFactory.java (createMIDataWriteMemory): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1992
	* src/.../core/cdi/Register.java (setValue): Implemented.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1993
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1994
2002-10-20 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1995
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1996
	Althought -data-write-memory is not documented in the texinfo manual
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1997
	it is implemented and well documented in the code(gdb-5.2.1/gdb/mi/mi-main.c).
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1998
	"mi_cmd_data_write_memory: Usage: [-o COLUMN_OFFSET] ADDR FORMAT WORD-SIZE VALUE.");
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  1999
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2000
	* src/.../core/command/MIDataWriteMemory.java: New file
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2001
	* src/.../core/command/CommandFactory.java (createMIDataWriteMemory): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2002
	* src/.../core/cdi/MemoryBlock.java (setValue): Implemented.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2003
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2004
2002-10-20 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2005
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2006
	* src/.../core/cdi/CTarget.java (getMemoryBlock): Remove
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2007
	we use the MemoryManager instead.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2008
	(EvaluateExpressionToValue): Removed not use.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2009
	* src/.../core/cdi/SourceManager.java (setFile): Removed not use.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2010
	(getFile): Removed not use.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2011
	(reset): Removed not use.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2012
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2013
2002-10-19 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2014
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2015
	The responsability to generate Events for modify memory blocks is push
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2016
	on the CDI implementation.  The way we do this is every time consuming,
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2017
	when the inferior is suspended(see EventManager.processSuspendedEvent()),
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2018
	MemoryManager.update() is called, the method will go through the list of MemoryBlocks
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2019
	that are not MemoryBlocks.setFrozen() and fetch the new memories, the data is compare
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2020
	and MemoryChangedEvents are fired for blocks with changed values.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2021
	Gdb/mi var objects does not seem to provide any support for Memory ranges.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2022
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2023
	* src/.../core/cdi/MemoryChangedEvent.java: New File implements ICDIMemoryChangedEvent.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2024
	* src/.../core/cdi/EventManager.java (update): Process MIMemoryChangedEvent's.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2025
	(processSuspendedEvent): call MemoryManager.update().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2026
	* src/.../core/cdi/MemoryBlock.java (getExpression): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2027
	(getMIDataReadMemoryInfo): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2028
	(setMIDataReadMemoryInfo): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2029
	* src/.../core/cdi/MemoryManager.java (update): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2030
	(compareBlock): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2031
	(listMemoryBlocks): New method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2032
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2033
	* src/.../core/cdi/CTarget.java (setCurrentThread): Catch null pointer.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2034
	(getCThreads): Likewise.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2035
	* src/.../core/event/MIMemoryChangedEvent.java: New File.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2036
	* src/.../core/event/MIThreadExitEvent.java: Indentation fixes.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2037
	* src/.../core/event/MIVarChangedEvent.java: Indentation fixes.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2038
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2039
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2040
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2041
2002-10-16 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2042
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2043
	* src/.../mi/core/cdi/MemoryManager.java (createMemoryBlock):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2044
	New method that takes a string instead of a long, rearrange
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2045
	the method for it.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2046
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2047
2002-10-12 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2048
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2049
	There are some serious problems with gdb/mi, for example
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2050
	the most recurrent one is when using -data-disassemble
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2051
	in a threaded program, GNU/Linux uses a thread manager
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2052
	when trying to access the stackframe, gdb usually coredumps
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2053
	with an assert, it goes something like this:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2054
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2055
-data-disassemble -f manager.c -l 136 -n 100 0
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2056
&"Cannot access memory at address 0x4002d794\n"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2057
^error,msg="Cannot access memory at address 0x4002d794"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2058
(gdb) 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2059
-data-disassemble -s 0x4002d900 -e 0x4002d964 0
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2060
&"Cannot access memory at address 0x4002d900\n"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2061
^error,msg="Cannot access memory at address 0x4002d900"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2062
(gdb) 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2063
-thread-select 2
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2064
&"ui-out.c:133: gdb-internal-error: push_level: Assertion `uiout->level >= 0 && uiout->level < MAX_UI_OUT_LEVELS' failed.\n"
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2065
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2066
	The RxThread will spawn a thread to terminate the session
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2067
	and clear the receiving queue.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2068
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2069
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2070
	* RxThread.java (run): When the thread is being cancel() or
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2071
	running out of run(), clear the receiving queue(rxQueue) and
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2072
	notify any commands waiting.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2073
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2074
	* TxTread.java (run): Before putting the command in the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2075
	receiving queue(rxQueue) check to see if the thread is
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2076
	still running.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2077
	When the thread is being cancel() or running out of run(),
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2078
	clear the transmition queue(txQueue) an notify any commands
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2079
	waiting.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2080
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2081
	* Queue.java (clearItems): New method that clear the items
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2082
	on the queue and returning them.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2083
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2084
	* CommandQueue.java (clearCommands): New method calls super.clearItems()
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2085
	whith the appropriate castings.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2086
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2087
	* cdi/CThread.java (setCurrentStackFrame): Check for null.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2088
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2089
2002-10-12 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2090
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2091
	The memory block is implemented with
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2092
	-data-read-memory (MIDataReadMemory)
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2093
	Since the ICDIMemoryBlock only have
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2094
	byte[] getBytes()
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2095
	We will always issue:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2096
	-data-read-memory address x 1 1 length
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2097
	The CDI upper layer will deal with any conversions
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2098
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2099
	The problem now is how to send changedEvent when
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2100
	an element of the memory changed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2101
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2102
	* cdi/MemoryBlock.java (getLength): Implemented
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2103
	(getBytes): Implemented
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2104
	(getStartAddress): Implemented
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2105
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2106
	* cdi/MemoryManager.java: Implemented.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2107
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2108
	* command/MIDataReadMemory (getMIDataReadMemoryInfo):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2109
	New helper method.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2110
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2111
2002-10-12 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2112
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2113
	* cdi/Location (getInstructions): Methods removed
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2114
	no longer define in ICDILocation.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2115
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2116
2002-10-11 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2117
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2118
	* cdi/SourceManager (getMixedInstruction):
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2119
	Implement the 3 new methods to return Mixed source
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2120
	and assemby instructions.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2121
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2122
	* cdi/MixedInstruction: New class implements
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2123
	ICDIMixedInstruction.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2124
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2125
2002-10-11 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2126
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2127
	* cdi/ExpressionManager.java:  Not needed, removed.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2128
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2129
2002-10-10 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2130
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2131
	The Eclipse/UI/Debug framewok is being very repetive
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2132
	and each command can be ask 2, 3 times.  So we'll try
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2133
	to make certain commands smarter by not reissuing them
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2134
	to gdb if the state is the same.  We do this when
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2135
	selecting the thread and when selecting the stackframe.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2136
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2137
	The other problem is that Eclipse/UI/Debug is calling
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2138
	ICDISession.terminate() twice, this is catch by looking
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2139
	at isTerminated().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2140
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2141
	* cdi/CThread.java (setCurrentStackFrame): Make it smarter
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2142
	to not reselect the stack level if it is already at that
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2143
	level.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2144
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2145
	* MISession.java (isTerminated): Declare a flag that will
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2146
	hold the state.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2147
	(terminate): Check if it was call already.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2148
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2149
2002-10-10 Alain Magloire
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2150
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
  2151
	* SourceManager.java:  Implement getInstructions().