Bug 6542 - ppc hpd panics - no wp support
Summary: ppc hpd panics - no wp support
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Phil Muldoon
URL:
Keywords:
Depends on:
Blocks: 6540
  Show dependency treegraph
 
Reported: 2008-05-21 13:08 UTC by Andrew Cagney
Modified: 2008-05-21 13:08 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2008-05-21 13:08:38 UTC
Since watchpoints are optional it might be better to reject attempts to add
watchpoints when there is no support.
Comment 1 Phil Muldoon 2008-05-21 13:16:10 UTC
Subject: Re:  New: ppc hpd panics - no wp support

cagney at redhat dot com wrote:
> Since watchpoints are optional it might be better to reject attempts to add
> watchpoints when there is no support.
>
>   
- Log -----------------------------------------------------------------
commit 9da8189a51b382e4d3e46fbf770808d8592e357e
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Wed May 14 15:43:48 2008 +0100

    On unsupported arch, do not check watchpoints in handleTrapped.
   
    2008-05-14  Phil Muldoon  <pmuldoon@redhat.com>
   
        * WatchpointFunctionFactory.java (getWatchpointFunctions): 
Return null
        on unknown arch, do not pass along exception.
   
    2008-05-14  Phil Muldoon  <pmuldoon@redhat.com>
   
        * LinuxPtraceTaskState.java (Running.checkWatchpoint): Check 
watchpoint
        factory does not return null.