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

1285 commits

Author SHA1 Message Date
Anton Leherbauer
868e29ac4f Bug 250638 - NPEs when disassembling in debugger
Patch by Øyvind Harboe
2008-10-17 08:38:54 +00:00
John Cortell
6d4d1d2bed The program executable would be expandable (in the Modules view) only if it lived in the output directory of a CDT project. It should be expandable as long as it's anywhere in a CDT project. I fixed this for shared libraries last month, and realized today the same issue is happening for the program executable. This refactors that earlier solution to fix both cases. It also fixes an NPE that would happen if the shared library was in a non-CDT project, or outside the workspace altogether. 2008-08-20 22:13:45 +00:00
Ken Ryall
037111a067 Fix build break caused by incomplete commit. 2008-08-13 13:27:20 +00:00
Alena Laskavaia
5ff757551b - message for failing loading library 2008-08-12 21:01:10 +00:00
Alena Laskavaia
d2cba6c8c9 - fixed module loading to avoid wrong error reported 2008-08-12 21:00:40 +00:00
Ken Ryall
1c95fb3c77 More work in the executables manager and view: added a remove button, don't alllow duplicate exes from different providers in the list. 2008-08-12 20:27:10 +00:00
John Cortell
434436e82f gdb session isn't getting cleaned up because of of my change to null out the ICDITarget reference after we dispose it. Reported by Mikhail. Will revisit. For now, just avoid nulling the reference. Restores previous behavior. 2008-08-11 14:49:50 +00:00
Ken Ryall
1efd4082c4 Executables View improvements: source file providers, import exes with same name, externalized some strings 2008-08-08 20:19:00 +00:00
John Cortell
7701228f68 Fixed typo in comment 2008-08-01 17:45:20 +00:00
John Cortell
a733bd09d8 Applying my 242890 patch. Shared libraries will now be expandable in the Modules view even if they're not in a project output directory. 2008-08-01 16:07:05 +00:00
John Cortell
d8aad9f2f0 Fixed NPE's resulting from CDebugTarget now nulling out its CDI reference on cleanup. 2008-07-29 21:31:11 +00:00
Alena Laskavaia
8517a2d791 - fixed resolving source location when debugger returns resolved path itself and absolute path container not in the list 2008-07-28 15:03:30 +00:00
John Cortell
0e2c6945bd Fixed NPEs in code that is subject to dealing with a disposed frame. 2008-07-23 20:34:01 +00:00
John Cortell
252e01a836 Added ICDIDisposable, as discussed in the mailing list. Most of these changes are adjustments to protect against an NPE since we now null out the CDI members when we dispose them. 2008-07-21 19:41:42 +00:00
John Cortell
80c2baf464 Fixed 240916 (casting a child of a global results in an NPE). Also fixed all warnings in changed files and improved code with generics 2008-07-15 19:26:53 +00:00
Alena Laskavaia
521dfafba6 PR: 53470 - prevent ABR exception 2008-07-15 18:13:09 +00:00
Alena Laskavaia
9d31c68ce5 PR: 53470 2008-07-15 18:10:13 +00:00
John Cortell
f74aa0ca4a Fixed bugzilla 240719. Element is now first checked to see if it's a ICDISharedLibrary, and then if not, an IBinary 2008-07-14 20:31:19 +00:00
John Cortell
d56a79adc4 Fixed for bugzilla 240538. Load Symbols for All in Modules view always generates a bogus error 2008-07-11 20:04:50 +00:00
Alena Laskavaia
170bb6ea07 [240238] - fixed adding expressions which has "char *" type for example 2008-07-09 21:21:30 +00:00
John Cortell
8b0b647c7b Move-to-line feature. Application of the patch in bugzilla 118147. Includes refactoring of resume-at-line feature which used "jump to line" terminology. While such terminology is aligned with gdb (it invokes the 'jump' command), it is otherwise counter intuitive and collides with the "move to line" concept. The interfaces and code are now consistent throughout in its use of "resume at line" terminology. 2008-07-07 18:44:06 +00:00
Ken Ryall
50b3346cec Cache the source file list for an executable and don't block the UI while getting it. 2008-06-27 18:26:34 +00:00
Alena Laskavaia
8c309586cd [236214] - fixed potential NPE 2008-06-11 13:36:40 +00:00
Alena Laskavaia
2c178d6c68 [236214] - patch for function breakpoints without source info 2008-06-09 16:33:55 +00:00
Warren Paul
c33ef0d470 fixed breakpoint creation with new type argument. 2008-05-29 12:36:43 +00:00
Ken Ryall
5297afa058 Merge changes from CDT 4.0.x. 2008-05-21 20:41:48 +00:00
John Cortell
41132eeef2 Monitor created with memory-space and address bypassed the address factory, thus allowing an out of range memory monitor to be created. 2008-05-15 23:47:50 +00:00
John Cortell
1c28b186cf Fixed typo in method name 2008-05-13 23:57:44 +00:00
Anton Leherbauer
e65eee8ef2 Avoid breaking API change by keeping and deprecating obsolete methods (bug 118100) 2008-05-09 09:37:08 +00:00
John Cortell
81120f9c45 Fix label handling for ICBreakpoint.TEMPORARY and add label for new SOFTWARE type. 2008-05-08 03:16:26 +00:00
John Cortell
b36ad37def Addressed two loose ends of bugzilla 118100 2008-05-08 02:42:34 +00:00
John Cortell
79aa62cd97 Renamed ICBreakpointTyped to ICBreakpointType 2008-05-07 23:29:25 +00:00
John Cortell
9ec9ace2e4 Typo 2008-05-07 23:25:31 +00:00
John Cortell
1f35172785 Updated to provide clarity on the use of TEMPORARY as a special-case, bit-wise qualifier. 2008-05-06 21:01:02 +00:00
Alena Laskavaia
5a0701efaa bug 118100 - moving breakpoints types in ICBreakpointTyped 2008-05-06 13:51:32 +00:00
John Cortell
bbf8808238 Provide new breakpoint type constant and provide detailed explanation of all types. New types set the ground for Freescale hardware breakpoint solution (post Ganymede) 2008-05-02 21:39:00 +00:00
Alena Laskavaia
dc62fa9320 - bug 118100 - hardware breakpoints support 2008-04-28 21:56:56 +00:00
Chris Recoskie
1e586a99cc Partial fix for Bugzilla 210116 (CDT spelling errors) 2008-04-28 18:35:19 +00:00
John Cortell
a602cd1826 Refactoring to use "BreakpointEvent" instead of "Catchpoint" to be consistent with how we refer to the feature at the UI level. 2008-04-25 21:23:39 +00:00
Alena Laskavaia
c652147479 bug 226689 - catchpoint support 2008-04-25 16:06:06 +00:00
Alena Laskavaia
d694db4e57 - allow custom breakpoint use MESSAGE attribute as breakpoint label if label provider is not installed 2008-04-25 16:01:36 +00:00
Alena Laskavaia
12af9151f7 - update error/warning policy to include more errors/warnings 2008-04-25 15:43:03 +00:00
Warren Paul
0aa67427b4 synchronize the building of the exe's list. 2008-04-24 20:46:22 +00:00
Warren Paul
0c5bdcfb6c fixed progress display (%), allow cancel during import, remember column ordering, don't try to refresh while importing executables. 2008-04-24 03:26:53 +00:00
Alena Laskavaia
49283fae51 bug 224560 - memory view refresh does not work because of ABE in Disassembly view 2008-04-22 20:42:17 +00:00
Mikhail Khodjaiants
19c364f589 Contributing new disassembly. 2008-04-22 16:49:52 +00:00
Mikhail Khodjaiants
199a42471d Warning cleanup. 2008-04-22 16:48:04 +00:00
John Cortell
1a7f7403db Use a thin wrapper to represent the CDI event listener for a CVariable to avoid removing the wrong listener when multple CVariables exist for the same internal variable. 2008-04-22 16:10:56 +00:00
John Cortell
7b3681fc19 Applied patch in 227869. Produce an error if user tries to create memory monitor using a literal address that exceeds the range of the address factory used by the debug session. Prior to this change, the monitor would be created based on the truncated value. 2008-04-22 15:25:36 +00:00
Ken Ryall
ee5837ec29 Test to see if the file exists before creating the ETU. 2008-04-21 20:47:09 +00:00