Revert local changes.
This commit is contained in:
parent
68548aa4c6
commit
7c909649fa
@ -18,8 +18,6 @@
|
||||
Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* $FreeBSD$ */
|
||||
|
||||
#ifndef TM_FBSD_H
|
||||
#define TM_FBSD_H
|
||||
|
||||
|
@ -21,8 +21,6 @@
|
||||
Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* $FreeBSD$ */
|
||||
|
||||
#ifndef DEFS_H
|
||||
#define DEFS_H
|
||||
|
||||
@ -812,6 +810,10 @@ enum lval_type
|
||||
|
||||
struct frame_info;
|
||||
|
||||
/* From readline (but not in any readline .h files). */
|
||||
|
||||
extern char *tilde_expand (char *);
|
||||
|
||||
/* Control types for commands */
|
||||
|
||||
enum misc_command_type
|
||||
|
@ -19,8 +19,6 @@
|
||||
Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* $FreeBSD$ */
|
||||
|
||||
#include "config.h"
|
||||
#include <stdio.h>
|
||||
#include <sys/file.h>
|
||||
@ -32,15 +30,6 @@
|
||||
#include <ctype.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
|
@ -18,8 +18,6 @@
|
||||
Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* $FreeBSD$ */
|
||||
|
||||
#include "defs.h"
|
||||
#include "inferior.h"
|
||||
#include "regcache.h"
|
||||
@ -307,7 +305,7 @@ i386bsd_dr_set (int regnum, unsigned int value)
|
||||
/* For some mysterious reason, some of the reserved bits in the
|
||||
debug control register get set. Mask these off, otherwise the
|
||||
ptrace call below will fail. */
|
||||
dbregs.dr[7] &= ~(0x0000fc00);
|
||||
dbregs.dr7 &= ~(0x0000fc00);
|
||||
|
||||
DBREG_DRX ((&dbregs), regnum) = value;
|
||||
|
||||
@ -356,7 +354,7 @@ i386bsd_dr_get_status (void)
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
return dbregs.dr[6];
|
||||
return dbregs.dr6;
|
||||
}
|
||||
|
||||
#endif /* PT_GETDBREGS */
|
||||
|
@ -21,8 +21,6 @@
|
||||
Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* $FreeBSD$ */
|
||||
|
||||
#include "defs.h"
|
||||
#include <errno.h>
|
||||
#include "gdb_string.h"
|
||||
@ -1363,11 +1361,7 @@ find_core_target (void)
|
||||
for (t = target_structs; t < target_structs + target_struct_size;
|
||||
++t)
|
||||
{
|
||||
#if defined(__FreeBSD__)
|
||||
if ((*t)->to_stratum == (kernel_debugging ? kcore_stratum : core_stratum))
|
||||
#else
|
||||
if ((*t)->to_stratum == core_stratum)
|
||||
#endif
|
||||
{
|
||||
runable = *t;
|
||||
++count;
|
||||
|
@ -20,8 +20,6 @@
|
||||
Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* $FreeBSD$ */
|
||||
|
||||
#if !defined (TARGET_H)
|
||||
#define TARGET_H
|
||||
|
||||
@ -54,7 +52,6 @@ enum strata
|
||||
dummy_stratum, /* The lowest of the low */
|
||||
file_stratum, /* Executable files, etc */
|
||||
core_stratum, /* Core dump files */
|
||||
kcore_stratum, /* Kernel core files */
|
||||
download_stratum, /* Downloading of remote targets */
|
||||
process_stratum, /* Executing processes */
|
||||
thread_stratum /* Executing threads */
|
||||
|
@ -1 +1 @@
|
||||
5.2.1 (FreeBSD)
|
||||
5.2.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user