VirtualBox

Changeset 59000 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Dec 4, 2015 5:17:38 PM (9 years ago)
Author:
vboxsync
Message:

DBGF: fixed gcc version of DBGF_IS_EVENT_ENABLED.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/dbgf.h

    r58995 r59000  
    633633# define DBGF_IS_EVENT_ENABLED(a_pVM, a_enmEvent) \
    634634    __extension__ ({ \
    635         Assert((a_enmEvent) >= DBGFEVENT_FIRST_SELECTABLE \
    636                (a_enmEvent) == DBGFEVENT_INTERRUPT_HARDWARE \
    637                (a_enmEvent) == DBGFEVENT_INTERRUPT_SOFTWARE); \
     635        Assert(   (a_enmEvent) >= DBGFEVENT_FIRST_SELECTABLE \
     636               || (a_enmEvent) == DBGFEVENT_INTERRUPT_HARDWARE \
     637               || (a_enmEvent) == DBGFEVENT_INTERRUPT_SOFTWARE); \
    638638        Assert((a_enmEvent) < DBGFEVENT_END); \
    639639        ASMBitTest(&(a_pVM)->dbgf.ro.bmSelectedEvents, (a_enmEvent)); \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette