debug.cc (11793:ef606668d247) debug.cc (12334:e0ab29a34764)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 23 unchanged lines hidden (view full) ---

32
33#include <sys/types.h>
34#include <unistd.h>
35
36#include <algorithm>
37#include <csignal>
38
39#include "base/cprintf.hh"
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 23 unchanged lines hidden (view full) ---

32
33#include <sys/types.h>
34#include <unistd.h>
35
36#include <algorithm>
37#include <csignal>
38
39#include "base/cprintf.hh"
40#include "base/misc.hh"
40#include "base/logging.hh"
41
42using namespace std;
43
44namespace Debug {
45
46//
47// This function will cause the process to signal itself with a
48// SIGTRAP which is ignored if not in gdb, but will cause the debugger

--- 153 unchanged lines hidden ---
41
42using namespace std;
43
44namespace Debug {
45
46//
47// This function will cause the process to signal itself with a
48// SIGTRAP which is ignored if not in gdb, but will cause the debugger

--- 153 unchanged lines hidden ---