components/gdb/patches/gdb.gdb.sol2-core-regset.c.patch
changeset 6420 65948e9e205b
parent 1511 4d3b0b480760
equal deleted inserted replaced
6419:c11c56158669 6420:65948e9e205b
     1 --- /dev/null	2013-10-06 14:14:47.000000000 -0700
     1 # Patch required for Solaris.
     2 +++ gdb-7.6/gdb/sol2-core-regset.c	2013-10-06 13:55:51.348498600 -0700
     2 # Will contribute upstream if possible.
       
     3 
       
     4 --- gdb-7.11-orig/gdb/sol2-core-regset.c	1969-12-31 16:00:00.000000000 -0800
       
     5 +++ gdb-7.11/gdb/sol2-core-regset.c	2016-03-21 15:36:50.223590993 -0700
     3 @@ -0,0 +1,147 @@
     6 @@ -0,0 +1,147 @@
     4 +/* Machine dependent GDB support for core files on Solaris using "regsets".
     7 +/* Machine dependent GDB support for core files on Solaris using "regsets".
     5 +
     8 +
     6 +   Copyright (C) 2013 Free Software Foundation, Inc.
     9 +   Copyright (C) 2013 Free Software Foundation, Inc.
     7 +
    10 +
    36 +#include "regcache.h"
    39 +#include "regcache.h"
    37 +#include "elf-bfd.h"
    40 +#include "elf-bfd.h"
    38 +
    41 +
    39 +#include <fcntl.h>
    42 +#include <fcntl.h>
    40 +#include <errno.h>
    43 +#include <errno.h>
    41 +#include "gdb_string.h"
    44 +#include <string.h>
    42 +#include <time.h>
    45 +#include <time.h>
    43 +#ifdef HAVE_SYS_PROCFS_H
    46 +#ifdef HAVE_SYS_PROCFS_H
    44 +#include <sys/procfs.h>
    47 +#include <sys/procfs.h>
    45 +#endif
    48 +#endif
    46 +
    49 +