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

2516 commits

Author SHA1 Message Date
Mikhail Khodjaiants
d5a0e947ff Do not request to dispose local variables when the target is resumed. 2004-11-24 20:46:06 +00:00
Alain Magloire
ed931ba8f9 Typo int definition of "uint32_t" it was define to "uint31_t" !! 2004-11-24 16:49:51 +00:00
Mikhail Khodjaiants
70c6412de3 The enablement of the step actions is calculated in the UI thread. This causes the UI locks for slow or unresponsive targets. Use the cached stack frames to calculate the enablement instead of requesting gdb. 2004-11-23 23:47:49 +00:00
Mikhail Khodjaiants
e1f0f37434 Workaround for bug 69728: IndexOutOfBoundsException in TextPresentation.
This bug is fixed in Eclipse 3.1.
2004-11-23 23:34:37 +00:00
Alain Magloire
f516c46c67 2004-11-23 Alain Magloire
Tentative fix for 77435
	* cdi/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java
2004-11-23 18:28:18 +00:00
Mikhail Khodjaiants
9969ce47df Check if the pointer value is not null before pass it to the address factory. 2004-11-22 17:00:34 +00:00
Alain Magloire
b488499fcc 2004-11-19 Alain Magloire
Protect agains possible NPE.
	* cdi/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java
	* cdi/org/eclipse/cdt/debug/mi/core/cdi/SourceManager.java
	* cdi/org/eclipse/cdt/debug/mi/core/cdi/model/VariableDescriptor.java
2004-11-20 04:25:17 +00:00
Mikhail Khodjaiants
c59a365bc3 Use the qualified name when creating a register.
Destroy the corresponding gdb variable on register's disposal.
Added the "dispose" method to the "Register" class.
2004-11-19 22:32:37 +00:00
Alain Magloire
06a31c42a6 2004-11-19 Alain Magloire
RegisterManager.findRegister() was not implemented correctly
	* cdi/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java
2004-11-19 21:10:51 +00:00
Alain Magloire
052b582c19 2004-11-19 Alain Magloire
No need for stackframe when creating the Type class,
	but rather use the target in the constructor.
2004-11-19 03:38:57 +00:00
Mikhail Khodjaiants
7ff44b1055 Fix for bug 69184: Activate the Expression view when expression is added. 2004-11-18 22:41:32 +00:00
Mikhail Khodjaiants
0448368a27 Worker threads can try to evaluate expressions on the stack frames that have already been disposed. A flag is added to identify that the stack frame is disposed. 2004-11-18 22:39:29 +00:00
Alain Magloire
9a38e1a718 2004-11-19 Alain Magloire
Fix for 78816
	* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java
2004-11-18 17:59:42 +00:00
Alain Magloire
5221d3a97c *** empty log message *** 2004-11-18 16:07:54 +00:00
Alain Magloire
1cc0b27515 2004-11-19 Alain Magloire
Clear the confusion about sublist of stackframes.
	PR 78611

	* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIStackFrame.java
	* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIThread.java
	* src/org/eclipse/cdt/debug/internal/model/CThread.java
2004-11-18 16:06:57 +00:00
David Inglis
176c726567 api update to use IBinaryObject instead of IBinaryExecutable in debugger 2004-11-17 19:57:54 +00:00
Alain Magloire
c5f2c56792 2004-11-17 Alain Magloire
Fix for 78816
	* mi/org/eclipse/cdt/debug/mi/core/MIInferior.java
2004-11-17 15:39:15 +00:00
Alain Magloire
bcc527d28a 2004-11-16 Alain Magloire
Optimize things by providing a new method
	ICDIRegisterGroup.hasRegisters();
	* cdi/org/eclipse/cdt/debug/core/cdi/model/RegisterGroup.java
2004-11-17 03:53:05 +00:00
Alain Magloire
334882d258 2004-11-16 Alain Magloire
Optimize things by providing a new method
	ICDIRegisterGroup.hasRegisters();
	* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIRegisterGroup.java
	* src/org/eclipse/cdt/debug/internal/core/model/CRegisterGroup.java
2004-11-17 03:52:49 +00:00
Alain Magloire
e5f9c0c311 2004-11-16 Alain Magloire
Remove some warnings and use the new Launch key
	to decide whether or not to use pseudo tty.
	* mi/org/eclipse/cdt/debug/mi/core/TxThread.java
	* mi/org/eclipse/cdt/debug/mi/core/command/RawCommand.java
	* src/org/eclipse/cdt/debug/mi/core/MIPlugin.java
2004-11-17 03:24:14 +00:00
David Inglis
e0546e73af added terminal default constant 2004-11-16 21:32:41 +00:00
David Inglis
b8b99d5287 added use teminal attribute 2004-11-16 21:15:31 +00:00
Alain Magloire
97fa2e884b 2004-11-16 Alain Magloire
NPE when watchpoints are set in the gdb console.
	* cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
2004-11-16 20:03:08 +00:00
Alain Magloire
9891f98c52 2004-11-16 Alain Magloire
Do not check for isEnable() when changing condition.
	* cdi/org/eclipse/cdt/debug/mi/core/cdi/mode/Breakpoint.java
