diff options
author | Joerg Wunsch <joerg@FreeBSD.org> | 2003-06-13 15:09:52 +0000 |
---|---|---|
committer | Joerg Wunsch <joerg@FreeBSD.org> | 2003-06-13 15:09:52 +0000 |
commit | 6cf3a8d0ca93425a92221c3ad09c192ea5408e94 (patch) | |
tree | dc9f5710ede41f7163fbe0d6f229e8c8222461fd /devel/avr-gdb/files | |
parent | d190d554cd1dca34b672eb5d1be73f9468176ec5 (diff) | |
download | ports-6cf3a8d0ca93425a92221c3ad09c192ea5408e94.tar.gz ports-6cf3a8d0ca93425a92221c3ad09c192ea5408e94.zip |
Notes
Diffstat (limited to 'devel/avr-gdb/files')
-rw-r--r-- | devel/avr-gdb/files/patch-aa | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/devel/avr-gdb/files/patch-aa b/devel/avr-gdb/files/patch-aa deleted file mode 100644 index 4534aea5ece2..000000000000 --- a/devel/avr-gdb/files/patch-aa +++ /dev/null @@ -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; - } - - |