1/* 2 * Copyright 2015 LabWare 3 * Copyright 2014 Google, Inc. 4 * Copyright (c) 2002-2005 The Regents of The University of Michigan 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are --- 276 unchanged lines hidden (view full) --- 285enum GdbBreakpointType { 286 GdbSoftBp = '0', 287 GdbHardBp = '1', 288 GdbWriteWp = '2', 289 GdbReadWp = '3', 290 GdbAccWp = '4', 291}; 292 |
293#ifndef NDEBUG |
294const char * 295break_type(char c) 296{ 297 switch(c) { 298 case GdbSoftBp: return "software breakpoint"; 299 case GdbHardBp: return "hardware breakpoint"; 300 case GdbWriteWp: return "write watchpoint"; 301 case GdbReadWp: return "read watchpoint"; 302 case GdbAccWp: return "access watchpoint"; 303 default: return "unknown breakpoint/watchpoint"; 304 } 305} |
306#endif |
307 308std::map<Addr, HardBreakpoint *> hardBreakMap; 309 310EventQueue * 311getComInstEventQueue(ThreadContext *tc) 312{ 313 return tc->getCpuPtr()->comInstEventQueue[tc->threadId()]; 314} --- 764 unchanged lines hidden --- |