FreeBSD Bugzilla – Attachment 145234 Details for
Bug 192323
[suggested patch] devel/gdb update to version 7.8
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
gdb-7.8.patch (text/plain), 2.26 KB, created by
Yuri Victorovich
on 2014-08-02 00:17:44 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2014-08-02 00:17:44 UTC
Size:
2.26 KB
patch
obsolete
>--- Makefile (revision 363434) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= gdb >-PORTVERSION= 7.7.1 >+PORTVERSION= 7.8 > CATEGORIES= devel > MASTER_SITES= GNU > >@@ -11,7 +11,7 @@ > > LICENSE= GPLv3 > >-USES= iconv gmake libtool tar:bzip2 >+USES= iconv gmake libtool > USE_CSTD= gnu89 > GNU_CONFIGURE= yes > CONFIGURE_ENV= CONFIGURED_M4=m4 CONFIGURED_BISON=byacc >--- distinfo (revision 363434) >+++ distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (gdb-7.7.1.tar.bz2) = 0dbd5260406f1b0c70fcf027c6488527fadde0cd9bb574593491fe076eb03aa5 >-SIZE (gdb-7.7.1.tar.bz2) = 24849503 >+SHA256 (gdb-7.8.tar.gz) = 46be505fc1bc157a01124333ef37ed195147fa6a405cbfd32dea63bacaaabbe4 >+SIZE (gdb-7.8.tar.gz) = 32911353 >--- files/fbsd-threads.c (revision 363434) >+++ files/fbsd-threads.c (working copy) >@@ -1296,7 +1296,7 @@ > if (!bms.minsym) > name = "???"; > else >- name = SYMBOL_PRINT_NAME (bms.minsym); >+ name = MSYMBOL_PRINT_NAME (bms.minsym); > > printf_filtered ("Key %d, destructor %p <%s>\n", key, destructor, name); > return 0; >@@ -1505,11 +1505,11 @@ > struct minimal_symbol *ms; > CORE_ADDR addr; > >- ms = lookup_minimal_symbol (name, NULL, NULL); >+ ms = lookup_minimal_symbol (name, NULL, NULL).minsym; > if (ms == NULL) > return PS_NOSYM; > >- *sym_addr = SYMBOL_VALUE_ADDRESS (ms); >+ *sym_addr = ms->mginfo.value.address; > return PS_OK; > } > >--- files/patch-unified (revision 363434) >+++ files/patch-unified (working copy) >@@ -1,24 +1,15 @@ >---- gdb/gdb.c Thu Feb 13 13:07:24 2003 >-+++ gdb/gdb.c Wed May 17 00:24:39 2006 >-@@ -23,4 +23,5 @@ >- #include "gdb_string.h" >- #include "interps.h" >-+#include <libgen.h> >- >- int >-@@ -31,6 +32,14 @@ >+--- gdb/gdb.c 2014-08-01 04:35:20.000000000 -0700 >++++ gdb/gdb.c 2014-08-01 04:50:43.000000000 -0700 >+@@ -29,6 +29,12 @@ >+ memset (&args, 0, sizeof args); > args.argc = argc; > args.argv = argv; >-- args.use_windows = 0; > - args.interpreter_p = INTERP_CONSOLE; > + if (strncmp(basename(argv[0]), "insight", 7) == 0) { >-+ args.use_windows = 1; > + args.interpreter_p = "insight"; > + } else if (strncmp(basename(argv[0]), "gdbtui", 6) == 0) { >-+ args.use_windows = 0; > + args.interpreter_p = INTERP_TUI; > + } else { >-+ args.use_windows = 0; > + args.interpreter_p = INTERP_CONSOLE; > + } > return gdb_main (&args);
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 192323
: 145234 |
145341