Commit Graph

13317 Commits

Author SHA1 Message Date
Elena Zannoni c60eb6f167 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
* gdb.texinfo (Continuing and Stepping): Add new command
	'advance'. Clarify behavior of 'until'.
2003-01-15 14:31:59 +00:00
Elena Zannoni 82025e1307 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/break.exp: Move the tests of until command from here...
	* gdb.base/until.exp: ... to here. New file. Add other tests.
	* gdb.base/advance.c: New file.
	* gdb.base/advance.exp: New file.
2003-01-15 14:25:11 +00:00
Elena Zannoni ae66c1fc9b 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
* breakpoint.c (until_break_command): Add new argument.  Use it to
	decide whether to stop only at the current frame or not.
	* breakpoint.h (until_break_command): Update prototype.
 	* infcmd.c (until_command): Add new argument to until_break_command
	call.
	(advance_command): New function.
	(_initialize_infcmd): Update help string for 'until' command.
	Add new 'advance' command.
2003-01-15 00:48:38 +00:00
gdbadmin 4abbaa29de *** empty log message *** 2003-01-15 00:00:02 +00:00
Elena Zannoni 8f9ab80108 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/args.c: New file.
        * gdb.base/args.exp: New file.
2003-01-14 21:03:44 +00:00
David Carlton a04257e6ab 2003-01-14 David Carlton <carlton@math.stanford.edu>
* linespec.c (decode_line_1): Normalize comments.
	(set_flags): Ditto.
	(locate_first_half): Ditto.
	(decode_compound): Ditto.
	(symtab_from_filename): Ditto.
	(decode_all_digits): Ditto.
	(decode_dollar): Ditto.
	(find_methods): Ditto.
	(find_toplevel_char): Ditto.
2003-01-14 20:48:50 +00:00
Daniel Jacobowitz a0d9b83140 Update copyright date. 2003-01-14 18:42:38 +00:00
Daniel Jacobowitz 9ae66589a7 * gdb.c++/virtfunc.exp: Remove fixed XFAIL. 2003-01-14 18:32:14 +00:00
Daniel Jacobowitz 8d77e5c3a8 * gdb.threads/killed.exp: Use KFAIL for gdb/568. 2003-01-14 18:13:11 +00:00
Daniel Jacobowitz 12d2f0a1dd * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
dates.
2003-01-14 17:36:49 +00:00
Daniel Jacobowitz 6ca37014df * gdb.c++/printmethod.exp (print virtual method): Accept "(void)". 2003-01-14 04:40:48 +00:00
Daniel Jacobowitz b00234725e * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
(ptype &*"foo").
	* gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2003-01-14 04:34:46 +00:00
Andrew Cagney 1bac305b72 2003-01-13 Andrew Cagney <ac131313@redhat.com>
* ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
	* demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
	* elfread.c, eval.c, expprint.c, expression.h: Update copyright.
	* f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
	* gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
	* language.c, language.h, m32r-tdep.c: Update copyright.
	* mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
	* somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
	* thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
	* values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
	* x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
	* cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.

Index: mi/ChangeLog
2003-01-13  Andrew Cagney  <ac131313@redhat.com>

	* mi-cmd-env.c: Update copyright.
