]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
new files; part of HP merge.
authorDavid Taylor <taylor@redhat.com>
Fri, 8 Jan 1999 23:28:15 +0000 (23:28 +0000)
committerDavid Taylor <taylor@redhat.com>
Fri, 8 Jan 1999 23:28:15 +0000 (23:28 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/.Sanitize
gdb/testsuite/gdb.base/so-impl-ld.c [new file with mode: 0644]
gdb/testsuite/gdb.base/so-indr-cl.c [new file with mode: 0644]
gdb/testsuite/gdb.base/whatis-exp.exp [moved from gdb/testsuite/gdb.base/whatis-expr.exp with 100% similarity]

index de6d0d551ab08cd6526770e2e0d52a781083a063..bbcf18f7d7611befea6fa27971f1abe792202aed 100644 (file)
@@ -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.
index 5feca2137c24fcc04d9df1cfa5edef0d0b1ed757..a516963a1408fe6aa9a1d9d9ae24413c00a18e6e 100644 (file)
@@ -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
diff --git a/gdb/testsuite/gdb.base/so-impl-ld.c b/gdb/testsuite/gdb.base/so-impl-ld.c
new file mode 100644 (file)
index 0000000..a8fa189
--- /dev/null
@@ -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);
+}
diff --git a/gdb/testsuite/gdb.base/so-indr-cl.c b/gdb/testsuite/gdb.base/so-indr-cl.c
new file mode 100644 (file)
index 0000000..dc29bad
--- /dev/null
@@ -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);
+}