Bug 7656 - R2: Load occurrence breakpoint not supported
Summary: R2: Load occurrence breakpoint not supported
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P1 enhancement (vote)
Target Milestone: 2.0 - Release   Edit
Assignee: Samantha Chan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 10362 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-01-15 17:39 EST by Samantha Chan CLA
Modified: 2002-05-16 10:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samantha Chan CLA 2002-01-15 17:39:32 EST
In the reply to Remote_Initialize_Debug_Engine gdbpicl is indicating that it 
supports load occurrence (FCT_LOAD_BREAKPOINT), but when a breakpoint of this 
type is sent to gdbpicl it responds with "breakpoint type not supported".
CmdBreakpointEvent.java only seems to support EPDC.ChangeAddrBkpType.
If you are not going to support load breakpoints for the beta then you should 
turn off the FCT bit.  However, you should add support for this at some point 
(if gdb supports it).

FCT bit has been disabled.
We may need to add support for load breakpoint in the future.
Comment 1 Samantha Chan CLA 2002-02-27 23:41:45 EST
*** Bug 10362 has been marked as a duplicate of this bug. ***
Comment 2 Samantha Chan CLA 2002-04-11 12:16:31 EDT
Initial implementation for load breakpoint completed:
- handle add load breakpoint from GDB
- hanven't hooked the load breakpoint request with gdb - so it will not stop
  even though the load breakpoint is added
- this functionality is currently disabled
- will continue working on it after i got a bug fix from UI
   -> will not send in remove, enable/disable requests for load breakpoints

Files changed:
CmdBreakpointEvent.java
GdbBreakpointManager.java
GdbCommandAndResponse.java
GdbDebugSession.java
LoadBreakpoint.java
Comment 3 Samantha Chan CLA 2002-05-08 16:51:26 EDT
Implemented Load Breakpoints.

Files changed:
CmdInitializeDE.java
GdBreakpointManager.java
GdbCommandAndResponse.java
GdbDebugSession.java
ModuleManager.java
Module.java

Comment 4 Samantha Chan CLA 2002-05-16 10:22:02 EDT
Fixed Enable and Disable of load breakpoints.

Files Changed:
GdbDebugSession.java
GdbBreakpointManager.java