Re: [update] devel/gdb

2018-02-17 Thread Pascal Stumpf
On Thu, 15 Feb 2018 13:17:42 +, Stuart Henderson wrote:
> On 2018/02/09 21:23, Pascal Stumpf wrote:
> > This updates GDB to the latest version, 8.1.  Tested on amd64, i386,
> > armv7 and hppa.
> 
> It's not new with the update, but the port needs a
> 
> post-install:
>   ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${PREFIX}/share/gdb/python
> 
> and regen PLIST, otherwise when run as root it generates pyc files
> and so pkg_delete doesn't work:
> 
> Error deleting directory /usr/local/share/gdb/python/gdb/printer: Directory 
> not empty
> Error deleting directory /usr/local/share/gdb/python/gdb/function: Directory 
> not empty
> Error deleting directory /usr/local/share/gdb/python/gdb/command: Directory 
> not empty
> Error deleting directory /usr/local/share/gdb/python/gdb: Directory not empty
> Error deleting directory /usr/local/share/gdb/python: Directory not empty
> 
> No problems seen here with a bit of use on amd64.
> 

Updated diff.  I still haven't figured out what's wrong on sparc64
though ...


Index: Makefile
===
RCS file: /cvs/ports/devel/gdb/Makefile,v
retrieving revision 1.53
diff -u -p -r1.53 Makefile
--- Makefile24 Jan 2018 00:19:56 -  1.53
+++ Makefile17 Feb 2018 14:30:53 -
@@ -6,8 +6,7 @@ NOT_FOR_ARCHS=  aarch64
 COMMENT=   GNU debugger
 CATEGORIES=devel
 
-DISTNAME=  gdb-7.12.1
-REVISION=  1
+DISTNAME=  gdb-8.1
 
 HOMEPAGE=  https://www.gnu.org/software/gdb/
 
@@ -22,7 +21,7 @@ EXTRACT_SUFX= .tar.xz
 
 MODGNU_CONFIG_GUESS_DIRS=  ${WRKSRC} ${WRKSRC}/gdb
 
-WANTLIB = c expat kvm m ncurses pthread ${MODPY_WANTLIB} ${COMPILER_LIBCXX} 
util
+WANTLIB = c expat kvm m curses pthread ${MODPY_WANTLIB} ${COMPILER_LIBCXX} util
 
 #SEPARATE_BUILD = Yes
 CONFIGURE_STYLE=gnu
@@ -35,9 +34,17 @@ CONFIGURE_ARGS=  --program-prefix=e \
 
 USE_GMAKE= Yes
 
+COMPILER = base-clang ports-gcc
+
 MODULES += lang/python
 LIB_DEPENDS += ${MODPY_LIB_DEPENDS}
 TEST_DEPENDS +=devel/dejagnu
 MODPY_BUILDDEP = No
+
+# for max_align_t configure test
+CFLAGS +=  -std=gnu11
+
+post-install:
+   ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${PREFIX}/share/gdb/python
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/gdb/distinfo,v
retrieving revision 1.22
diff -u -p -r1.22 distinfo
--- distinfo28 Jan 2017 21:38:15 -  1.22
+++ distinfo17 Feb 2018 14:30:53 -
@@ -1,2 +1,2 @@
-SHA256 (gdb/gdb-7.12.1.tar.xz) = RgdoC5c9PsksMK0Cnxt9veOHaGnms6EX2KfpAIERMYY=
-SIZE (gdb/gdb-7.12.1.tar.xz) = 19225392
+SHA256 (gdb/gdb-8.1.tar.xz) = r2GgJjhY5pxdzlHqsmZi/z0q2apo2pWD6BQ7VCa+SzQ=
+SIZE (gdb/gdb-8.1.tar.xz) = 20095080
Index: patches/patch-bfd_elf_c
===
RCS file: /cvs/ports/devel/gdb/patches/patch-bfd_elf_c,v
retrieving revision 1.9
diff -u -p -r1.9 patch-bfd_elf_c
--- patches/patch-bfd_elf_c 9 Oct 2016 11:39:20 -   1.9
+++ patches/patch-bfd_elf_c 17 Feb 2018 14:30:53 -
@@ -1,7 +1,8 @@
 $OpenBSD: patch-bfd_elf_c,v 1.9 2016/10/09 11:39:20 pascal Exp $
 bfd/elf.c.orig Fri Oct  7 19:09:21 2016
