aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
1998-06-04Thu Jun 4 10:15:03 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-7/+89
* gdbtk.c: merged: - Elena Zannoni <ezannoni@kwikemart.cygnus.com> (call_obj_wrapper): in case of error, copy the error message from the result to the error_string. (gdbtk_fputs): add comments. (gdb_actions_command): call validate_actionline when installing the tracepoint, to do the syntax checking of the actions for us. - Elena Zannoni <ezannoni@kwikemart.cygnus.com> (gdb_get_trace_frame_num): new function to get the trace frame number from gdb. (gdbtk_init): added new command gdb_get_trace_frame_num. - Jim Blandy <jimb@zwingli.cygnus.com> (struct wrapped_call_objs): Change the `func' member to be a Tcl_ObjCmdProc, not an Tcl_CmdProc, since it accepts a vector of objects as arguments. Change the object vector to be const, since that's what all the users of this structure seem to expect. (call_obj_wrapper): Cast clientData properly before storing it in the wrapped_args structure.
1998-06-04Thu Jun 4 10:15:03 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-11/+89
* remote.c: merged. - Jim Blandy <jimb@zwingli.cygnus.com> (print_packet, remote_packet_command): New functions. (_initialize_remote): Register the remote-packet command. - David Taylor <taylor@texas.cygnus.com> (_initialize_remote): remote-compare is now compare-sections. - Elena Zannoni <ezannoni@kwikemart.cygnus.com> (remote_compare_command): added warning, issued in case of mismatch only.
1998-06-04Fix my previous screwed-up checkin.Michael Snyder1-4269/+0
1998-06-04Thu Jun 4 08:25:38 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-1/+4388
* remote.c (remote_compare_command): New function, new command. Compare object file binary image with corresponding memory on remote target. Report differences.
1998-06-03merged from EMC branch into devoMichael Snyder2-321/+417
1998-06-03Merge changes from EMC branch: ax-gdb.c, ax-general.cMichael Snyder1-22/+73
1998-06-03Merge from EMC branch back to main trunk.Michael Snyder1-1/+253
1998-06-03 * sparc-tdep.c (sparc_target_architecture_hook): Set targetMark Alexander2-0/+7
byte order only when it's selectable.
1998-06-03Straggler - accidently dropped from the pack of target-ops reorg of initsJohn Metzler1-41/+44
1998-06-02 * sparc-tdep.c (sparc_target_architecture_hook): New function toMark Alexander4-50/+457
set endianness based on machine type. (_initialize_sparc_tdep): Initialize target_architecture_hook. (sparc_print_register_hook): Print PSR and FPSR in fancy format on 32-bit machines. * config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Redefine to call sparc_print_register_hook instead of using inline code. * config/sparc/tm-sp64.h (PRINT_REGISTER_HOOK): Remove.
1998-05-29 * main.c (main): Check for NULL from getenv on CYGWIN32.Keith Seitz6-69/+115
* gdbtk.c (_initialize_gdbtk): Get rid of the console. Patch from Chris Faylor (cgf@cygnus.com). * configure.in: Link cygwin32 with subsystem console. * configure: Regenerated
1998-05-28 * mips-tdep.c (mips_push_dummy_frame): Fix calculation ofPeter Schauer1-0/+12
PROC_REG_OFFSET and PROC_FREG_OFFSET.
1998-05-27add vr4111 as a sanitization tag to get rid of vr4111 and vr4102 mentions.Jason Molenda2-1/+43
1998-05-27Stop GDB getting confused over r29 and FP. print $r29 and infoAndrew Cagney3-8/+27
registers r29 gave different values.
1998-05-26Add sanitize tags around VR4320 mentions.Jason Molenda1-3/+5
1998-05-26add nec4102rom.c to things-to-keep (asklarof sez that the 4102 is aJason Molenda1-0/+1
variant of the VR4100 and does not need to be sanitized.)
1998-05-25 * remote.c (remote_open_1): If an error occurs starting the remote, ↵Keith Seitz1-0/+5
pop the target AND return.
1998-05-24 * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 soKeith Seitz4-3/+56
that we can use this member to track real timeouts. (hardwire_readchar): Modify for cygwin32 so that we only ever use a real system timeout of one second. Track the "real" timeout as a series of th ese one second timeouts. Call ui_loop_hook to keep the gui alive. * top.c: Define new hook for cygwin32, "ui_loop_hook". * gdbtk.c (gdbtk_init): Add ui_loop_hook for CygWin32 to work around update problems.
1998-05-23 * dwarf2read.c (read_subroutine_type): Set TYPE_FLAG_PROTOTYPEDPeter Schauer2-2/+15
on C++ functions. * valops.c (value_arg_coerce): Add new argument to indicate whether the function has a prototype, handle integer and float promotions accordingly. (call_function_by_hand): Always call value_arg_coerce, pass down prototype information.
1998-05-22Reformat for consistency.Jason Molenda1-54/+55
1998-05-22 * remote.c (_initialize_remote): Typo extended__remoteJohn Metzler2-1/+5
1998-05-21Thu May 21 13:14:25 1998 John Metzler <jmetzler@cygnus.com>John Metzler24-989/+1307
* gnu-nat.c (init_gnu_ops): Initialization of target ops by assignment. (_initialize_gnu_nat): Call new init * mac-nat.c (init_child_ops): Ditto (_initialize_mac_nat): Ditto * monitor.c (init_base_monitor_ops): Ditto (_initialize_remote_monitors) : Ditto * ppc-bdm.c (init_bdm_ppc_ops): Ditto (_initialize_bdm_ppc): Ditto * remote-adapt.c ( init_adapt_ops): Ditto (_initialize_remote_adapt): Ditto * remote-array.c (init_array_ops) : Ditto (_initialize_array): Ditto * remote-bug (init_bug_ops) : Ditto (_initialize_remote_bug): Ditto * remote-e7000.c (init_e7000_ops): Ditto (_initialize_remote_e7000) : Ditto * remote-eb.c (init_eb_ops) : Ditto (_initialize_remote_eb) : Ditto *remote-es.c (init_es1800_ops) : Ditto (init_es1800_child_ops) : Ditto (_initialize_es1800) ; Ditto *remote-hms.c (init_hms_ops): Ditto (_initialize_remote_hms) : Ditto * remote-mm.c (init_mm_ops): Ditto (_initialize_remote_mm) : Ditto * remote-nindy.c (init_nindy_ops): Ditto (_initialize_nindy): Ditto * remote_nrom.c (init_nrom_ops) : Ditto (_initialize_remote_nrom) : Ditto *remote-os9k (init_rombug_ops) : Ditto (_initialize_remote_os9k) : Ditto *remote-rdi.c (init_rdi_ops) : Ditto (_initialize_remote_rdi) : Ditto * remote-rdp.c (init_remote_rdp_ops) : Ditto (_initialize_remote_rdp) : Ditto * remote-sds.c (init_sds_ops) : Ditto (_initialize_remote_sds) : Ditto * remote-sim.c (init_gdbsim_ops) : Ditto (_initialize_remote_sim) : Ditto * remote-st.c (init_st2000_ops): Ditto (_initialize_remote_st2000): Ditto *remote-udi.c (init_udi_ops) : Ditto (_initialize_remote_udi) : Ditto * remote-vx.c (init_vx_ops) : Ditto (init_vx_run_ops) : Ditto (_initialize_vx) : Ditto * remote.c (init_remote_ops): Ditto (init_extended_remote_ops): Ditto (_initialize_remote): Ditto * sparcl-tdep.c (init_sparclite_ops): Ditto (_initialize_sparcl_tdep): Ditto * v850ice.c (init_850ice_ops): Ditto (_initialize_v850ice): Ditto *win32-nat.c: (init_child_ops): Ditto (_initialize_inftarg): Ditto
1998-05-21remove errant ChangeLog header.Jason Molenda1-2/+0
1998-05-21Thu May 21 13:56:24 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni3-13/+51
* gdbtk.c: reinserted the changes that were accidentally deleted: (_initialize_gdbtk): Use correct device names in cygwin-specific call (cosmetic change). (gdbtk_ignorable_warning): removed va_list parameter, which was unused. (_initialize_gdbtk): add cygwin32 specific code to allow `gdb -nw' to work when specified specified from a windows console-mode command line. * ChangeLog: moved Chris Faylor's comment to ChangeLog-gdbtk
1998-05-20Small typeos.Jason Molenda1-10/+9
1998-05-20 * mips/tm-tx39.h (MIPS_DEFAULT_FPU_TYPE) : Defined as MIPS_FPU_NONE.Gavin Romig-Koch3-0/+7
* mips/tm-tx39l.h : Same.
1998-05-20Wed May 20 10:12:11 1998 John Metzler <jmetzler@cygnus.com>John Metzler1-0/+12
* m32r-tdep.c: (decode_prologue): Handle frames compiled with -Os. Split out as separate function called by skip prologue and scan prologue. new formula handles optimization in which the prologue is interleaved with the body of the function. Also recognizes new variations of prologue encoding. Use of frame pointer is essential to debugging, -fno-omit-frame-pointer (m32r_skip_prologue): Call decode prologue, ignore line info (m32r_scan_prologue): Call decode prologue, ignore line info
1998-05-20Tue May 19 17:23:54 1998 John Metzler <jmetzler@cygnus.com>John Metzler3-110/+110
* w89k-rom.c (_initialize_w89k ): Call new init function (init_w89k_cmds): Convert to dynamic initialization of monitor_ops data structure for forward compatability with additions to the data structure. * dbug-rom.c (_initialize_dbug_rom): ditto (init_dbug_cmds): ditto * m32r-rom.c (_initialize_m32r_rom): ditto (init_m32r_cmds): ditto