FreeBSD Bugzilla – Attachment 138717 Details for
Bug 184796
[MAINTAINER] Upgrade devel/gdb to 7.6.2 and other small things
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.99 KB, created by
luca.pizzamiglio
on 2013-12-16 10:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
luca.pizzamiglio
Created:
2013-12-16 10:20:00 UTC
Size:
2.99 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 336616) >+++ Makefile (working copy) >@@ -2,8 +2,8 @@ > # $FreeBSD$ > > PORTNAME= gdb >-PORTVERSION= 7.6.1 >-PORTREVISION= 1 >+PORTVERSION= 7.6.2 >+#PORTREVISION= 2 > CATEGORIES= devel > MASTER_SITES= GNU > >@@ -19,6 +19,7 @@ > CONFIGURE_ENV= CONFIGURED_M4=m4 CONFIGURED_BISON=byacc > CONFIGURE_ARGS= --program-suffix=${PORTVERSION:S/.//g} \ > --with-gdb-datadir=${PREFIX}/share/gdb${PORTVERSION:S/.//g} \ >+ --with-separate-debug-dir=/usr/lib/debug \ > ${ICONV_CONFIGURE_ARG} \ > --without-libunwind-ia64 \ > --enable-targets=all >Index: distinfo >=================================================================== >--- distinfo (revision 336616) >+++ distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (gdb-7.6.1.tar.bz2) = e3dfa38a14a5457f9b8b26f7b5080ba5491bd10ae4d69bfe357cea87b7d162e4 >-SIZE (gdb-7.6.1.tar.bz2) = 24338919 >+SHA256 (gdb-7.6.2.tar.bz2) = 2f6a0e2ce1c66c9dedeb7f58a8d1298ad602ddcdaf15d23104e1f7832b96d0e8 >+SIZE (gdb-7.6.2.tar.bz2) = 24269334 >Index: files/patch-sigev >=================================================================== >--- files/patch-sigev (revision 0) >+++ files/patch-sigev (working copy) >@@ -0,0 +1,59 @@ >+--- gdb/common/signals.c.orig 2013-01-01 07:32:54.000000000 +0100 >++++ gdb/common/signals.c 2013-11-25 16:12:56.000000000 +0100 >+@@ -46,6 +46,12 @@ >+ # endif >+ #endif >+ >++#ifdef __FreeBSD__ >++# ifndef SIGLIBRT >++# define SIGLIBRT 33 /* Older versions do not define the constant */ >++# endif >++#endif >++ >+ /* This table must match in order and size the signals in enum >+ gdb_signal. */ >+ >+@@ -334,6 +340,11 @@ >+ return GDB_SIGNAL_INFO; >+ #endif >+ >++#if defined (SIGLIBRT) >++ if ( hostsig == SIGLIBRT ) >++ return GDB_SIGNAL_FBSD_LIBRT; >++#endif >++ >+ #if defined (REALTIME_LO) >+ if (hostsig >= REALTIME_LO && hostsig < REALTIME_HI) >+ { >+@@ -591,6 +602,11 @@ >+ return SIGINFO; >+ #endif >+ >++#if defined (SIGLIBRT) >++ case GDB_SIGNAL_FBSD_LIBRT: >++ return SIGLIBRT; >++#endif >++ >+ default: >+ #if defined (REALTIME_LO) >+ retsig = 0; >+--- gdb/infrun.c.orig 2013-08-30 17:58:55.000000000 +0200 >++++ gdb/infrun.c 2013-11-22 16:12:58.000000000 +0100 >+@@ -7291,6 +7291,8 @@ >+ signal_print[GDB_SIGNAL_WINCH] = 0; >+ signal_stop[GDB_SIGNAL_PRIO] = 0; >+ signal_print[GDB_SIGNAL_PRIO] = 0; >++ signal_stop[GDB_SIGNAL_FBSD_LIBRT] = 0; >++ signal_print[GDB_SIGNAL_FBSD_LIBRT] = 0; >+ >+ /* These signals are used internally by user-level thread >+ implementations. (See signal(5) on Solaris.) Like the above >+--- include/gdb/signals.def.orig 2013-01-01 07:41:30.000000000 +0100 >++++ include/gdb/signals.def 2013-11-25 16:13:42.000000000 +0100 >+@@ -197,4 +197,5 @@ >+ /* If you are adding a new signal, add it just above this comment. */ >+ >+ /* Last and unused enum value, for sizing arrays, etc. */ >+-SET (GDB_SIGNAL_LAST, 151, NULL, "GDB_SIGNAL_MAGIC") >++SET (GDB_SIGNAL_FBSD_LIBRT, 151, "SIGLIBRT", "GDB_SIGNAL_FBSD_LIBRT") >++SET (GDB_SIGNAL_LAST, 152, NULL, "GDB_SIGNAL_MAGIC")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 184796
: 138717 |
138718