projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4fc7f1
)
* infcall.c (find_function_addr): Add FUNCTION_START_OFFSET to
author
Mark Kettenis
<kettenis@gnu.org>
Sun, 18 Apr 2004 19:12:59 +0000
(19:12 +0000)
committer
Mark Kettenis
<kettenis@gnu.org>
Sun, 18 Apr 2004 19:12:59 +0000
(19:12 +0000)
return value.
gdb/ChangeLog
patch
|
blob
|
history
gdb/infcall.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 2d92ef91dd2f547e57bc52941ae4124990341b0d..6bc0346f73949981b032009c4843ba03602f7ad0 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,5
+1,8
@@
2004-04-18 Mark Kettenis <kettenis@gnu.org>
+ * infcall.c (find_function_addr): Add FUNCTION_START_OFFSET to
+ return value.
+
Based on a patch from Brian Ford <ford@vss.fsi.com>:
* i386-tdep.c: Correct register numbering scheme comments
throughout.
diff --git
a/gdb/infcall.c
b/gdb/infcall.c
index b10f8071daf5262ceb0fdf00cbe408bfcef8d799..3034bc42bca492225e79ff4ca46fff69f9039967 100644
(file)
--- a/
gdb/infcall.c
+++ b/
gdb/infcall.c
@@
-206,7
+206,7
@@
find_function_addr (struct value *function, struct type **retval_type)
error ("Invalid data type for function to be called.");
*retval_type = value_type;
- return funaddr;
+ return funaddr
+ FUNCTION_START_OFFSET
;
}
/* Call breakpoint_auto_delete on the current contents of the bpstat