2004-11-16 15:31:49 +00:00
Mikhail Khodjaiants
e99487c7dd Fix for bug 78604: Disassembly causes Java exception when disassembling beyond fn(?). 2004-11-15 22:29:43 +00:00
Mikhail Khodjaiants
407463cb32 Fix for bug 78604: Disassembly causes Java exception when disassembling beyond fn(?).
Added the "getAddressFactory" method to the "IDisassembly" interface.
2004-11-15 22:28:38 +00:00
Mikhail Khodjaiants
341c8766b4 Fix for bug 78604: Disassembly causes Java exception when disassembling beyond fn(?).
Added the "getAddressFactory" method to the "IDisassembly" interface.
2004-11-15 22:28:09 +00:00
Mikhail Khodjaiants
4c5be532cc Batch breakpoint updates in one job. 2004-11-15 20:47:48 +00:00
Alain Magloire
4cd3ad7c88 create the breakpoint disable if it was disable. 2004-11-12 20:51:09 +00:00
Alain Magloire
ab89c5a46e define equals(ICDICondition) 2004-11-12 20:33:09 +00:00
Mikhail Khodjaiants
0b13d54499 Apply the breakpoint's condition changes to the associated gdb breakpoint only if there are differences. 2004-11-12 19:25:28 +00:00
Mikhail Khodjaiants
5e2af5b84f Compare breakpoint source handles as pathes. 2004-11-12 19:18:47 +00:00
Mikhail Khodjaiants
3d578e42da Implemented the "equals' method of the "Condition" class. 2004-11-12 19:15:28 +00:00
Alain Magloire
4f1af97e09 Should have been part of a previous commit fix. 2004-11-12 18:46:10 +00:00
Alain Magloire
78118d0486 2004-11-12 Alain Magloire
Fix for PR 78488
	* mi/org/eclipse/cdt/debug/mi/core/command/MICommand.java
2004-11-12 18:35:40 +00:00
Alain Magloire
4bc6d0803b fireevents to the children 2004-11-12 02:12:30 +00:00
Alain Magloire
f9fc2468d8 2004-11-11 Alain Magloire
Fix for PR 75000, from PalmSource
	* cdi/org/eclipse/cdt/debug/core/cdi/model/Variable.java
	* cdi/org/eclipse/cdt/debug/core/cdi/model/VariableDescriptor.java
	* mi/org/eclipse/cdt/debug/mi/core/command/MIVarInfoType.java
2004-11-12 02:11:55 +00:00
Alain Magloire
1885ceaedf 2004-11-11 Alain Magloire
Fix for PR 75000, from PalmSource
	* cdi/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java
2004-11-12 02:09:42 +00:00
Alain Magloire
bdcff14fb9 Do not delete the variables on update. 2004-11-12 01:02:34 +00:00
Mikhail Khodjaiants
5db467bcdf Fix for bug 73801: Function breakpoints set from C View aren't shown in editor. 2004-11-11 21:46:28 +00:00
Mikhail Khodjaiants
66b367c79f Fix for bug 75627: Incorrect limit to port numbers. 2004-11-11 21:28:40 +00:00
Alain Magloire
d5cfd2a0af Typo. 2004-11-11 03:06:22 +00:00
Alain Magloire
dbd62a6ed4 2004-11-10 Alain Magloire
Fix for PR 51113 and PR 66268
	It allow more flexibility in the GDB console, for example
	when gdb require interactive questions.

	* mi/org/eclipse/cdt/debug/mi/core/CLIProcessor.java
	* mi/org/eclipse/cdt/debug/mi/core/MISession.java
	* mi/org/eclipse/cdt/debug/mi/core/RxThread.java
	* mi/org/eclipse/cdt/debug/mi/core/SessionProcess.java
	* mi/org/eclipse/cdt/debug/mi/core/TxThread.java
	* mi/org/eclipse/cdt/debug/core/command/MIGDBShowPrompt.java
	* mi/org/eclipse/cdt/debug/core/command/RawCommand.java
	* mi/org/eclipse/cdt/debug/core/output/MIOutput.java
	* mi/org/eclipse/cdt/debug/core/output/MIParser.java
2004-11-11 03:02:58 +00:00
Mikhail Khodjaiants
c1c8430638 Fix for bug 77437: Disassembly blocks with no associated source code has PC pointer on wrong line. 2004-11-10 22:52:50 +00:00
Mikhail Khodjaiants
0ccb63228a Cleanup. 2004-11-10 22:52:02 +00:00
Mikhail Khodjaiants
9119f8ed49 Fix for bug 76340: CDT hogs Windows input loop when double clicking on a breakpoint. 2004-11-10 21:22:52 +00:00
Mikhail Khodjaiants
ebe5bb2770 Fix for bug 77275: Disassembly causes Java exception for fn's with 0 bytes fn prologues. 2004-11-09 23:25:44 +00:00
Mikhail Khodjaiants
216cc40051 Partial fix for bug 41725: I can't set a breakpoint in a function where I used attach source. 2004-11-09 22:28:09 +00:00
Mikhail Khodjaiants
d14425742c Fix for bug 77251: Need protected access to DisassemblyView's createVerticalRuler() method. 2004-11-09 22:15:55 +00:00
Alain Magloire
e6d2af3d71 2004-11-09 Alain Magloire
Throw not implemented exception for exception breakpoint
2004-11-09 20:40:14 +00:00