-+++ bfd/elf.c  Fri Oct  7 20:53:14 2016
-@@ -9866,6 +9866,11 @@ elfcore_grok_openbsd_procinfo (bfd *abfd, Elf_Internal
+Index: bfd/elf.c
+--- bfd/elf.c.orig
 bfd/elf.c
+@@ -10183,6 +10183,11 @@ elfcore_grok_openbsd_procinfo (bfd *abfd, Elf_Internal
  static bfd_boolean
  elfcore_grok_openbsd_note (bfd *abfd, Elf_Internal_Note *note)
  {
Index: patches/patch-gdb_alpha-bsd-nat_c
===
RCS file: patches/patch-gdb_alpha-bsd-nat_c
diff -N patches/patch-gdb_alpha-bsd-nat_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-gdb_alpha-bsd-nat_c   17 Feb 2018 14:30:53 -
@@ -0,0 +1,55 @@
+$OpenBSD$
+
+Index: gdb/alpha-bsd-nat.c
+--- gdb/alpha-bsd-nat.c.orig
 gdb/alpha-bsd-nat.c
+@@ -91,7 +91,7 @@ alphabsd_fetch_inferior_registers (struct target_ops *
+ {
+   struct reg gregs;
+ 
+-  if (ptrace (PT_GETREGS, ptid_get_pid (regcache_get_ptid (regcache)),
++  if (ptrace (PT_GETREGS, get_ptrace_pid (regcache_get_ptid (regcache)),
+ (PTRACE_TYPE_ARG3) , 0) == -1)
+   perror_with_name (_("Couldn't get registers"));
+ 
+@@ -105,7 +105,7 @@ alphabsd_fetch_inferior_registers (struct target_ops *
+ {
+   struct fpreg fpregs;
+ 
+-  if (ptrace (PT_GETFPREGS, ptid_get_pid (regcache_get_ptid (regcache)),
++  if (ptrace (PT_GETFPREGS, get_ptrace_pid (regcache_get_ptid (regcache)),
+ (PTRACE_TYPE_ARG3) , 0) == -1)
+   perror_with_name (_("Couldn't get floating point status"));
+ 
+@@ -123,13 +123,13 @@ alphabsd_store_inferior_registers (struct target_ops *
+   if (regno == -1 || getregs_supplies (regno))
+ {
+   struct reg gregs;
+-  if (ptrace (PT_GETREGS, ptid_get_pid 

Re: [update] devel/gdb

2018-02-15 Thread Stuart Henderson
On 2018/02/09 21:23, Pascal Stumpf wrote:
> This updates GDB to the latest version, 8.1.  Tested on amd64, i386,
> armv7 and hppa.

It's not new with the update, but the port needs a

post-install:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${PREFIX}/share/gdb/python

and regen PLIST, otherwise when run as root it generates pyc files
and so pkg_delete doesn't work:

Error deleting directory /usr/local/share/gdb/python/gdb/printer: Directory not 
empty
Error deleting directory /usr/local/share/gdb/python/gdb/function: Directory 
not empty
Error deleting directory /usr/local/share/gdb/python/gdb/command: Directory not 
empty
Error deleting directory /usr/local/share/gdb/python/gdb: Directory not empty
Error deleting directory /usr/local/share/gdb/python: Directory not empty

No problems seen here with a bit of use on amd64.



Re: [update] devel/gdb

2018-02-10 Thread Jeremie Courreges-Anglas
On Fri, Feb 09 2018, Pascal Stumpf  wrote:
> This updates GDB to the latest version, 8.1.  Tested on amd64, i386,
> armv7 and hppa.
>
> This port has become somewhat essential infrastructure, so I'd
> appreciate some tests with various applications and platforms before
> this goes in.

8.1 on sparc64 doesn't seem happy where 7.12.1 is.  Basic programs seem
to be properly supported, but at least emacs isn't:

Reading symbols from emacs...done.
(gdb) b alloc.c:xputenv
Breakpoint 1 at 0x20f3a4: file alloc.c, line 1054.
(gdb) r
Starting program: /usr/local/bin/emacs

terminate called after throwing an instance of 'gdb_exception_RETURN_MASK_ERROR'
terminate called recursively
Abort trap (core dumped)

This results in an egdb.core file.  ''egdb egdb egdb.core'' leads to
a similar crash.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: [update] devel/gdb

2018-02-10 Thread Pascal Stumpf
On Fri, 9 Feb 2018 21:12:36 +, Stuart Henderson wrote:
> On 2018/02/09 21:23, Pascal Stumpf wrote:
> > This updates GDB to the latest version, 8.1.  Tested on amd64, i386,
> > armv7 and hppa.
> > 
> > This port has become somewhat essential infrastructure, so I'd
> > appreciate some tests with various applications and platforms before
> > this goes in.
> 
> Will give it a try on some amd64 things here soon, do you have any
> idea what might be involved with getting it to work on aarch64 where
> we currently have no userland debugger?
> 

Yes.  An implementation of gdb/aarch64-obsd-{nat,tdep}.c.  There's
FreeBSD code that's very basic, so we'd need to port over at least some
of the AArch64/Linux functions to OpenBSD in order for GDB to be
actually useful. 



Re: [update] devel/gdb

2018-02-09 Thread Stuart Henderson
On 2018/02/09 21:23, Pascal Stumpf wrote:
> This updates GDB to the latest version, 8.1.  Tested on amd64, i386,
> armv7 and hppa.
> 
> This port has become somewhat essential infrastructure, so I'd
> appreciate some tests with various applications and platforms before
> this goes in.

Will give it a try on some amd64 things here soon, do you have any
idea what might be involved with getting it to work on aarch64 where
we currently have no userland debugger?



[update] devel/gdb

2018-02-09 Thread Pascal Stumpf
This updates GDB to the latest version, 8.1.  Tested on amd64, i386,
armv7 and hppa.

This port has become somewhat essential infrastructure, so I'd
appreciate some tests with various applications and platforms before
this goes in.


Index: Makefile
===
RCS file: /cvs/ports/devel/gdb/Makefile,v
retrieving revision 1.53
diff -u -p -r1.53 Makefile
--- Makefile24 Jan 2018 00:19:56 -  1.53
+++ Makefile9 Feb 2018 20:22:45 -
@@ -6,8 +6,7 @@ NOT_FOR_ARCHS=  aarch64
 COMMENT=   GNU debugger
 CATEGORIES=devel
 
-DISTNAME=  gdb-7.12.1
-REVISION=  1
+DISTNAME=  gdb-8.1
 
 HOMEPAGE=  https://www.gnu.org/software/gdb/
 
@@ -22,7 +21,7 @@ EXTRACT_SUFX= .tar.xz
 
 MODGNU_CONFIG_GUESS_DIRS=  ${WRKSRC} ${WRKSRC}/gdb
 
-WANTLIB = c expat kvm m ncurses pthread ${MODPY_WANTLIB} ${COMPILER_LIBCXX} 
util
+WANTLIB = c expat kvm m curses pthread ${MODPY_WANTLIB} ${COMPILER_LIBCXX} util
 
 #SEPARATE_BUILD = Yes
 CONFIGURE_STYLE=gnu
@@ -35,9 +34,14 @@ CONFIGURE_ARGS=  --program-prefix=e \
 
 USE_GMAKE= Yes
 
+COMPILER = base-clang ports-gcc
+
 MODULES += lang/python
 LIB_DEPENDS += ${MODPY_LIB_DEPENDS}
 TEST_DEPENDS +=devel/dejagnu
 MODPY_BUILDDEP = No
+
+# for max_align_t configure test
+CFLAGS +=  -std=gnu11
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/gdb/distinfo,v
retrieving revision 1.22
diff -u -p -r1.22 distinfo
--- distinfo28 Jan 2017 21:38:15 -  1.22
+++ distinfo9 Feb 2018 20:22:45 -
@@ -1,2 +1,2 @@
-SHA256 (gdb/gdb-7.12.1.tar.xz) = RgdoC5c9PsksMK0Cnxt9veOHaGnms6EX2KfpAIERMYY=
-SIZE (gdb/gdb-7.12.1.tar.xz) = 19225392
+SHA256 (gdb/gdb-8.1.tar.xz) = r2GgJjhY5pxdzlHqsmZi/z0q2apo2pWD6BQ7VCa+SzQ=
+SIZE (gdb/gdb-8.1.tar.xz) = 20095080
Index: patches/patch-bfd_elf_c
===
RCS file: /cvs/ports/devel/gdb/patches/patch-bfd_elf_c,v
retrieving revision 1.9
diff -u -p -r1.9 patch-bfd_elf_c
--- patches/patch-bfd_elf_c 9 Oct 2016 11:39:20 -   1.9
+++ patches/patch-bfd_elf_c 9 Feb 2018 20:22:45 -
@@ -1,7 +1,8 @@
 $OpenBSD: patch-bfd_elf_c,v 1.9 2016/10/09 11:39:20 pascal Exp $
 bfd/elf.c.orig Fri Oct  7 19:09:21 2016
-+++ bfd/elf.c  Fri Oct  7 20:53:14 2016
-@@ -9866,6 +9866,11 @@ elfcore_grok_openbsd_procinfo (bfd *abfd, Elf_Internal
+Index: bfd/elf.c
+--- bfd/elf.c.orig
 bfd/elf.c
+@@ -10183,6 +10183,11 @@ elfcore_grok_openbsd_procinfo (bfd *abfd, Elf_Internal
  static bfd_boolean
  elfcore_grok_openbsd_note (bfd *abfd, Elf_Internal_Note *note)
  {
Index: patches/patch-gdb_alpha-bsd-nat_c
===
RCS file: patches/patch-gdb_alpha-bsd-nat_c
diff -N patches/patch-gdb_alpha-bsd-nat_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-gdb_alpha-bsd-nat_c   9 Feb 2018 20:22:45 -
@@ -0,0 +1,55 @@
+$OpenBSD$
+
+Index: gdb/alpha-bsd-nat.c
+--- gdb/alpha-bsd-nat.c.orig
 gdb/alpha-bsd-nat.c
+@@ -91,7 +91,7 @@ alphabsd_fetch_inferior_registers (struct target_ops *
+ {
+   struct reg gregs;
+ 
+-  if (ptrace (PT_GETREGS, ptid_get_pid (regcache_get_ptid (regcache)),
++  if (ptrace (PT_GETREGS, get_ptrace_pid (regcache_get_ptid (regcache)),
+ (PTRACE_TYPE_ARG3) , 0) == -1)
+   perror_with_name (_("Couldn't get registers"));
+ 
+@@ -105,7 +105,7 @@ alphabsd_fetch_inferior_registers (struct target_ops *
+ {
+   struct fpreg fpregs;
+ 
+-  if (ptrace (PT_GETFPREGS, ptid_get_pid (regcache_get_ptid (regcache)),
++  if (ptrace (PT_GETFPREGS, get_ptrace_pid (regcache_get_ptid (regcache)),
+ (PTRACE_TYPE_ARG3) , 0) == -1)
+   perror_with_name (_("Couldn't get floating point status"));
+ 
+@@ -123,13 +123,13 @@ alphabsd_store_inferior_registers (struct target_ops *
+   if (regno == -1 || getregs_supplies (regno))
+ {
+   struct reg gregs;
+-  if (ptrace (PT_GETREGS, ptid_get_pid (regcache_get_ptid (regcache)),
++  if (ptrace (PT_GETREGS, get_ptrace_pid (regcache_get_ptid (regcache)),
+   (PTRACE_TYPE_ARG3) , 0) == -1)
+ perror_with_name (_("Couldn't get registers"));
+ 
+   alphabsd_fill_reg (regcache, (char *) , regno);
+ 
+-  if (ptrace (PT_SETREGS, ptid_get_pid (regcache_get_ptid (regcache)),
++  if (ptrace (PT_SETREGS, get_ptrace_pid (regcache_get_ptid (regcache)),
+   (PTRACE_TYPE_ARG3) , 0) == -1)
+ perror_with_name (_("Couldn't write registers"));
+ 
+@@ -142,13 +142,13 @@ alphabsd_store_inferior_registers (struct target_ops *
+ {
+   struct fpreg fpregs;
+ 
+-  if (ptrace (PT_GETFPREGS, ptid_get_pid (regcache_get_ptid (regcache)),
++  if (ptrace (PT_GETFPREGS, get_ptrace_pid (regcache_get_ptid (regcache)),
+ (PTRACE_TYPE_ARG3) , 0) == -1)
+   perror_with_name 

update: devel/gdb

2013-04-29 Thread Pascal Stumpf
Update to GDB 7.6, lightly tested on amd64.

Index: Makefile
===
RCS file: /home/pascal/cvs/ports/devel/gdb/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile21 Mar 2013 08:45:15 -  1.25
+++ Makefile29 Apr 2013 18:14:29 -
@@ -3,7 +3,7 @@
 COMMENT=   GNU debugger
 CATEGORIES=devel
 
-DISTNAME=  gdb-7.5.1
+DISTNAME=  gdb-7.6
 
 HOMEPAGE=  http://www.gnu.org/software/gdb/
 
Index: distinfo
===
RCS file: /home/pascal/cvs/ports/devel/gdb/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo29 Nov 2012 18:58:40 -  1.8
+++ distinfo29 Apr 2013 18:27:52 -
@@ -1,2 +1,2 @@
-SHA256 (gdb/gdb-7.5.1.tar.gz) = +Z8m4sESfxK6FOzglHqamUi+Relrae82MTHkaaaYY24=
-SIZE (gdb/gdb-7.5.1.tar.gz) = 28490732
+SHA256 (gdb/gdb-7.6.tar.gz) = gHA4ml3MEE6wvkg9WCcp+Y7U12GtGc7dPxe10lAvqjY=
+SIZE (gdb/gdb-7.6.tar.gz) = 31437633
Index: patches/patch-bfd_elf_c
===
RCS file: /home/pascal/cvs/ports/devel/gdb/patches/patch-bfd_elf_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-bfd_elf_c
--- patches/patch-bfd_elf_c 25 Aug 2012 19:15:44 -  1.2
+++ patches/patch-bfd_elf_c 29 Apr 2013 19:28:56 -
@@ -1,14 +1,14 @@
 $OpenBSD: patch-bfd_elf_c,v 1.2 2012/08/25 19:15:44 pascal Exp $
 bfd/elf.c.orig Wed Jul  4 02:29:51 2012
-+++ bfd/elf.c  Sun Aug 19 14:37:28 2012
-@@ -8747,6 +8747,11 @@ elfcore_grok_openbsd_procinfo (bfd *abfd, Elf_Internal
+--- bfd/elf.c.orig Fri Mar  8 18:13:31 2013
 bfd/elf.c  Mon Apr 29 21:13:54 2013
+@@ -8884,6 +8884,11 @@ elfcore_grok_openbsd_procinfo (bfd *abfd, Elf_Internal
  static bfd_boolean
  elfcore_grok_openbsd_note (bfd *abfd, Elf_Internal_Note *note)
  {
 +  int lwp;
 +
 +  if (elfcore_netbsd_get_lwpid (note, lwp))
-+elf_tdata (abfd)-core_lwpid = lwp;
++elf_tdata (abfd)-core-lwpid = lwp;
 +
if (note-type == NT_OPENBSD_PROCINFO)
  return elfcore_grok_openbsd_procinfo (abfd, note);
Index: patches/patch-gdb_data-directory_Makefile_in
===
RCS file: 
/home/pascal/cvs/ports/devel/gdb/patches/patch-gdb_data-directory_Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-gdb_data-directory_Makefile_in
--- patches/patch-gdb_data-directory_Makefile_in25 Aug 2012 19:15:44 
-  1.2
+++ patches/patch-gdb_data-directory_Makefile_in29 Apr 2013 18:28:44 
-
@@ -1,7 +1,7 @@
 $OpenBSD: patch-gdb_data-directory_Makefile_in,v 1.2 2012/08/25 19:15:44 
pascal Exp $
 gdb/data-directory/Makefile.in.origWed Apr 11 07:50:44 2012
-+++ gdb/data-directory/Makefile.in Sun Aug 19 14:37:28 2012
-@@ -94,7 +94,7 @@ FLAGS_TO_PASS = \
+--- gdb/data-directory/Makefile.in.origTue Jan  1 07:32:56 2013
 gdb/data-directory/Makefile.in Mon Apr 29 20:28:12 2013
+@@ -97,7 +97,7 @@ FLAGS_TO_PASS = \
RUNTESTFLAGS=$(RUNTESTFLAGS)
  
  .PHONY: all
@@ -10,7 +10,7 @@ $OpenBSD: patch-gdb_data-directory_Makef
  
  # For portability's sake, we need to handle systems that don't have
  # symbolic links.
-@@ -188,7 +188,7 @@ install: all
+@@ -191,7 +191,7 @@ install: all
@$(MAKE) $(FLAGS_TO_PASS) install-only
  
  .PHONY: install-only
Index: patches/patch-gdb_python_python-config_py
===
RCS file: 
/home/pascal/cvs/ports/devel/gdb/patches/patch-gdb_python_python-config_py,v
retrieving revision 1.2
diff -u -p -r1.2 patch-gdb_python_python-config_py
--- patches/patch-gdb_python_python-config_py   3 Mar 2012 19:22:42 -   
1.2
+++ patches/patch-gdb_python_python-config_py   29 Apr 2013 18:28:44 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-gdb_python_python-config_py,v 1.2 2012/03/03 19:22:42 pascal 
Exp $
 gdb/python/python-config.py.orig   Mon Jan 31 05:42:08 2011
-+++ gdb/python/python-config.pyWed Feb 29 00:21:30 2012
-@@ -71,6 +71,8 @@ for opt in opt_flags:
+--- gdb/python/python-config.py.orig   Wed Dec 12 17:47:30 2012
 gdb/python/python-config.pyMon Apr 29 20:28:12 2013
+@@ -72,6 +72,8 @@ for opt in opt_flags:
  libs.insert(0, '-L' + getvar('LIBPL'))
  elif os.name == 'nt':
  libs.insert(0, '-L' + sysconfig.PREFIX + '/libs')
@@ -9,4 +9,4 @@ $OpenBSD: patch-gdb_python_python-config
 +libs.insert(0, getvar('LDFLAGS'))
  if getvar('LINKFORSHARED') is not None:
  libs.extend(getvar('LINKFORSHARED').split())
- print to_unix_path(' '.join(libs))
+ print (to_unix_path(' '.join(libs)))
Index: patches/patch-libiberty_Makefile_in
===
RCS file: /home/pascal/cvs/ports/devel/gdb/patches/patch-libiberty_Makefile_in,v
retrieving revision 

update devel/gdb

2012-08-19 Thread Pascal Stumpf
This updates GDB to the recently released version 7.5.  Tested briefly
on amd64 so far; please test if you're using it.


Index: Makefile
===
RCS file: /cvs/ports/devel/gdb/Makefile,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile
--- Makefile4 May 2012 21:09:29 -   1.21
+++ Makefile19 Aug 2012 13:54:46 -
@@ -3,7 +3,7 @@
 COMMENT=   GNU debugger
 CATEGORIES=devel
 
-DISTNAME=  gdb-7.4.1
+DISTNAME=  gdb-7.5
 
 HOMEPAGE=  http://www.gnu.org/software/gdb/
 
Index: distinfo
===
RCS file: /cvs/ports/devel/gdb/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo4 May 2012 21:09:29 -   1.6
+++ distinfo19 Aug 2012 13:54:46 -
@@ -1,5 +1,2 @@
-MD5 (gdb/gdb-7.4.1.tar.gz) = X7f8qe96njz+4OLywOUgUQ==
-RMD160 (gdb/gdb-7.4.1.tar.gz) = BDFdVcZszWfkBpHUwEogSZu7fFM=
-SHA1 (gdb/gdb-7.4.1.tar.gz) = iqkI8BpuVy01ZyEpenQfYir2xAc=
-SHA256 (gdb/gdb-7.4.1.tar.gz) = +Z0r6DHq0yRxKuTxGGjgflRScvEKrEGGBg8ThvJimzg=
-SIZE (gdb/gdb-7.4.1.tar.gz) = 27365650
+SHA256 (gdb/gdb-7.5.tar.gz) = jc843QT38DG1HQZyBQ1rFGJjAt3CTXTkhrRmYzXeLfM=
+SIZE (gdb/gdb-7.5.tar.gz) = 28475479
Index: patches/patch-bfd_elf_c
===
RCS file: /cvs/ports/devel/gdb/patches/patch-bfd_elf_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-bfd_elf_c
--- patches/patch-bfd_elf_c 3 Mar 2012 19:22:42 -   1.1
+++ patches/patch-bfd_elf_c 19 Aug 2012 13:54:46 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-bfd_elf_c,v 1.1 2012/03/03 19:22:42 pascal Exp $
 bfd/elf.c.orig Tue Dec  6 15:09:09 2011
-+++ bfd/elf.c  Wed Feb 29 00:06:19 2012
-@@ -8641,6 +8641,11 @@ elfcore_grok_openbsd_procinfo (bfd *abfd, Elf_Internal
+--- bfd/elf.c.orig Wed Jul  4 02:29:51 2012
 bfd/elf.c  Sun Aug 19 14:37:28 2012
+@@ -8747,6 +8747,11 @@ elfcore_grok_openbsd_procinfo (bfd *abfd, Elf_Internal
  static bfd_boolean
  elfcore_grok_openbsd_note (bfd *abfd, Elf_Internal_Note *note)
  {
Index: patches/patch-gdb_data-directory_Makefile_in
===
RCS file: /cvs/ports/devel/gdb/patches/patch-gdb_data-directory_Makefile_in,v
retrieving revision 1.1
diff -u -p -r1.1 patch-gdb_data-directory_Makefile_in
--- patches/patch-gdb_data-directory_Makefile_in3 Mar 2012 19:22:42 
-   1.1
+++ patches/patch-gdb_data-directory_Makefile_in19 Aug 2012 13:54:46 
-
@@ -1,7 +1,7 @@
 $OpenBSD: patch-gdb_data-directory_Makefile_in,v 1.1 2012/03/03 19:22:42 
pascal Exp $
 gdb/data-directory/Makefile.in.origFri Jan  6 05:43:34 2012
-+++ gdb/data-directory/Makefile.in Wed Feb 29 00:35:12 2012
-@@ -93,7 +93,7 @@ FLAGS_TO_PASS = \
+--- gdb/data-directory/Makefile.in.origWed Apr 11 07:50:44 2012
 gdb/data-directory/Makefile.in Sun Aug 19 14:37:28 2012
+@@ -94,7 +94,7 @@ FLAGS_TO_PASS = \
RUNTESTFLAGS=$(RUNTESTFLAGS)
  
  .PHONY: all
@@ -10,7 +10,7 @@ $OpenBSD: patch-gdb_data-directory_Makef
  
  # For portability's sake, we need to handle systems that don't have
  # symbolic links.
-@@ -187,7 +187,7 @@ install: all
+@@ -188,7 +188,7 @@ install: all
@$(MAKE) $(FLAGS_TO_PASS) install-only
  
  .PHONY: install-only
Index: patches/patch-libiberty_Makefile_in
===
RCS file: /cvs/ports/devel/gdb/patches/patch-libiberty_Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-libiberty_Makefile_in
--- patches/patch-libiberty_Makefile_in 3 Mar 2012 19:22:42 -   1.2
+++ patches/patch-libiberty_Makefile_in 19 Aug 2012 13:54:46 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-libiberty_Makefile_in,v 1.2 2012/03/03 19:22:42 pascal Exp $
 libiberty/Makefile.in.orig Wed Nov  2 23:02:55 2011
-+++ libiberty/Makefile.in  Wed Feb 29 00:15:13 2012
-@@ -342,7 +342,7 @@ libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
+--- libiberty/Makefile.in.orig Fri Apr 27 20:03:26 2012
 libiberty/Makefile.in  Sun Aug 19 14:37:28 2012
+@@ -343,7 +343,7 @@ libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
  @MAINT@   echo stamp  stamp-functions
  
  INSTALL_DEST = @INSTALL_DEST@
Index: pkg/PLIST
===
RCS file: /cvs/ports/devel/gdb/pkg/PLIST,v
retrieving revision 1.10
diff -u -p -r1.10 PLIST
--- pkg/PLIST   3 Mar 2012 19:22:42 -   1.10
+++ pkg/PLIST   19 Aug 2012 13:54:46 -
@@ -1,7 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.10 2012/03/03 19:22:42 pascal Exp $
 @conflict libbfd-*
 @bin bin/egdb
-@bin bin/egdbtui
 include/ansidecl.h
 include/bfd.h
 include/bfdlink.h
@@ -14,12 +13,12 @@ include/symcat.h
 @info info/gdb.info
 @info info/gdbint.info
 @info info/stabs.info
+@comment lib/charset.alias
 lib/libbfd.a
 lib/libbfd.la
 lib/libopcodes.a
 lib/libopcodes.la
 @man man/man1/egdb.1
-@man