#include "compiler.h"
#include "nctype.h"
#include <errno.h>
#include "nasm.h"
#include "nasmlib.h"
#include "outform.h"
#include "outlib.h"
#include "insns.h"
#ifdef OF_DBG
struct Section { … } *dbgsect;
static unsigned long dbg_max_data_dump = …;
static bool section_labels = …;
static bool subsections_via_symbols = …;
static int32_t init_seg;
const struct ofmt of_dbg;
static void dbg_init(void)
{ … }
static void dbg_reset(void)
{ … }
static void dbg_cleanup(void)
{ … }
static int32_t dbg_add_section(char *name, int *bits, const char *whatwecallit)
{ … }
static int32_t dbg_section_names(char *name, int *bits)
{ … }
static int32_t dbg_herelabel(const char *name, enum label_type type,
int32_t oldseg, int32_t *subsection,
bool *copyoffset)
{ … }
static void dbg_deflabel(char *name, int32_t segment, int64_t offset,
int is_global, char *special)
{ … }
static const char *out_type(enum out_type type)
{ … }
static const char *out_sign(enum out_sign sign)
{ … }
static void dbg_out(const struct out_data *data)
{ … }
static void dbg_legacy_out(int32_t segto, const void *data,
enum out_type type, uint64_t size,
int32_t segment, int32_t wrt)
{ … }
static void dbg_sectalign(int32_t seg, unsigned int value)
{ … }
static enum directive_result
dbg_directive(enum directive directive, char *value)
{ … }
static enum directive_result
dbg_pragma(const struct pragma *pragma);
static const struct pragma_facility dbg_pragma_list[] = …;
static enum directive_result
dbg_pragma(const struct pragma *pragma)
{ … }
static const char * const types[] = …;
static void dbgdbg_init(void)
{ … }
static void dbgdbg_cleanup(void)
{ … }
static void dbgdbg_linnum(const char *lnfname, int32_t lineno, int32_t segto)
{ … }
static void dbgdbg_deflabel(char *name, int32_t segment,
int64_t offset, int is_global, char *special)
{ … }
static void dbgdbg_define(const char *type, const char *params)
{ … }
static void dbgdbg_output(int output_type, void *param)
{ … }
static void dbgdbg_typevalue(int32_t type)
{ … }
static const struct pragma_facility dbgdbg_pragma_list[] = …;
static const struct dfmt debug_debug_form = …;
static const struct dfmt * const debug_debug_arr[3] = …;
extern macros_t dbg_stdmac[];
const struct ofmt of_dbg = …;
#endif