OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
533d772
)
* libgcc2.c (__throw_type_match): Update to use new calling convention.
author
mrs
<mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Mar 1995 00:10:54 +0000
(
00:10
+0000)
committer
mrs
<mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Mar 1995 00:10:54 +0000
(
00:10
+0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9254
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/libgcc2.c
patch
|
blob
|
history
diff --git
a/gcc/libgcc2.c
b/gcc/libgcc2.c
index
bd33d1c
..
6ddaf9d
100644
(file)
--- a/
gcc/libgcc2.c
+++ b/
gcc/libgcc2.c
@@
-2224,14
+2224,16
@@
void *pc;
return (void*)0;
}
-int
-__throw_type_match (
const char *catch_type, const char *throw_type
)
+void *
+__throw_type_match (
void *catch_type, void *throw_type, void* obj
)
{
#if 0
printf("__throw_type_match (): catch_type = %s, throw_type = %s\n",
catch_type, throw_type);
#endif
- return strcmp (catch_type, throw_type);
+ if (strcmp ((const char *)catch_type, (const char *)throw_type) == 0)
+ return obj;
+ return 0;
}
void