summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/base/remote_gdb.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/remote_gdb.cc b/src/base/remote_gdb.cc
index 80dcd137b..37ecef97c 100644
--- a/src/base/remote_gdb.cc
+++ b/src/base/remote_gdb.cc
@@ -290,6 +290,7 @@ enum GdbBreakpointType {
GdbAccWp = '4',
};
+#ifndef NDEBUG
const char *
break_type(char c)
{
@@ -302,6 +303,7 @@ break_type(char c)
default: return "unknown breakpoint/watchpoint";
}
}
+#endif
std::map<Addr, HardBreakpoint *> hardBreakMap;