aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1998-07-17 * blockframe.c (find_pc_sect_partial_function): allow for the possi-Ron Unrau3-19/+59
bility of multiple symbols at the same address when finding high. * breakpoint.c (resolve_sal_pc): if the function based section lookup fails, try getting the section from the minimal symbol table. * parse.c (write_exp_msymbol): use symbol_overlayed_address to get the LMA of a minimal symbol if unmapped. * symtab.c (find_line_symtab): change interface to return symtab containing the best linetable found. (decode_line_1): use find_line_symtab to set val.symtab. This should improve support for source files with multiple symtabs. * tm-txvu.h: include tm-mips64.h instead of starting from scratch.
1998-07-15Merge v850 branch ICE support onto devo.Keith Seitz1-189/+558
1998-07-15 * main.c (main): Fix violations of GNU coding standard.Keith Seitz3-22/+55
* breakpoint.c: Export delete_command. * infcmd.c: Export continue_command, stepi_command, and nexti_command. * Makefile.in: Add target for v850ice.o. * configure.tgt: Add cygwin32 dependencies for v850 ice.
1998-07-15Cope with setting trace points on symbols which do not have an associated ↵Nick Clifton2-12/+30
directory.
1998-07-14 * configure.in: Fix sanitization start/end error.Keith Seitz1-3/+4
* configure: Regenerate.
1998-07-13 * gdb.base/callfuncs.exp: add cmp10 test.Felix Lee1-0/+5
* gdb.base/callfuncs.c (cmp10): new function.
1998-07-10Remove references to Alcatel.Per Bothner2-11/+11
1998-07-10 * gdb.base/commands.exp: Break up infrun_breakpoint_command_testDawn Perchik1-0/+5
into two parts to get around a synchronization problem in expect.
1998-07-09 * mn10300-tdep.c (mn10300_generic_register_names): New variable.Jeff Law4-2/+76
(set_machine_hook): New function. Copy the appropriate register names into reg_names. (_initialize_mn10300_tdep): Set up to call set_machine_hook. * tm-mn10300 (NUM_REGS): Bump to 32. (REGISTER_NAMES): Updated accordingly. start-sanitize-am33 * mn10300-tdep.c (am33_register_names): New variable. (mn10300_analyze_prologue): Handle regs saved by am33 prologues. * tm-mn10300.h (E0_REGNUM): Define. end-sanitize-am33 Initial am33 support.
1998-07-07 symtab.c (find_pc_sect_psymbol) - handle address 0 betterRon Unrau1-0/+4
1998-07-02* Belatedly bringing over PR 15850 patch from d30v branch.Frank Ch. Eigler1-0/+5
Thu Jul 2 15:57:58 1998 Frank Ch. Eigler <fche@cygnus.com> * breakpoint.c (resolve_sal_pc): Accept absence of innermost Lexical block for breakpoint resolution.
1998-07-02 * mdebugread.c (parse_partial_symbols): Go ahead and read the .mdebugDawn Perchik2-94/+98
section, but just don't add a 2nd minimal symbol if this is an .mdebug section in an ELF file.
1998-07-01*** empty log message ***Jim Blandy1-0/+5
1998-07-01Wed Jul 1 13:10:58 1998 Jim Ingham <jingham@cygnus.com>Jim Ingham8-9/+15
* Moved gdbtk_hooks.c & gdbtk_cmds.c to gdbtk-hooks.c & gdbtk-cmds.c to comply with the gdb conventions. Changed the configure & makefile to reflect the change...
1998-07-01Wed Jul 1 11:07:21 1998 Jim Ingham <jingham@cygnus.com>Jim Ingham8-3089/+4092
* main.tcl (gdbtk_preloop): Call gdbtk_idle on spec. If there was an error in loading an executible specified on the command line, then the pre_add_symbol hook would have called gdbtk_busy but the corresponding call to gdbtk_idle would not have occured. Also changed some catch calls so they didn't use "catch {set foo [real_command]}" but rather the more efficient: "catch {real_command} foo" * register.tcl: more catch cleanups * src.tcl: more catch cleanups * stack.tcl: more catch cleanups * target.tcl: more catch cleanups * tdump.tcl: more catch cleanups * variables.tcl: more catch cleanups * watch.tcl: more catch cleanups * gdbtk.c (gdbtk_init): Fixed a bug in the startup code on Windows that caused gdbtk not to find the share directory unless GDBTK_LIBRARY was set. * gdbtk.c: removed all the commands and hooks from this file so now it contains only the startup code. * gdbtk_cmds.c: New file - this contains all the Tcl commands that gdb defines. All the old commands were moved here, the string-based commands were converted to object commands, and the object-based commands were all converted to uniformly use the call_wrapper. A new function, Gdbtk_Init was added to centralize initializing the gdb package. Also added gdbtk as a package into gdbtk_interp. * gdbtk_hooks.c: New file - All the hooks were moved here, and a new function, gdbtk_add_hooks was added to centralize adding all these hook functions. gdbtk_fputs was also modified to handle the new result_ptr structure. See the comments in gdbtk.h for more details. * gdbtk.h: New file - this contains all the defines and globals shared by gdbtk.c, gdbtk_cmds.c & gdbtk_hooks.c * Makefile.in, configure.in & configure: mutatis mutandi for the new files.
1998-06-30Mon Jun 29 19:01:18 1998 Jim Wilson <wilson@cygnus.com>Jason Molenda2-2/+6
* gnu-regex.c (re_comp): Add cast to char * before gettext calls.
1998-06-29 * main.c (main): Don't include gdbtk test code if GDBTK isKeith Seitz3-16/+27
not defined by configure. * configure.in: When enabling gdbtk, add "-DGDBTK" to ENABLE_CFLAGS. * configure: Regenerate.
1998-06-29Sun Jun 28 22:34:34 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt1-0/+5
* gdb.gdbtk/simple.c (main): Make main return an int so compiler will stop complaining.
1998-06-28 Improve support for SunPro F77.Peter Schauer5-10/+64
* dbxread.c (end_psymtab, process_one_symbol): Handle minimal symbols with trailing underscore names. * minsyms.c (find_stab_function_addr): Ditto. * dbxread.c (process_one_symbol): Ignore N_ALIAS for now. * partial-stab.h (case N_ALIAS): Ditto. * stabsread.c (read_sun_builtin_type): Handle boolean types.
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.