Age | Commit message (Collapse) | Author | Files | Lines |
|
gdb.base/help.exp: Likewise.
|
|
* gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
|
|
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.
|
|
* 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.
|
|
|
|
* 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'.
|
|
embedded targets which never actually exit.
|
|
"don't step after run" as unresolved or unsupported, instead of xfail.
|
|
allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
Add newline to expected string in "step out of main (status wrapper)"
case.
|
|
* gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
|
|
\000, not \0, in double-quoted string.
|
|
string after running the commands execution on breakpoint tests.
|
|
|
|
|
|
* 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.
|
|
targets. The problem should be fixed now.
|
|
|
|
set Irix-specific compile and link flags.
|
|
some orderly fashion when we're running on a real stand-alone
board.
|
|
targets that don't support interrupts.
|
|
systems.
Move comments in expect statements to inside the actions, so that they
don't get matched against.
|
|
function when asleep" test.
|
|
`info set' output. Update copyright.
|
|
setlocale, bindtextdomain and textdomain.
|
|
tests.
|
|
* 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).
|
|
* gdb.base/d10v.ld: Merge in several years worth of
default linker script changes.
|
|
* gdb.base/long_long.exp: Add check for sizeof (long double).
|
|
* gdb.base/call-ar-st.exp: Allow for reduced floating point
precision.
|
|
* gdb.base/call-rt-st.exp: Fix typo in brace quoting.
|
|
* 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.
|
|
* gdb.base/all-bin.exp: Allow for reduced floating point precision.
* gdb.base/call-rt-st.exp: Ditto.
|
|
messages produced by the macro expander's lexical analyzer.
|
|
* 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.
|
|
* gdb.base/break.exp: Check 'break "marker2"'.
|
|
* gdb.base/long_long.exp: Fix typo.
|
|
a bug.
|
|
Recognize more detailed error message produced by the macro
expander's lexical analyzer.
* lib/gdb.exp (test_print_reject): Same.
|
|
* gdb.base/long_long.exp: Add iftarget clause for strongarm.
|
|
* gdb.base/long_long.exp: Merge clauses for arm and xscale.
* gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
|
|
* 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.
|
|
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.
|
|
* 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.
|
|
* gdb.base/watchpoint.exp: Add xscale target.
|
|
* gdb.base/long_long.exp: Add xscale target.
* gdb.base/default.exp: Add xscale target.
|
|
* 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.
|
|
* gdb.base/help.exp: Change 'help status' to allow for target
dependent output differences.
|
|
* gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
handle 64-bit platforms correctly.
* gdb.base/maint.exp: Likewise.
|
|
``-fpic'' when compiling files comprising a shared library, but
it does need additional linker flags in order to find shared
libraries at run time.
|
|
(main): Invoke use() on all global variables to prevent
some linkers from deleting these otherwise unused symbols.
|