aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-03-272002-03-27 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz3-2/+10
* signals.c: Moved to... * signals/signals.c: Here. * Makefile (signals.o): Update.
2002-03-27*** empty log message ***gdbadmin1-1/+1
2002-03-27 * somread.c (som_symtab_read): Remove some commented out code andJeff Law3-22/+25
updated related comments. Do not set the minimal symbol table to mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope in a dynamic executable. * hppa-tdep.c (find_proc_framesize): Sanely handle the case where we are unable to find the minimal symbol for the given PC value.
2002-03-26 2002-03-26 Fred Fish <fnf@redhat.com>Fred Fish2-4/+24
* gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we have debugging info for those functions and the compiler uses them internally to copy structs around.
2002-03-26 2002-03-26 Fred Fish <fnf@redhat.com>Fred Fish2-1/+13
* gdb.base/list.exp: Revert the change made yesterday and add note about why we don't list the default lines for remote targets.
2002-03-262002-03-25 Michael Snyder <msnyder@redhat.com>Michael Snyder2-247/+251
* gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2002-03-26 2002-03-25 Fred Fish <fnf@redhat.com>Fred Fish2-7/+7
* gdb.base/list.exp: This test works on remote targets so remove the short circuit for remote targets. Update copyright.
2002-03-26Sigh, should have updated the copyright date in theFred Fish1-1/+1
change I just checked in. Fix it here.
2002-03-26 2002-03-25 Fred Fish <fnf@redhat.com>Fred Fish2-12/+19
* gdb.base/attach.exp: Fix logic error that was suppressing this test for all non hppa*-*-hpux* targets, instead of the hp target. Move comments closer to the suppression point. Also now need to check that we are running natively.
2002-03-26*** empty log message ***gdbadmin1-1/+1
2002-03-252002-03-25 Jeff Law (law@redhat.com)Michael Snyder2-1/+12
* linux-proc.c (read_mapping): Scan up to end of line for filename.
2002-03-25 * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.Michal Ludvig2-1/+51
2002-03-25*** empty log message ***gdbadmin1-1/+1
2002-03-24* command.h: Update copyright.Andrew Cagney7-232/+42
(struct cmd_list_element): Replace definition with opaque declaration. (enum cmd_types): Document that it will eventually be moved to cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. (MALLOCED_REPLACEMENT): Delete macro. * Makefile.in (cli_decode_h): Add $(command_h). (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). * top.c: Include "cli/cli-decode.h". * completer.c: Include "cli/cli-decode.h". * maint.c: Include "cli/cli-decode.h". * cli/cli-decode.h: Include "command.h". (enum command_class): Delete. (enum cmd_types): Comment out. (enum cmd_auto_boolean): Delete. (enum var_types): Delete.
2002-03-24* cli/cli-decode.c: Include "gdb_assert.h".Andrew Cagney2-41/+51
(add_set_or_show_cmd): New static function. (add_set_cmd): Rewrite. Use add_set_or_show_cmd. (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy all fields, such as func, from the set command.
2002-03-24*** empty log message ***gdbadmin1-1/+1
2002-03-23* MAINTAINERS (sh-elf): Change warning flag to -w.Andrew Cagney2-1/+5
2002-03-23* defs.h (error): Add printf format attribute.Andrew Cagney9-9/+21
* thread-db.c (thread_from_lwp): Fix error format string. * stack.c (parse_frame_specification): Ditto. * cli/cli-decode.c (undef_cmd_error): Ditto. * scm-lang.c (scm_lookup_name): Ditto. * tracepoint.c (trace_error): Ditto. * remote-utils.c (usage): Ditto. * remote.c (compare_sections_command): Ditto. Fix PR gdb/328.
2002-03-23* gdbtypes.c (append_composite_type_field): New function.Andrew Cagney3-0/+59
(init_composite_type): New function. * gdbtypes.h (append_composite_type_field): Declare. (init_composite_type): Ditto.
2002-03-232002-03-22 Michael Snyder <msnyder@redhat.com>Michael Snyder3-4/+4
* gdb.base/default.exp: Add test for gcore. Update copyright. * gdb.base/help.exp: Add test for gcore. Update copyright.
2002-03-232002-03-22 Michael Snyder <msnyder@redhat.com>Michael Snyder3-0/+47
* gdb.base/default.exp: Add test for gcore. * gdb.base/help.exp: Add test for gcore.
2002-03-23*** empty log message ***gdbadmin1-1/+1
2002-03-222002-03-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni4-2/+39
* ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New function. * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. * rs6000-tdep.c (rs6000_gdbarch_init): Use different structure returning convention for SYSV ABI case, but not for GNU/Linux, FreeBSD, or NetBSD.
2002-03-222002-03-22 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz6-41/+74
* symtab.h (lookup_block_symbol): Add mangled_name argument to prototype. * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol with new mangled_name argument. * linespec.c (decode_line_1): Likewise. * valops (value_of_this): Likewise. * symtab.c (lookup_transparent_type): Likewise. (lookup_symbol_aux): Likewise. Accept new mangled_name argument. (lookup_symbol): If we are given a mangled name, pass it down to lookup_symbol_aux. (lookup_block_symbol): If we are given a mangled name to check against, only return symbols which match it.
2002-03-22* win32-nat.c (child_create_inferior): Check for proper shell to use here, inChristopher Faylor3-46/+32
case the user changes it on the fly. (_initialize_inftarg): Remove shell path considerations.
2002-03-222002-03-21 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-3/+9
* rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value for gdbarch_max_register_raw_size and max_register_virtual_size. Adjust copyright year.
2002-03-22*** empty log message ***gdbadmin1-1/+1
2002-03-212002-03-21 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+28
* dbxread.c (process_one_symbol): Extend the first N_SLINE in a function to cover the entire beginning of the function as well if it does not already.
2002-03-21Rename ptrace32 and ptrace64 to fix build problem with Aix 5.1Tom Rix2-18/+23
2002-03-212002-03-20 Martin M. Hunt <hunt@redhat.com>Martin Hunt2-2/+13
* regcache.c (_initialize_regcache): No need to call build_regcache() at this time; it gets called whenever the gdbarch changes.
2002-03-212002-03-20 Martin M. Hunt <hunt@redhat.com>Martin Hunt2-12/+2
* gdbserver/remote-utils.c (remote_open): Don't call getprotobyname, we're all using TCP here so just use IPPROTO_TCP. * gdbserver/gdbreplay.c (remote_open): Ditto.
2002-03-212002-03-20 David O'Brien <obrien@FreeBSD.org>David O'Brien2-0/+7
* sparc-nat.c: Include sys/param.h where possible. Approved by: Michael Snyder <msnyder@redhat.com> Message-ID: <3C98FF43.46ABDC1C@redhat.com>
2002-03-212002-03-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz4-3/+57
Fix PR gdb/422. * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX, FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX. * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for complex types. * stabsread.c (rs6000_builtin_type): Likewise. (read_sun_floating_type): Likewise.
2002-03-21*** empty log message ***gdbadmin1-1/+1
2002-03-20*** empty log message ***gdbadmin1-1/+1
2002-03-19 * stabsread.c (read_member_functions): Remove skip code for duplicatePeter Schauer2-44/+31
constructor/destructor methods. Use standard parsing for these methods and just do not chain them to the list of methods after parsing.
2002-03-19* coffread.c: Remove redundant static declarations. ReplaceAlexandre Oliva8-131/+54
occurrences of `PTR' with `void *'. * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. * top.h (quit_cover): Likewise. * defs.h (catch_errors): Likewise.
2002-03-192002-03-14 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+17
* symfile.c (syms_from_objfile): Return immediately if no syms. (symbol_file_add): Return immediately if no syms. (find_sym_fns): Return immediately if no syms.
2002-03-19* defs.h (XMALLOC): Define.Andrew Cagney25-107/+83
* gdb-events.sh (XMALLOC): Delete macro. * gdb-events.c, gdb-events.h: Regenerate. * gdbarch.sh (XMALLOC): Delete macro. * gdbarch.c: Regenerate. * serial.c (XMALLOC): Delete macro. * ui-file.c (XMALLOC): Ditto. * ser-unix.h (XMALLOC): Ditto. * sh-tdep.c (XMALLOC): Ditto. * ui-out.c (XMALLOC): Ditto. * utils.c (XMALLOC): Ditto. * i386-tdep.c (XMALLOC): Ditto. * gdb-events.c (XMALLOC): Ditto. * d10v-tdep.c (XMALLOC): Ditto. * cli-out.c (XMALLOC): Ditto. * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. * ui-file.c, ui-out.c: Ditto.
2002-03-19s/@example/@smallexample/Andrew Cagney3-347/+352
2002-03-19* command.h (struct cmd_list_element): Add field context.Andrew Cagney4-0/+38
(set_cmd_context, get_cmd_context): Declare. * cli/cli-decode.h: Ditto. * cli/cli-decode.c (get_cmd_context): New function. (set_cmd_context): New function. (add_cmd): Initialize context. Part of fixing PR gdb/145 and PR gdb/146.
2002-03-19*** empty log message ***gdbadmin1-1/+1
2002-03-18* gdbint.texinfo (Releasing GDB): Add section ``Versions andAndrew Cagney2-0/+105
Branches''.
2002-03-18* gdbint.texinfo (Releasing GDB): Add the section``Branch CommitAndrew Cagney2-0/+36
Policy''.
2002-03-18* cli/cli-decode.c (cmd_type): New function.Andrew Cagney6-11/+74
* command.h (cmd_type): Declare. * infrun.c (set_schedlock_func): Call function cmd_type. * kod.c (kod_set_os): Call cmd_type. * cris-tdep.c (cris_version_update): Use function cmd_type. (cris_mode_update, cris_abi_update): Ditto.
2002-03-18*** empty log message ***gdbadmin1-1/+1
2002-03-17* command.h: (execute_cmd_post_hook): Declare.Andrew Cagney5-20/+61
(execute_cmd_pre_hook): Declare. * cli/cli-script.c (clear_hook_in_cleanup): New function. (execute_cmd_post_hook, execute_cmd_pre_hook): New functions. Execute pre/post hook while ensuring that afterwords hook_in is cleared. * top.c (execute_command): Use execute_cmd_post_hook, and execute_cmd_pre_hook to execute pre/post commands. * infrun.c (normal_stop): Pass stop_command and not pre_hook to hook_stop_stub. (hook_stop_stub): Call execute_cmd_pre_hook.
2002-03-17* kod.c (kod_set_os): Revert previous change. Is called by ``infoAndrew Cagney2-1/+17
set'' and this leads to a core dump. Move xstrdup of operating_system to after check that it is not NULL.
2002-03-17* kod.c (kod_set_os): Remove unnecessary check thatAndrew Cagney2-3/+3
``command->type'' is set_cmd.
2002-03-17* valprint.c (set_input_radix): Use input_radix.Andrew Cagney2-2/+13
(set_output_radix): Use output_radix. (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix isn't reverted.