Elena Zannoni
e2126a1475
2005-11-03 Jim Blandy <jimb@redhat.com>
...
Checked in by Elena Zannoni <ezannoni@redhat.com>
* gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
2005-11-04 02:48:51 +00:00
Corinna Vinschen
e0ac7199c4
* gdb.arch/gdb1558.c: Include stdio.h.
2005-11-02 11:03:02 +00:00
Mark Kettenis
31d3fb18aa
* gdb.asm/asm-source.exp: Use -e instead of --entry.
2005-10-31 20:33:22 +00:00
Mark Kettenis
e52b687cc5
* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
2005-10-31 16:00:46 +00:00
Paul Gilliam
f4711d79c9
2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
vscr" tests to better match output.
2005-10-17 22:16:54 +00:00
Jim Blandy
987a910636
2005-10-12 Jim Blandy <jimb@redhat.com>
...
* gdb.base/structs.exp (any): New function.
(test_struct_returns): Don't make any assumptions at all about
what value the function returns when GDB can't set the return
value.
2005-10-12 17:56:41 +00:00
Joel Brobecker
2336bb5846
* gdb.ada/arrayidx/p.adb: New file.
...
* gdb.ada/arrayidx.exp: New testcase
2005-10-10 01:14:36 +00:00
Joel Brobecker
1495de3fd3
* gdb.ada/array_return/pck.ads: New file.
...
* gdb.ada/array_return/pck.adb: New file.
* gdb.ada/array_return/p.adb: New file.
* gdb.ada/array_return.exp: New testcase.
2005-10-10 01:11:51 +00:00
Joel Brobecker
705335ead4
* gdb.base/arrayidx.c: New file.
...
* gdb.base/arrayidx.exp: New testcase.
2005-10-03 21:28:04 +00:00
Nick Roberts
11ee99408d
*** empty log message ***
2005-09-28 23:32:43 +00:00
Bob Rossi
39fb8e9e0f
2005-09-27 Bob Rossi <bob@brasko.net>
...
* gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
from test. Escape the | in mi_gdb_test call.
* gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
expected regex's in mi_gdb_test calls.
* lib/mi-support.exp: Remove arbitrary .* from tests.
(mi_gdb_test): Add string_regex variable. Add anchor to main -re.
Fully anchor GDB/MI expected results in mi_gdb_test.
* lib/gdb.exp (string_to_regexp): Escape the ] character.
* gdb.base/sizeof.exp: Remove escape character. Correct test.
2005-09-27 22:39:04 +00:00
Paul Brook
2af48f6826
2005-09-26 Paul Brook <paul@codesourcery.com>
...
* arm-tdep.c (arm_type_align): New function.
(arm_push_dummy_call): Use it. Ensure proper argument alignment.
(arm_extract_struct_value_address): Remove.
(arm_use_struct_convention): Rename...
(arm_return_in_memory): ... To this. Return nonzero for all small
aggregates under the EABI.
(arm_return_value): New function.
(arm_gdbarch_init): Default for VFP float model for EABI binaries.
Use set_gdbarch_return_value instead of obsolete functions.
* testsuite/long_long.exp: Exclude eabi targets from arm FPA float
format test.
2005-09-26 02:17:34 +00:00
Wu Zhou
f34502bcd6
* bfp-test.c: New file.
...
* bfp-test.exp: New testcase.
2005-09-20 09:01:14 +00:00
Wu Zhou
ca9295176c
* gdb.fortran/subarray.exp: New testcase to test the evaluation
...
of subarray and substring variable.
* gdb.fortran/subarray.f: New source file for the test of subarray
and substring variable evaluation.
* gdb.fortran/exprs.exp: Add four tests for substring evaluation
of string constant.
2005-09-20 06:37:03 +00:00
Daniel Jacobowitz
c761af65c2
* gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
...
copyright dates.
2005-09-19 18:09:08 +00:00
Paul Gilliam
561d7a1d04
* rs6000-tdep.c (_initialize_rs6000_tdep): Get rid of the unused
...
'info powerpc' command prefix.
* gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
powerpc altivec' test with an almost identical 'info vector' test.
2005-09-19 17:38:04 +00:00
Paul Gilliam
b2b64cc92a
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
vscr" tests to match output.
2005-09-13 23:13:50 +00:00
Paul Gilliam
6ac4d15a41
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
output.
2005-09-13 22:07:05 +00:00
Bob Rossi
40e55befbf
2005-09-11 Bob Rossi <bob@brasko.net>
...
* lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
* gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
commands that return an MI output command and an asyncronous MI output
command.
* gdb.mi/mi-console.exp: Ditto.
2005-09-11 20:24:54 +00:00
Bob Rossi
3c7385ece0
2005-09-11 Bob Rossi <bob@brasko.net>
...
* gdb.mi/mi-var-child.c: Include <string.h>.
2005-09-11 12:50:45 +00:00
Daniel Jacobowitz
a6cd0eb35d
* killed.exp: Correct gdb_expect syntax.
2005-09-10 14:17:34 +00:00
Corinna Vinschen
2f168eed4b
* lib/mi-support.exp (mi_gdb_load): Fix typo.
2005-08-09 19:00:16 +00:00
Bob Rossi
ecd3fd0f9d
2005-08-02 Bob Rossi <bob@brasko.net>
...
* gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
(test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
Change tests to inferior-tty-set/show.
* gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
(47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
* gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
inferior. Use mi_gdb_test to get GDB and Inferior output.
* lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
descriptor.
(mi_inferior_tty_name): Add inferior PTY file name.
(mi_gdb_start): Add INFERIOR_PTY parameter.
(mi_gdb_test): Add IPATTERN parameter.
2005-08-04 01:52:31 +00:00
Bob Rossi
f1ea48cbd9
2005-08-02 Bob Rossi <bob@brasko.net>
...
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
parameter to mi_gdb_test.
* lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
2005-08-02 14:21:01 +00:00
Daniel Jacobowitz
6e650a6732
* gdb.mi/mi-var-child.c (do_children_tests): Initialize
...
struct_declarations.
* gdb.mi/mi-var-child.exp: Step over the initialization of
struct_declarations.
2005-07-31 22:10:53 +00:00
Daniel Jacobowitz
8be260b6f9
* gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
...
* gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
* gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
* gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
* gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
file.
2005-07-31 21:24:25 +00:00
Nick Roberts
4e660f0729
*** empty log message ***
2005-07-27 02:18:24 +00:00
Mark Kettenis
598b7a6f2b
* gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
...
*-*-openbsd*.
* gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
2005-07-18 19:23:54 +00:00
Mark Kettenis
6bdae935ab
* gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
...
sigaltsatck'.
2005-07-18 08:12:03 +00:00
Bob Rossi
1323e929ae
+2005-07-14 Bob Rossi <bob@brasko.net>
...
+
+ * gdb.base/default.exp (tty): Changed output of command.
+ * gdb.base/help.exp (help tty): Ditto.
2005-07-14 14:49:23 +00:00
Mark Kettenis
b1a9c08259
* gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
2005-07-12 15:20:00 +00:00
Mark Kettenis
10a844a290
* gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
...
-stack-select-frame without arguments.
(test_stack_frame_listing): Add test for newly implemented command
-stack-info-frame.
2005-07-10 20:49:38 +00:00
Bob Rossi
3cb3b8dfd1
Index: gdb/ChangeLog
...
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * fork-child.c (fork-inferior): Use accessor function for
+ inferior_io_terminal.
+ * infcmd.c (inferior_io_terminal): Make static.
+ (set_inferior_io_terminal): New function.
+ (get_inferior_io_terminal): Ditto.
+ (tty_command): Use accessor function.
+ (_initialize_infcmd): Add inferior_tty setshow variable.
+ (_initialize_infcmd): Remove tty command.
+ (_initialize_infcmd): Add a tty command that is an alias.
+ * inferior.h (set_inferior_io_terminal): New prototype.
+ (get_inferior_io_terminal): Ditto.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * inflow.c (inferior_thisrun_terminal): Add const qualifier.
+ (new_tty_prefork): Add const qualifier to parameter.
+ * nto-procfs (procfs_create_inferior): Use accessor function.
+ (procfs_create_inferior): Add const qualifier to locals.
+ * win32-nat.c (child_create_inferior): Ditto.
+ * mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): New function.
+ (mi_cmd_inferior_tty_set): Ditto.
+ * mi/mi-cmds.c (mi_cmds): Add inferior-tty-set and inferior-tty-show
+ * mi/mi-cmds.h (mi_cmd_inferior_tty_set): Add prototype.
+ (mi_cmd_inferior_tty_show): Ditto.
Index: gdb/doc/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * gdb.texinfo (GDB/MI Miscellaneous Commands): Add -inferior-tty-set
+ and -inferior-tty-show.
+ (Input/Output): Document "set/show inferior-tty" and tty alias.
Index: gdb/testsuite/ChangeLog
+2005-07-06 Bob Rossi <bob@brasko.net>
+
+ * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
+ command.
+ (Copyright): Update copyright.
2005-07-06 14:54:37 +00:00
Wu Zhou
a0c5fbcf0e
* gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
...
tests to evaluate exponentiation expression.
2005-07-06 06:11:54 +00:00
Andreas Schwab
984971d0d4
* gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
...
main to avoid warnings.
* gdb.base/sigrepeat.exp: Fix reference to undefined variable.
2005-06-29 15:01:49 +00:00
Nick Roberts
fe03833f9a
*** empty log message ***
2005-06-20 03:37:15 +00:00
Daniel Jacobowitz
0ffa0ea5bc
Correct a typo.
2005-06-18 00:56:23 +00:00
Wu Zhou
7a55f27940
* gdb.fortran/array_element.f: New file.
...
* gdb.fortran/array_element.exp: New testcase.
2005-06-17 05:18:12 +00:00
Daniel Jacobowitz
26585198a1
* gdb.base/bigcore.exp: Correct checks for systems which can
...
not dump a large core file.
2005-06-13 18:11:01 +00:00
Daniel Jacobowitz
c1bd25fd1d
gdb/
...
* Makefile.in (symfile.o): Add $(exec_h).
* exec.h (exec_set_section_address): Add prototype.
* exec.c (exec_set_section_address): New function.
* symfile.c: Include "exec.h".
(struct place_section_arg, place_section): New.
(default_symfile_offsets): Call place_section for each
section of a relocatable file.
gdb/testsuite/
* gdb.base/relocate.c: Add a copyright notice.
(dummy): Remove.
* gdb.base/relocate.exp: Test printing the values of variables
from a relocatable file.
2005-06-13 16:15:40 +00:00
Daniel Jacobowitz
589e074d2e
gdb/
...
* mi/mi-main.c (register_changed_p, get_register): Use
get_selected_frame.
(mi_execute_command): Call mi_out_rewind after an error.
testsuite/
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
excess MI output after an error.
2005-06-13 02:41:51 +00:00
Joel Brobecker
0915f927ad
* gdb.arch/alpha-step.c: New file.
...
* gdb.arch/alpha-step.exp: New testcase.
2005-05-29 01:58:53 +00:00
Daniel Jacobowitz
76ff342d25
2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
...
Dennis Brueni <dennis@slickedit.com>
gdb/
* stack.c (print_frame): In MI mode, output a fullname attribute
with the stack frame.
gdb/doc/
* gdb.texinfo (GDB/MI Breakpoint Table Commands)
(GDB/MI Data Manipulation, GDB/MI Program Control)
(GDB/MI Stack Manipulation): Update examples to include the fullname
attribute in stack frames.
gdb/testsuite/
* gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
* lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
2005-05-18 03:41:59 +00:00
Daniel Jacobowitz
96b0c7acfe
* gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
...
IBM's xlc compiler.
* gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
* gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
2005-05-18 01:38:46 +00:00
Jim Blandy
f21565d2ff
* gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
...
calling gdb_suppress_entire_file.
* gdb.base/charset.exp: Same.
* gdb.base/call-rt-st.exp: Same.
2005-05-13 17:36:43 +00:00
Bob Rossi
6006a3a1ec
Add the fullname_syntax testsuite variable. This allows GDB to make sure
...
that the MI fullname field is an absolute path, instead of just checking
for .* or /.*
2005-05-08 13:42:04 +00:00
Daniel Jacobowitz
c3b69c04b9
* gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
2005-05-04 21:21:42 +00:00
Paul Gilliam
3c95e6af3b
2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
...
* lib/gdb.exp (skip_altivec_tests): New function, based on
check_vmx_hw_available from the GCC testsuite.
* lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
* lib/gdb.arch/altivec-regs.exp: Likewise.
2005-05-03 00:41:49 +00:00
Jim Blandy
78df6c563d
* gdb.base/auxv.exp: Call 'untested' and return -1 instead of
...
calling gdb_suppress_entire_file.
2005-05-02 20:57:30 +00:00
Daniel Jacobowitz
1690f9cfba
* gdb.threads/staticthreads.exp: Override signal to check for hppa.
...
Slightly relax "sem_post" name checking.
2005-04-30 19:56:47 +00:00