Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@1062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ccd1d669db
commit
f9e5fdc9dd
21 changed files with 65 additions and 267 deletions
|
|
@ -5,21 +5,9 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2001. University of Chicago. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* $Header$
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,5 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2000. The University of Chicago
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
* See the file LICENSE for information on usage and redistribution.
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
|
||||||
|
|
@ -5,26 +5,14 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
/* These are the python exception objects we will add
|
/* These are the python exception objects we will add
|
||||||
SegFault, BusError, AbortError */
|
SegFault, BusError, AbortError */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,26 +6,14 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
PyObject_HEAD
|
PyObject_HEAD
|
||||||
WadFrame *frame; /* Wad Stack frame object */
|
WadFrame *frame; /* Wad Stack frame object */
|
||||||
|
|
|
||||||
|
|
@ -5,25 +5,13 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
extern "C" void pywadinit();
|
extern "C" void pywadinit();
|
||||||
|
|
||||||
/* This hack is used to auto-initialize wad regardless of whether we are
|
/* This hack is used to auto-initialize wad regardless of whether we are
|
||||||
|
|
|
||||||
|
|
@ -1,24 +1,12 @@
|
||||||
WAD (Wrapped Application Debugger)
|
WAD (Wrapped Application Debugger)
|
||||||
|
|
||||||
Copyright (C) 2001 David M. Beazley
|
Copyright (C) 2001
|
||||||
|
University of Chicago
|
||||||
|
All Rights Reserved
|
||||||
|
|
||||||
Author(s):
|
Author(s):
|
||||||
David M. Beazley (beazley@cs.uchicago.edu)
|
David M. Beazley (beazley@cs.uchicago.edu)
|
||||||
|
|
||||||
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 the Free Software
|
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
|
|
||||||
$Header$
|
$Header$
|
||||||
|
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
@ -102,7 +90,9 @@ Notes:
|
||||||
them in non-traditional locations.
|
them in non-traditional locations.
|
||||||
|
|
||||||
- The Linux version has only been tested with 2.2-12 and 2.2-14 kernels
|
- The Linux version has only been tested with 2.2-12 and 2.2-14 kernels
|
||||||
and the RedHat 6.x distribution. Your mileage may vary.
|
and the RedHat 6.x distribution. Your mileage may vary. There
|
||||||
|
may be some compatibility issues related to glibc and other parts
|
||||||
|
of the system as well.
|
||||||
|
|
||||||
3. Using WAD
|
3. Using WAD
|
||||||
|
|
||||||
|
|
@ -211,7 +201,8 @@ General:
|
||||||
|
|
||||||
Solaris:
|
Solaris:
|
||||||
|
|
||||||
- No platform specific issues are known at this time.
|
- WAD is extremely slow at collecting debugging information
|
||||||
|
from large applications.
|
||||||
|
|
||||||
Linux:
|
Linux:
|
||||||
|
|
||||||
|
|
@ -275,7 +266,7 @@ mechanism. Standard functions tend to just exit. The WAD handler
|
||||||
produces a C stack trace and produces a Perl stack trace using some
|
produces a C stack trace and produces a Perl stack trace using some
|
||||||
code derived from the sigtrap module.
|
code derived from the sigtrap module.
|
||||||
|
|
||||||
Note: 3/10/01 - Perl support is currently broken.
|
Note: 3/23/01 - Perl support is currently broken.
|
||||||
|
|
||||||
7. Testing and Examples
|
7. Testing and Examples
|
||||||
|
|
||||||
|
|
@ -360,11 +351,4 @@ ways to contribute. Here is the short to-do list:
|
||||||
Please contact me if you are interested in working on any of these projects.
|
Please contact me if you are interested in working on any of these projects.
|
||||||
|
|
||||||
Dave Beazley (beazley@cs.uchicago.edu)
|
Dave Beazley (beazley@cs.uchicago.edu)
|
||||||
March 10, 2001
|
March 23, 2001
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,8 @@
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
/* Handler function */
|
/* Handler function */
|
||||||
static void handler(int signo, WadFrame *frame, char *ret) {
|
static void handler(int signo, WadFrame *frame, char *ret) {
|
||||||
static char message[65536];
|
static char message[65536];
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
extern "C" void tclwadinit();
|
extern "C" void tclwadinit();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,24 +5,13 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
char *wad_cplus_demangle(WadSymbol *ws) {
|
char *wad_cplus_demangle(WadSymbol *ws) {
|
||||||
static char buffer[4096];
|
static char buffer[4096];
|
||||||
strcpy(buffer,ws->name);
|
strcpy(buffer,ws->name);
|
||||||
|
|
|
||||||
|
|
@ -7,24 +7,13 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
#ifdef WAD_SOLARIS
|
#ifdef WAD_SOLARIS
|
||||||
#include <sys/elf.h>
|
#include <sys/elf.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -6,25 +6,13 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
/* Debugging flag */
|
/* Debugging flag */
|
||||||
int wad_debug_mode = 0;
|
int wad_debug_mode = 0;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,26 +6,14 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
/* Utility functions used to generate strings that are guaranteed not to
|
/* Utility functions used to generate strings that are guaranteed not to
|
||||||
rely upon malloc() and related functions */
|
rely upon malloc() and related functions */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,25 +10,13 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
typedef struct _WadMemory {
|
typedef struct _WadMemory {
|
||||||
int npages; /* Number of pages */
|
int npages; /* Number of pages */
|
||||||
int last; /* Last offset in page */
|
int last; /* Last offset in page */
|
||||||
|
|
|
||||||
|
|
@ -15,24 +15,13 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
#include <ar.h>
|
#include <ar.h>
|
||||||
|
|
||||||
typedef struct WadFile {
|
typedef struct WadFile {
|
||||||
|
|
|
||||||
|
|
@ -5,25 +5,13 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
/* Maximum number of return points */
|
/* Maximum number of return points */
|
||||||
#define WAD_NUMBER_RETURN 128
|
#define WAD_NUMBER_RETURN 128
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,25 +11,13 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
/* Include the proper code for reading the segment map */
|
/* Include the proper code for reading the segment map */
|
||||||
|
|
||||||
#ifdef WAD_SOLARIS
|
#ifdef WAD_SOLARIS
|
||||||
|
|
|
||||||
|
|
@ -5,25 +5,13 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
extern void wad_stab_debug();
|
extern void wad_stab_debug();
|
||||||
|
|
||||||
/* For some odd reason, certain linux distributions do not seem to define the
|
/* For some odd reason, certain linux distributions do not seem to define the
|
||||||
|
|
|
||||||
|
|
@ -6,25 +6,13 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
/* stabs data structure. This appears to be somewhat universal. */
|
/* stabs data structure. This appears to be somewhat universal. */
|
||||||
typedef struct Stab {
|
typedef struct Stab {
|
||||||
unsigned n_strx; /* index into file string table */
|
unsigned n_strx; /* index into file string table */
|
||||||
|
|
|
||||||
|
|
@ -5,25 +5,13 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
* new_frame()
|
* new_frame()
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -8,25 +8,12 @@
|
||||||
*
|
*
|
||||||
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
* Author(s) : David Beazley (beazley@cs.uchicago.edu)
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001
|
* Copyright (C) 2000. The University of Chicago. All rights reserved.
|
||||||
*
|
|
||||||
* 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 the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "wad.h"
|
#include "wad.h"
|
||||||
|
|
||||||
|
static char cvs[] = "$Header$";
|
||||||
|
|
||||||
/* Hash table containing stab strings and such */
|
/* Hash table containing stab strings and such */
|
||||||
typedef struct stringtype {
|
typedef struct stringtype {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue