1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

Upgrade to GDB 5.3.

This commit is contained in:
Joerg Wunsch 2003-06-13 15:09:52 +00:00
parent d190d554cd
commit 6cf3a8d0ca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82939
3 changed files with 2 additions and 24 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= avr-gdb
PORTVERSION= 5.2.1
PORTVERSION= 5.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= gdb/releases

View File

@ -1 +1 @@
MD5 (gdb-5.2.1.tar.gz) = e9766842f1bbc6c2353de1410d8c0de0
MD5 (gdb-5.3.tar.gz) = 1e8566325f222edfbdd93e40c6ae921b

View File

@ -1,22 +0,0 @@
Index: gdb/avr-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/avr-tdep.c,v
retrieving revision 1.4
diff -u -p -r1.4 avr-tdep.c
--- gdb/avr-tdep.c 17 Jun 2002 23:32:27 -0000 1.4
+++ gdb/avr-tdep.c 19 Jul 2002 18:33:30 -0000
@@ -995,7 +995,12 @@ avr_skip_prologue (CORE_ADDR pc)
{
sal = find_pc_line (func_addr, 0);
- if (sal.line != 0 && sal.end < func_end)
+ /* troth/2002-70-19: For some very simple functions, gcc doesn't
+ generate a prologue and the sal.end ends up being the insn (2 bytes)
+ before func_end (the address of the next func). By adjusting
+ func_end, we can catch these functions and return the correct pc. */
+
+ if (sal.line != 0 && sal.end < (func_end-2))
return sal.end;
}