aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1998-06-27 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.Keith Seitz12-33/+1544
* configure.in: Add options for gdbtk testsuite. * configure: Regenerate. * gdb.gdbtk: New directory to hold gdbtk tests. * gdb.gdbtk/console.{exp, test}: New console window tests.
1998-06-27 * symtab.h (enum namespace): Add new namespaces FUNCTIONS_NAMESPACE,Keith Seitz5-444/+843
TYPES_NAMESPACE, METHODS_NAMESPACE, and VARIABLES_NAMESPACE used by new search_symbols. Add prototype for search_symbols and free_search_symbols. * symtab.c (list_symbols): Rewrite to use new search_symbols. (file_matches): New helper function for search_symbols. (free_search_symbols): New function which frees data returned from search_symbols. (print_symbol_info): New helper function which prints info about a matched symbol to stdout. Extracted from old list_symbols. (print_msymbol_info): New helper function which prints info about a matched msymbol to stdout. Extracted from old list_symbols. (symtab_symbol_info): Extracted from old list_symbols. (variables_info): Use symtab_symbol_info. (functions_info): Use symtab_symbol_info. (types_info): Use symtab_symbol_info. (rbreak_command): Rewrite to use new search_symbols. * gdbtk.c: Change all references to static global "interp" to "gdbtk_interp" and export this global. (gdbtk_init): If gdbtk_source_filename is not NULL, source this file into the interpreter when it goes idle. Add new command "gdb_search". (gdb_search): New function which searches the symbol table. (gdbtk_test): New function called by main when the --tclcommand option is used. * main.c (main): Add a new option "--tclcommand" which is used by the testsuite to source a file into the interpreter when it goes idle.
1998-06-26 * gdb.fortran/types.exp: Escape brackets in expect patternsPeter Schauer1-0/+7
for test_float_literal_types_accepted tests. * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss before run test.
1998-06-26 * am33.exp: Just compile, do not link the testcase.Jeff Law1-0/+7
* am33.s: Add ".am33" pseudoop to force am33 mode.
1998-06-25 * gdb.base/setshow.exp: make sure $pc is sane.Felix Lee1-0/+6
* gdb.stabs/weird.exp: split expect patterns properly.
1998-06-25* Fix gdb inferior calls on 128-bit MIPS targets.Frank Ch. Eigler1-0/+5
Thu Jun 25 22:38:32 1998 Frank Ch. Eigler <fche@cygnus.com> * mips-tdep.c (mips_push_arguments): Use 128-bit stack frame alignment for inferior calls.
1998-06-25 * mn10200-tdep.c (mn10200_analyze_prologue): Fix calculationMark Alexander2-2/+7
of jsr target address.
1998-06-24 * gdb.disasm/am33.s: New disassembler testfile for the am33.Jeff Law5-0/+1334
* gdb.disasm/am33.exp: Run it.
1998-06-24 * config/mn10200/tm-mn10200.h (SAVED_PC_AFTER_CALL): Don'tMark Alexander2-1/+6
zero upper byte of address.
1998-06-24Tue Jun 23 17:32:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-29/+49
* rs6000-tdep.c (pop_dummy_frame): use memcpy. (push_arguments): use memset. (various other places): fix up indentation and long lines.
1998-06-23Tue Jun 23 11:58:35 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-1/+6
* configure.in: s/lXext/-lXext/ for Jillian's change.
1998-06-23fix indentation.Michael Snyder1-0/+2
1998-06-23Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+10
* gdb.base/funcargs.exp: simplify expect strings to ease pattern match processing (and eliminate spurious timeouts when running).
1998-06-23Tue Jun 23 11:14:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder4-18/+123
* config/mips/tm-irix5.h: Modify to work better on irix 6, by making FP registers 8 bytes instead of 4. REGISTER_BYTES: redefine. REGISTER_BYTE(): redefine. REGISTER_VIRTUAL_TYPE: redefine. MIPS_LAST_ARG_REGNUM: redefine. * irix5-nat.c (fetch_core_registers): read 8 bytes per FP register. * mips-tdep.c (FP_REGISTER_DOUBLE): new macro to distinguish targets with 8-byte FP registers (don't use TARGET_MIPS64). (STACK_ARGSIZE): new macro, how much space is taken up on the stack for each function argument (don't use TARGET_MIPS64). (mips_push_arguments): modify logic to work better on Irix 6 (n32 ABI).
1998-06-23configure.in: Add -lXext to mips_extra_libsJillian Ye3-2/+20
1998-06-21 * symtab.c (find_line_pc): assumed that a PC of 0 is illegal.Ron Unrau1-2/+1
Changed to pass PC as arg and return 1 if valid (0 otherwise). symtab.h: change prototype to match symtab.c (find_line_pc_range): use new interface breakpoint.c (resolve_sal_pc): ditto gdbtk.c (gdb_set_bp): ditto
1998-06-18fix sanitization; add ax-gdb.c ax-gdb.h ax-general.c ax.hrelease1-0/+4
1998-06-18install tracing help filesrelease1-0/+4
1998-06-17 * parse.c (target_map_name_to_register): Check target specificRon Unrau1-6/+10
aliases *first* so that it can over-ride architectural names * txvu-tdep.c: start to handle backtraces
1998-06-17 * remote-sds.c (sds_start_remote): Fix printf call.Said Ziouani2-1/+5
1998-06-16 * mn10200-tdep.c (mn10200_analyze_prologue): Fix null pointerMark Alexander2-1/+7
crash when in "start".
1998-06-16 * dbxread.c: reset function_start_offset after a finishing N_FUNRon Unrau2-0/+12
is seen. * remote-sim.c: allow TARGET_REDEFINE_DEFAULT_OPS to override target vectors as needed. * txvu-tdep.c: add support for VIF breakpoints.
1998-06-16Mon Jun 15 13:18:21 1998 Jim Ingham <jingham@cygnus.com>Jim Ingham2-2/+17
* gdbtk.c (gdbtk_init): Add elements to the auto_path AS LIST ELEMENTS. This allows gdbtk to work when installed in a directory which has a space in the path. D. Moseley pointed out the bug.
1998-06-16* PR 15693 fix.Frank Ch. Eigler3-1/+22
Wed Jun 10 18:04:35 1998 Frank Ch. Eigler <fche@cygnus.com> * gdbtypes.c (get_discrete_bounds): Assign unsigned type flag for all-positive enum. (create_set_type): Ditto for all-positive set values. * values.c (unpack_field_as_long): Check for typedef in struct field unpacking.
1998-06-14*** empty log message ***Ron Unrau1-0/+6
1998-06-14 * partial-stab.h: 'F' and 'f' type N_FUN psymbols should passRon Unrau3-11/+13
CUR_SYMBOL_VALUE as CORE_ADDR instead of long * buildsym.[ch]: export pending_blocks list * tm-txvu.h: define TARGET_READ_SP and TARGET_WRITE_SP * txvu-tdep.c: rewrite symtabs to support N_FUN symbols in overlays. (Actually, the last version did this for N_SLINE symbols). (txvu_read_sp,txvu_write_sp): new
1998-06-13 * remote.c : Fix remote help string to match that of help.exp.Dawn Perchik1-0/+4
1998-06-12Fri Jun 12 14:22:55 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda3-8/+65
* configure.in (LIBS): Add -lw to the list of libraries if needed. -lw needed on Solaris to get wctype(). wctype() needed by new gnu-regex.c.
1998-06-11Thu Jun 11 15:05:10 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda6-250/+115
* btowc.c: Removed. * configure.in: Don't see if we need to replace btowc(). * Makefile.in: Don't include LIBOBJS. * configure: Regenerated. * gnu-regex.c (regex_compile): Only support i18n [:foo:] if we have btowc().
1998-06-10 * c-exp.y: Fix problems with parsing "'foo.bar'::func". Some languagesStu Grossman7-40/+104
allow symbols with dots. * gdbtypes.c (check_stub_method): Cosmetic. Use more descriptive names for parameters. start-sanitize-java * jv-exp.y: Parser now accepts primitive types. * (parse_number): Use correct ifdef for scanf long double support. * jv-lang.c (java_array_type): Initial cut at array support. end-sanitize-java * language.c language.h (set_language): Now returns previous language. * symtab.c (find_methods): Make static. Cosmetic changes, including indentation, and adding descriptive comments. Move local variable defs into the block they are used in. * Don't call check_stub_method any more. Use gdb_mangle_name to generate the full method name. find_method doesn't need all the other goobldegook that check_stub_method does. * (gdb_mangle_name): Use more descriptive names for parameters. Fix comment. start-sanitize-java * (lookup_partial_symbol lookup_block_symbol): Check for java to ensure we can find mangled names. end-sanitize-java * (decode_line_1): Move local variable defs into the block they are used in. (Improves code readability.)
1998-06-10Wed Jun 10 14:06:05 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda3-283/+491
* configure.in: Add some tests for gnu-regex.c's benefit. See if btowc() function is provided in C library. * configure, config.in: Regenerated. * Makefile.in (CLIBS, CDEPS): Add @LIBOBJS@ to build btowc.c if necessary. * btowc.c: New file. * gnu-regex.c: Reorder wchar.h and wctype.h includes for Solaris' benefit. Drop namespace preserving defines for now.
1998-06-10Wed Jun 10 14:06:05 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda5-26/+48
* configure.in: Add some tests for gnu-regex.c's benefit. See if btowc() function is provided in C library. * configure, config.in: Regenerated. * Makefile.in (CLIBS, CDEPS): Add @LIBOBJS@ to build btowc.c if necessary. * btowc.c: New file. * gnu-regex.c: Reorder wchar.h and wctype.h includes for Solaris' benefit. Drop namespace preserving defines for now. Mods based on the modifications used in GNU grep 2.2 to make gnu-regex.c compile on other OSes.
1998-06-10Wed Jun 10 11:53:42 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-6/+11
* gnu-regex.c: Include "gnu-regex.h", not "regex.h".
1998-06-10Wed Jun 10 11:34:07 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda3-24/+30
* gnu-regex.c, gnu-regex.h: Change LGPL license to GPL license to stay consistent with the rest of GDB.
1998-06-10Wed Jun 10 11:27:39 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda3-1467/+5910
* gnu-regex.c, gnu-regex.h: Update to current FSF (glibc) versions.
1998-06-10Wed Jun 10 10:58:18 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+9
*printcmd.c (disassemble_command): move overlay mapping code "up" into find_pc_partial_function. * blockframe.c (find_pc_partial_function): adjust start address and end address for overlays (mapped vs. unmapped addresses), so that all callers of this function may benefit. * m32r-tdep.c (m32r_skip_prologue): adjust indentation.
1998-06-10Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+4
* gdb.base/overlays.exp: fixup compile line for linker script.
1998-06-09Tue Jun 9 15:27:09 1998 Jim Ingham <jingham@cygnus.com>Jim Ingham2-14/+74
* gdbtk.c: Added hooks to run gdbtk under the TclPro debugger. To do this, build gdbtk with: make CFLAGS="-g -DTCLPRO_DEBUGGER" Then set the environment variable TCLPRO_DEBUG_DIR to point to wherever you have installed the TclPro debugger. Finally, in the Alpha of the TclPro Debugger, you have to start up the TclPro Debugger BEFORE you start gdbtk. Unfortunately, the debugger does not understand Itcl 1.5 style classes... * .Sanitize: Sanitize out references to the TclPro debugger, since it is not yet released.
1998-06-09 * gdbtk.c (gdb_get_vars_command): Return static variables andKeith Seitz1-3/+3
variables stored in registers. * main.c (main): Call pre/post_add_symbol_hook's when loading executables and symbol files. * symfile.c (symbol_file_add): revert previous change
1998-06-09 * symfile.c (symbol_file_add): Always call theKeith Seitz3-17/+29
pre/post_add_symbol_hooks. * gdbtk.c (gdb_get_vars_command): Return static variables and variables stored in registers.
1998-06-08 * objfiles.c (add_to_objfile_sections): All targets to defineRon Unrau2-1/+13
TARGET_KEEP_SECTION to permit them to retain bfd sections that GDB would otherwise have discarded.
1998-06-05 * dbxread.c (read_dbx_symtab): Don't lower texthigh for last psymtab.Doug Evans2-32/+25
1998-06-05Fri Jun 5 00:16:22 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-3/+8
* gdbtk.c (gdbtk_init): Change all references to GDBTK_IDE to IDE_ENABLED.
1998-06-05 * gdb.fortran/types.exp: don't guess at float size.Felix Lee1-0/+4
1998-06-05 * chexp.exp: fix tests that assume >16-bit ints.Felix Lee2-5/+11
1998-06-05 * gdb.base/exprs.exp: delete test that depends on int size.Felix Lee1-0/+9
1998-06-05 * remote.c (init_extended_remote_ops): Make extended_remote_opsStan Shebs2-99/+60
by copying from remote_ops, move it and init_remote_ops to usual place at end of file, remove "void" from arg lists.
1998-06-05Thu Jun 4 18:31:53 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-0/+11
* gdbtk.c (gdbtk_init): Initialize tkTable.
1998-06-05 * sparc-tdep.c (sparc_fix_call_dummy): Byte-swap the call dummyMark Alexander1-0/+8
on bi-endian machines. (sparc_extract_return_value): Handle values smaller than int on machines with little-endian data. (sparc_target_architecture_hook): Set bi_endian flag.
1998-06-04Thu Jun 4 12:14:48 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-7/+25
* printcmd.c (disassemble_command): Fix off-by-one error for disassembling functions in unmapped overlay sections.