aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
AgeCommit message (Collapse)AuthorFilesLines
2002-10-18gdb.base/default.exp: Update expected output to include 'ObjC'.Adam Fedor2-6/+6
gdb.base/help.exp: Likewise.
2002-10-17 * gdb.base/constvars.c (struct crass, struct crisp): New structs.Kevin Buettner2-0/+10
* gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2002-09-28 * gdb.base/annota1.exp (info break): Make directory components ofKevin Buettner2-10/+19
path optional since not all compilers emit this debug information. * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first step ends up stepping out of the function instead of stopping on the epilogue.
2002-09-252002-09-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+108
* frame.c: Include "gdb_string.h" and "builtin-regs.h". (frame_map_regnum_to_name): New function. (frame_map_name_to_regnum): New function. * frame.h (frame_map_name_to_regnum): Declare. (frame_map_regnum_to_name): Declare. * builtin-regs.c (builtin_reg_map_regnum_to_name): New function. * builtin-regs.h (builtin_reg_map_regnum_to_name): Declare. * parse.c: Do not include "builtin-regs.h". (target_map_name_to_register): Delete function. (write_dollar_variable): Use frame_map_name_to_regnum. * parser-defs.h (target_map_name_to_register): Delete declaration. * expprint.c: Include "frame.h". (print_subexp): Use frame_map_regnum_to_name. * eval.c (evaluate_subexp_standard): Use frame_map_regnum_to_name. * infcmd.c (registers_info): Use frame_map_name_to_regnum. 2002-09-25 Andrew Cagney <cagney@redhat.com> * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2002-09-20Add new tests for charset support.Kevin Buettner2-0/+617
2002-09-182002-09-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-0/+8
* maint.c (maintenance_internal_error): Print the parameter as the error message. (maintenance_internal_warning): New function. (_initialize_maint_cmds): Add command `maint internal-warning'. * defs.h (internal_warning, internal_vwarning): Declare. * utils.c (struct internal_problem): Define. (internal_vproblem): New function. (internal_warning): New function. (internal_vwarning): New function. (internal_warning_problem, internal_error_problem): New variables. (internal_verror): Just call internal_vproblem. Index: testsuite/ChangeLog 2002-09-18 Andrew Cagney <ac131313@redhat.com> * gdb.base/maint.exp: Check `help maint internal-warning'.
2002-09-18 * gdb.base/ending-run.exp: Add handling of "step to end of run" forCorinna Vinschen1-0/+3
embedded targets which never actually exit.
2002-09-18 * gdb.base/ending-run.exp: Properly mark "continue after exit" andFernando Nasser1-3/+27
"don't step after run" as unresolved or unsupported, instead of xfail.
2002-09-18 * gdb.base/ending-run.exp: Fix expected string for _wrap_main toCorinna Vinschen1-2/+2
allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c. Add newline to expected string in "step out of main (status wrapper)" case.
2002-09-18 * lib/gdb.exp (rerun_to_main): Allow restarting application.Corinna Vinschen1-24/+0
* gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2002-09-17 * gdb.base/printcmds.exp (test_print_string_constants): ExpectTom Tromey1-1/+1
\000, not \0, in double-quoted string.
2002-09-14 * gdb.base/command.exp: Don't expect a "Program exited normally"Corinna Vinschen1-2/+2
string after running the commands execution on breakpoint tests.
2002-09-13 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.Joel Brobecker1-1/+1
2002-09-10 * gdb.base/default.exp: Fix expected string in `info float' test.Corinna Vinschen1-1/+1
2002-08-272002-08-26 Joel Brobecker <brobecker@gnat.com>Michael Snyder1-0/+115
* cli/cli-script.c (copy_command_lines): New function. * defs.h (copy_command_lines): Export. * testsuite/gdb.base/commands.exp: New tests for commands attached to a temporary breakpoint, and for commands that delete the breakpoint they are attached to. 2002-08-26 Michael Snyder <msnyder@redhat.com> * breakpoint.c (bpstat_stop_status): Instead of copying the pointer to the breakpoint commands struct, make a new copy of the struct and point to that. (bpstat_clear): Free the commands struct. (bpstat_clear_actions): Free the commands struct. (bpstat_do_actions): Free the command actions. Also execute the local cleanups, instead of deleting them. (delete_breakpoint): Leave the commands field of the bpstat chain alone -- it will be freed later.
2002-08-17* gdb.base/return.exp: Remove i*86-*-* from list of xfail'edMark Kettenis1-15/+2
targets. The problem should be fixed now.
2002-08-13 * gdb.base/readline.exp: New file.Tom Tromey1-0/+190
2002-07-30 * gdb.base/shlib-call.exp (additional_flags): ConditionallyKevin Buettner1-0/+5
set Irix-specific compile and link flags.
2002-07-19* gdb.base/ending-run.exp: Don't expect to see the program end inJim Blandy1-1/+6
some orderly fashion when we're running on a real stand-alone board.
2002-07-18* gdb.base/interrupt.exp: Correct logic for skipping tests onJim Blandy1-5/+3
targets that don't support interrupts.
2002-07-11 * gdb.base/attach.exp: Add patterns to match output from /proc-basedJoel Brobecker1-5/+19
systems. Move comments in expect statements to inside the actions, so that they don't get matched against.
2002-07-10* gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "callMark Kettenis1-1/+1
function when asleep" test.
2002-07-10* gdb.base/page.exp: Rewrite to handle problems with very longAndrew Cagney1-3/+44
`info set' output. Update copyright.
2002-06-22* gdb.base/selftest.exp (do_stes_and_next): Skip calls toAndrew Cagney1-1/+17
setlocale, bindtextdomain and textdomain.
2002-06-11* macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: NewJim Blandy5-0/+577
tests.
2002-06-062002-06-06 Michael Snyder <msnyder@redhat.com>Michael Snyder1-22/+38
* gdb.base/overlays.exp: Record addresses of overlay functions in TCL variables rather than in GDB variables, to avoid having GDB convert them to pointers (with loss of information).
2002-06-062002-06-06 Michael Snyder <msnyder@redhat.com>Michael Snyder1-75/+113
* gdb.base/d10v.ld: Merge in several years worth of default linker script changes.
2002-06-062002-06-06 Michael Snyder <msnyder@redhat.com>Michael Snyder1-6/+13
* gdb.base/long_long.exp: Add check for sizeof (long double).
2002-05-292002-05-28 Michael Snyder <msnyder@redhat.com>Michael Snyder1-9/+9
* gdb.base/call-ar-st.exp: Allow for reduced floating point precision.
2002-05-272002-05-26 Michael Chastain <mec@shout.net>Michael Chastain1-2/+2
* gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2002-05-232002-05-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-17/+3
* gdb.base/all-bin.exp: Revise previous patch by just reducing the precision of the floating point test results. * gdb.base/call-rt-st.exp: Ditto.
2002-05-232002-05-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-5/+19
* gdb.base/all-bin.exp: Allow for reduced floating point precision. * gdb.base/call-rt-st.exp: Ditto.
2002-05-17* gdb.base/completion.exp: Recognize the more detailed errorJim Blandy1-3/+3
messages produced by the macro expander's lexical analyzer.
2002-05-142002-05-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+1
* gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE. (TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use TYPE_INSTANCE_FLAGS. (struct main_type): New. (struct type): Move most members to struct main_type. Change cv_type and as_type to new type_chain member. Add instance_flags. (TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros. (TYPE_CV_TYPE, TYPE_AS_TYPE): Remove. (finish_cv_type): Remove prototype. * gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE. Set TYPE_CHAIN. (alloc_type_instance): New function. (smash_type): New function. (make_pointer_type, make_reference_type, make_function_type) (smash_to_member_type, smash_to_method_type): Call smash_type. (make_qualified_type): New function. (make_type_with_address_space): Call make_qualified_type. (make_cv_type): Likewise. (finish_cv_type): Remove unnecessary function. (replace_type): Update comment. Copy TYPE_MAIN_TYPE. (recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS; remove TYPE_CV_TYPE and TYPE_AS_TYPE. * c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS. * dwarf2read.c (read_structure_scope): Don't call finish_cv_type. * hpread.c (hpread_read_struct_type): Likewise. * stabsread.c (read_struct_type): Likewise. 2002-05-14 Daniel Jacobowitz <drow@mvista.com> * gdb.base/maint.exp (maint print type): Update for new type structure.
2002-05-132002-05-12 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+14
* gdb.base/break.exp: Check 'break "marker2"'.
2002-05-102002-05-10 Michael Snyder <msnyder@redhat.com>Michael Snyder1-1/+1
* gdb.base/long_long.exp: Fix typo.
2002-05-10* gdb.base/printcmds.exp: Don't xfail the ptype command. This isJim Blandy1-1/+1
a bug.
2002-05-10* gdb.base/printcmds.exp (test_integer_literals_rejected):Jim Blandy1-2/+2
Recognize more detailed error message produced by the macro expander's lexical analyzer. * lib/gdb.exp (test_print_reject): Same.
2002-05-092002-05-09 Michael Snyder <msnyder@redhat.com>Michael Snyder1-1/+3
* gdb.base/long_long.exp: Add iftarget clause for strongarm.
2002-05-082002-05-08 Michael Snyder <msnyder@redhat.com>Michael Snyder2-24/+11
* gdb.base/long_long.exp: Merge clauses for arm and xscale. * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2002-05-072002-05-06 Michael Snyder <msnyder@redhat.com>Michael Snyder1-16/+30
* lib/gdb.exp (gdb_test): Add case to allow for status wrapper. (gdb_continue_to_end): Accept output from status wrapper. * gdb.base/ending-run.exp: Add case for output from status wrapper. Clean up fail messages to match pass messages.
2002-05-072002-05-06 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+3
Enable the "needs_status_wrapper" testsuite feature. * lib/gdb.exp (gdb_wrapper_init): New procedure. (gdb_compile): Conditionally call gdb_wrapper_init. * gdb.base/a2-run.exp: Recognize output from status wrapper. * gdb.c++/method.exp: Recognize output from status wrapper.
2002-05-04* gdb.base/default.exp: Remove obsolete code.Andrew Cagney8-115/+12
* gdb.c++/misc.exp: Ditto. Update copyright. * gdb.c++/cplusfuncs.exp: Ditto. Update copyright. * gdb.base/whatis.exp: Ditto. Update copyright. * gdb.base/scope.exp: Ditto. Update copyright. * gdb.base/ptype.exp: Ditto. Update copyright. * gdb.base/printcmds.exp: Ditto. Update copyright. * gdb.base/opaque.exp: Ditto. Update copyright. * gdb.base/list.exp: Ditto. * gdb.base/funcargs.exp: Ditto. Update copyright. * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete. * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete. * gdb.hp/gdb.threads-hp/usrthcore.c: Delete. * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete. * gdb.hp/gdb.threads-hp/usrthfork.c: Delete. * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2002-05-032002-05-02 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+1
* gdb.base/watchpoint.exp: Add xscale target.
2002-05-032002-05-02 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+7
* gdb.base/long_long.exp: Add xscale target. * gdb.base/default.exp: Add xscale target.
2002-05-01 2002-05-01 Fred Fish <fnf@redhat.com>Fred Fish1-2/+8
* gdb.base/completion.exp: Handle completions of "./Make" for more than one completion possibility, as is the case when we build and test in the source tree.
2002-04-242002-04-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+2
* gdb.base/help.exp: Change 'help status' to allow for target dependent output differences.
2002-04-182002-04-18 David S. Miller <davem@redhat.com>David S. Miller2-2/+2
* gdb.base/annota1.exp: Expect addresses as $hex + whitespace to handle 64-bit platforms correctly. * gdb.base/maint.exp: Likewise.
2002-04-18 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't needKevin Buettner1-2/+15
``-fpic'' when compiling files comprising a shared library, but it does need additional linker flags in order to find shared libraries at run time.
2002-04-18 * gdb.base/cvexpr.c (use): New function.Kevin Buettner1-1/+155
(main): Invoke use() on all global variables to prevent some linkers from deleting these otherwise unused symbols.