2003-01-14 00:49:06 +00:00
Elena Zannoni 25caa7a88b 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
* stabsread.h (process_later, resolve_cfront_continuation):
	Obsolete.
	Update copyright years.
	* buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
	Update copyright year.
	* dbxread.c(struct cont_elem): Obsolete.
	(process_later, process_now): Obsolete functions.
	(read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
	Update copyright year.
	* gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
	(add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
	* mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
	(parse_partial_symbols): Obsolete cfront support.
	* stabsread.c
	(CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
	macros.
	(get_substring, get_cfront_method_physname, msg_unknown_complaint,
	read_cfront_baseclasses, read_cfront_member_functions,
	resolve_cfront_continuation,read_cfront_static_fields,
	copy_cfront_struct_fields): Obsolete functions.
	(define_symbol, read_one_struct_field): Obsolete cfront support.
	* xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
	Update Copyright year.
2003-01-14 00:15:05 +00:00
Elena Zannoni 7789c6f56a 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
* stack.c (print_frame_info, print_stack_frame_base_stub,
	print_stack_frame_base, show_and_print_stack_frame_stub,
	show_and_print_stack_frame, print_only_stack_frame_stub,
	print_only_stack_frame): Delete functions.
	(print_stack_frame_stub): Call print_frame_info instead of
	print_frame_info_base.
	(print_frame_info_base): Rename to print_frame_info.
	(backtrace_command_1): Call print_frame_info, instead of
	print_frame_info_base.
	(current_frame_command): Call print_stack_frame, instead of
	print_only_stack_frame.
	(frame_command): Call print_stack_frame, instead of
	show_and_print_stack_frame.
	(up_command): Ditto.
	(down_command): Ditto.
	* frame.h (print_only_stack_frame): Delete prototype.
	* infrun.c (normal_stop): Call print_stack_frame, instead of
	show_and_print_stack_frame.
	* thread.c (info_threads_command): Call print_stack_frame, instead
	of print_only_stack_frame.

2003-01-13  Elena Zannoni  <ezannoni@redhat.com>

	* mi-main.c (mi_cmd_exec_return): Use print_stack_frame instead of
	show_and_print_stack_frame.
2003-01-14 00:07:43 +00:00
gdbadmin 2a20538510 *** empty log message *** 2003-01-14 00:00:32 +00:00
Andrew Cagney e98d149fd1 Revert previous change. 2003-01-13 23:27:17 +00:00
Andrew Cagney d99ba3143f 2003-01-13 Andrew Cagney <ac131313@redhat.com>
* README (Graphical interface to GDB): Update URL.  Point at
	gdb/links/.
2003-01-13 23:25:55 +00:00
Daniel Jacobowitz d6abaea528 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
* gdb.mi/mi1-console.exp: Likewise.
2003-01-13 23:24:43 +00:00
Andrew Cagney 3f5a30162c 2003-01-13 Andrew Cagney <ac131313@redhat.com>
* gdb_indent.sh: Update to version 2.2.9.  Warn when not exact
	version match.
2003-01-13 23:07:07 +00:00
Daniel Jacobowitz dfd536a75e * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
* gdb.mi/mi1-console.exp: Likewise.
2003-01-13 22:07:15 +00:00
Daniel Jacobowitz 083ae9356e * symtab.c (find_pc_sect_line): Don't consider end-of-function
lines.
2003-01-13 21:59:53 +00:00
Daniel Jacobowitz 5365276c13 * thread-db.c (attach_thread): Prototype.
(struct private_thread_info): Remove lwpid.  Add thread handle (th),
	thread information (ti), and valid flags (th_valid, ti_valid).
	(attach_thread): Move target_pid_to_str call to after the thread
	is added to GDB's list.  Initialize the cache.
	(thread_get_info_callback, thread_db_map_id2thr)
	(thread_db_get_info): New functions.
	(thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
	(thread_db_store_registers, thread_db_thread_alive)
	(thread_db_get_thread_local_address): Use them.
	(thread_db_pid_to_str): Likewise.  Return "Missing" instead
	of calling error() for threads in unknown state.

	(clear_lwpid_callback): New function.
	(thread_db_resume): Use it to clear the cache.
2003-01-13 21:48:32 +00:00
Daniel Jacobowitz 9fc30b6b12 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
(resume_callback): Remove dead code.
2003-01-13 21:47:35 +00:00
Andrew Cagney 8f87102502 2003-01-13 Andrew Cagney <ac131313@redhat.com>
* gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
	predicate.
	* gdbarch.h, gdbarch.c: Regenerate.
	* stack.c (frame_info): Only initialize the saved registers when
	FRAME_INIT_SAVED_REGS_P.
	* frame.c (frame_saved_regs_register_unwind): Assert
	FRAME_INIT_SAVED_REGS_P.
	(deprecated_generic_get_saved_register): Ditto.
2003-01-13 21:10:30 +00:00
Daniel Jacobowitz 3f565f1eb5 * source.c (openp): Squelch warning about "filename". 2003-01-13 20:26:15 +00:00
Daniel Jacobowitz 32d34c7c4d Update copyright year. 2003-01-13 20:12:57 +00:00
Daniel Jacobowitz 072b102252 * source.c (openp): If the file does not exist don't necessarily
search the path.
2003-01-13 20:11:47 +00:00
Daniel Jacobowitz b5e5c35c01 Update copyright years. 2003-01-13 20:09:33 +00:00
Daniel Jacobowitz 973ccf8b55 Fix PR gdb/872.
* gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
	(integer_types_same_name_p): New function.
	(rank_one_type): Use it.
	* stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
2003-01-13 20:08:58 +00:00
Daniel Jacobowitz a1fb14a2c2 * gdb.c++/overload.exp: Remove some fixed XFAILs. 2003-01-13 20:08:16 +00:00
Daniel Jacobowitz 030292b70e * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
variables.
	(main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
	* configure.in: Add --with-sysroot.
	* configure: Regenerated.
	* main.c (gdb_sysroot): New variable.
	(captured_main): Initialize gdb_sysroot.
	* defs.h (gdb_sysroot): New extern declaration.
	* solib.c (_initialize_solib): Initialize solib_absolute_prefix.
2003-01-13 18:00:16 +00:00
Daniel Jacobowitz f5ebfba0ca * gdb.texinfo (Files): Document solib-absolute-prefix and
solib-search-path.
2003-01-13 17:59:49 +00:00
gdbadmin eccce3b646 *** empty log message *** 2003-01-13 00:00:32 +00:00
Michael Chastain afb5d334c7 2003-01-12 Michael Chastain <mec@shout.net>
* config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
2003-01-12 22:55:51 +00:00
Michael Chastain 751ceeb4f3 2003-01-12 Michael Chastain <mec@shout.net>
* top.c (print_gdb_version): Bump copyright year to 2003.
2003-01-12 21:38:16 +00:00
David Carlton 94cd26f8b6 2003-01-12 David Carlton <carlton@bactrian.org>
* linespec.c (symtab_from_filename): Rename variable 's' to
	'file_symtab'.
2003-01-12 20:55:32 +00:00
Andrew Cagney 1ce79225f2 2003-01-12 Andrew Cagney <ac131313@redhat.com>
* d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
	dummy frame.
	(d10v_frame_saved_pc, d10v_frame_chain): Ditto.
2003-01-12 19:25:39 +00:00
Andrew Cagney fa1fd571ea 2003-01-12 Andrew Cagney <ac131313@redhat.com>
* d10v-tdep.c: Include "gdb_assert.h".
	(d10v_store_return_value): Rewrite to match current interface.
	(d10v_extract_struct_value_address): Ditto.
	(d10v_extract_return_value): Ditto.
	(d10v_gdbarch_init): Set store_restore_value,
	extract_struct_value_address and extract_return_value.
2003-01-12 18:59:53 +00:00
Joel Brobecker 68b8d23eb2 * hpread.c (set_namestring): New procedure replacing the
SET_NAMESTRING macro.
        (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
        by calls to set_namestring.
2003-01-12 11:49:14 +00:00
gdbadmin a5ce0a93bb *** empty log message *** 2003-01-12 00:00:02 +00:00
Joel Brobecker 1fb309eaa6 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
a compilation warning.
       (hpread_process_one_debug_symbol): Likewise.
2003-01-11 02:13:23 +00:00
David Carlton 88d262ca1c 2003-01-10 David Carlton <carlton@math.stanford.edu>
* linespec.c (decode_line_1): Rename variable 's' to
	'file_symtab'.
	(decode_all_digits): Rename argument 's' to 'file_symtab'.
	(decode_dollar): Ditto.
	(decode_variable): Ditto.
	(symbol_found): Ditto.
2003-01-11 01:01:04 +00:00
gdbadmin df648bda9c *** empty log message *** 2003-01-11 00:00:01 +00:00
Michael Chastain 4ce8657e28 2003-01-09 Michael Chastain <mec@shout.net>
* gdbint.texinfo (Configuring @value{GDBN} for Release): Delete.
	(Create a Release): Add new instructions for new @file{src-release}.
	Document existing instructions for @file{Makefile.in} as
	being for @value{GDBN} 5.3.1 or earlier.
2003-01-10 22:51:57 +00:00
Michael Chastain 86669319d0 2003-01-09 Michael Chastain <mec@shout.net>
* config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
2003-01-10 20:55:04 +00:00
Corinna Vinschen 616a9dc4c0 * win32-nat.c (set_process_privilege): New function.
(child_attach): Call set_process_privilege() to enable the
	SE_DEBUG_NAME user privilege if available in process token.
2003-01-10 20:14:02 +00:00
Joel Brobecker 3269bcfa1c * hpread.c (hpread_process_one_debug_symbol): Fix a small
compilation error in the previous revision.
2003-01-10 15:39:10 +00:00
gdbadmin d0bf1cf1de *** empty log message *** 2003-01-10 00:00:33 +00:00
David Carlton 2b0ee4544f 2003-01-09 David Carlton <carlton@math.stanford.edu>
* linespec.c: Update copyright.
2003-01-09 21:34:15 +00:00