mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
049b8f392c
The compilation unit stores the directory from which qfcc was run and any source files mentioned. This is similar to dwarf's compilation unit. Right now, this is the only data in the new debug space, but more might come in the future so it seems best to treat the debug space separately in the object files.
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
/*
|
|
debug.h
|
|
|
|
debug info support
|
|
|
|
Copyright (C) 2002 Bill Currie <bill@taniwha.org>
|
|
|
|
Author: Bill Currie <bill@taniwha.org>
|
|
Date: 2002/06/04
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation; either version 2
|
|
of the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to:
|
|
|
|
Free Software Foundation, Inc.
|
|
59 Temple Place - Suite 330
|
|
Boston, MA 02111-1307, USA
|
|
|
|
*/
|
|
|
|
#ifndef __debug_h
|
|
#define __debug_h
|
|
|
|
#include "QF/pr_debug.h"
|
|
|
|
void line_info (char *text);
|
|
pr_lineno_t *new_lineno (void);
|
|
void add_source_file (const char *file);
|
|
void debug_finish_module (const char *modname);
|
|
|
|
extern int lineno_base;
|
|
|
|
#endif//__debug_h
|