File: mock.c

package info (click to toggle)
remake 4.1%2Bdbg1.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,424 kB
  • ctags: 3,216
  • sloc: ansic: 32,087; perl: 1,370; sh: 295; ruby: 294; makefile: 288; lisp: 26
file content (24 lines) | stat: -rw-r--r-- 475 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "mock.h"
#include "debug.h"
#include "debugger.h"

void
die (int status)
{
  exit (status);
}

debug_return_t enter_debugger (target_stack_node_t *p,
			       file_t *p_target, int errcode,
			       debug_enter_reason_t reason)
{
  printf("%p %p %d %u\n", p, p_target, errcode, reason);
  return continue_execution;
}

/*! Show target information: location and name. */
extern void
print_file_target_prefix (const file_t *p_target)
{
  printf("%p\n", p_target);
}