mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 13:09:48 +00:00
new files; part of HP merge.
This commit is contained in:
parent
4d8f8e121a
commit
ba49f20406
@ -1,3 +1,26 @@
|
||||
Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
|
||||
|
||||
The following files are part of the HP merge; some had longer
|
||||
names at HP, but have been renamed to be no more than 14
|
||||
characters in length.
|
||||
|
||||
* gdb.base/ss.h: new file.
|
||||
* gdb.base/call-ar-st.c: new file.
|
||||
* gdb.base/call-ar-st.exp: new file.
|
||||
* gdb.base/call-rt-st.c: new file.
|
||||
* gdb.base/call-rt-st-exp: new file.
|
||||
* gdb.base/call-strs.exp: new file.
|
||||
* gdb.base/ena-dis-br.exp: new file.
|
||||
* gdb.base/environment.exp: new file.
|
||||
* gdb.base/sect-cmd.exp: new file.
|
||||
* gdb.base/shlib-cl2.exp: new file.
|
||||
* gdb.base/so-impl-ld.c: new file.
|
||||
* gdb.base/so-impl-ld.exp: new file.
|
||||
* gdb.base/so-indr-cl.c: new file.
|
||||
* gdb.base/so-indr-cl.exp: new file.
|
||||
* gdb.base/volatile.exp: new file.
|
||||
* gdb.base/whatis-exp.exp: new file.
|
||||
|
||||
Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
|
||||
|
||||
* gdb.base/default.exp: Reflect wording change in remote.c.
|
||||
|
@ -159,6 +159,7 @@ solib_implicitly_loaded.c
|
||||
solib_indirect_call.c
|
||||
sparc-aout.u
|
||||
sparc-elf.u
|
||||
ss.h
|
||||
step-test.c
|
||||
structs2.c
|
||||
structs2.exp
|
||||
|
18
gdb/testsuite/gdb.base/so-impl-ld.c
Normal file
18
gdb/testsuite/gdb.base/so-impl-ld.c
Normal file
@ -0,0 +1,18 @@
|
||||
/* This program is linked against SOM shared libraries, which the loader
|
||||
automatically loads along with the program itself).
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
extern int solib_main (int);
|
||||
|
||||
main ()
|
||||
{
|
||||
int result;
|
||||
|
||||
/* Call a shlib function. */
|
||||
result = solib_main (100);
|
||||
|
||||
/* Call it again. */
|
||||
result = solib_main (result);
|
||||
}
|
23
gdb/testsuite/gdb.base/so-indr-cl.c
Normal file
23
gdb/testsuite/gdb.base/so-indr-cl.c
Normal file
@ -0,0 +1,23 @@
|
||||
/* This program is linked against SOM shared libraries, which the loader
|
||||
automatically loads along with the program itself).
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
extern int solib_main (int);
|
||||
|
||||
static int
|
||||
solib_wrapper (function)
|
||||
int (*function)(int);
|
||||
{
|
||||
return (*function)(100);
|
||||
}
|
||||
|
||||
|
||||
main ()
|
||||
{
|
||||
int result;
|
||||
|
||||
/* This is an indirect call to solib_main. */
|
||||
result = solib_wrapper (solib_main);
|
||||
}
|
Loading…
Reference in New Issue
Block a user