aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-01-22Use texi2dvi instead of TEX/TEXINDEX.Andrew Cagney2-29/+21
2002-01-22Move remote protocol specification to an appendix.Andrew Cagney2-861/+868
2002-01-22 * xstormy16-tdep.c (xstormy16_scan_prologue): Add framelessCorinna Vinschen2-6/+27
parameter. Set frameless flag if it exists and depended of whether the scanned function is frameless or not. (xstormy16_skip_prologue): If function is frameless, return result of xstormy16_scan_prologue(). (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() call.
2002-01-22 2002-01-21 Fred Fish <fnf@redhat.com>Fred Fish2-1/+6
* gdb.base/restore.exp (restore_tests): Fix obvious typo, callee not caller.
2002-01-222002-01-21 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-92/+137
* sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, sh_sh4_register_byte, sh_sh4_register_raw_size, sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, sh_store_pseudo_register, sh_do_pseudo_register): Call gdbarch_tdep() just once, assign result to variable and use that, instead of calling the function several times.
2002-01-22FOOBAR, didn't ChangeLog UI_OUT removal.Andrew Cagney1-5/+3
2002-01-22*** empty log message ***gdbadmin1-1/+1
2002-01-21Add menu entries for ``Remote Debugging''.Andrew Cagney2-0/+14
2002-01-21* go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_PMark Kettenis2-3/+9
macros instead of LAST_FPU_CTRL_REGNUM. (store_register): Likewise.
2002-01-21* infcmd.c (run_command): Check that the `exec' target layer's BFDJim Blandy4-5/+86
is up-to-date before running the program, not just when a program exits. * testsuite/gdb.base/reread.exp: Check that GDB properly re-reads the executable file when it changes while no inferior is running.
2002-01-21Approved by fnasser@redhat.com:Fred Fish2-25/+11
2002-01-21 Fred Fish <fnf@redhat.com> * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to optionally accept the "shlib events" variation.
2002-01-21Approved by fnasser@redhat.com:Fred Fish2-0/+9
2002-01-21 Fred Fish <fnf@redhat.com> * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue when we have found all instructions we are looking for.
2002-01-21* gdb.texinfo (Remote): Move the sub-section ``The GDB remoteAndrew Cagney2-209/+212
serial protocol'' from here. (Remote Debugging): To here. New chapter.
2002-01-21* gdb.base/ending-run.c (main): Avoid messing with setvbuf; justJim Blandy3-5/+14
call `fflush' after every `printf', so that the output is produced at predictable points, regardless of whatever buffering does (or doesn't) take place. * gdb.base/ending-run.exp: Adjust tests to expect output to appear at different points.
2002-01-21* arm-tdep.c (arm_register_name): New function.Richard Earnshaw3-5/+18
(arm_registers_names): Make static. * config/arm/tm-arm.h (arm_register_names): Delete declaration. (arm_register_name): Declare. (REGISTER_NAME): Use it.
2002-01-21Richard Earnshaw <rearnsha@arm.com>Richard Earnshaw3-93/+144
and Kevin Buettner <kevinb@redhat.com> Convert arm targets to new FRAME interface. * arm-tdep.c (struct frame_extra_info): Remove fsr. (arm_frame_find_save_regs): Delete. (arm_frame_init_saved_regs): New. (arm_init_extra_frame_info): Alloacte saved_regs as required. Allocate extra_info as required. Convert all uses of fsr.regs to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields to use extra_info. (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. (check_prologue_cache, save_prologue_cache): Likewise. (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. (FRAME_FIND_SAVED_REGS): Delete. (arm_frame_find_saved_regs): Delete prototype. (arm_frame_init_saved_regs): New prototype. (FRAME_INIT_SAVED_REGS): Define.
2002-01-21Zap an IEEE_FLOAT.Andrew Cagney2-4/+4
2002-01-21* infttrace.c: Include <sys/pstat.h>.Andrew Cagney2-56/+35
(child_pid_to_exec_file): Revamp. Use pstat call to get the exec file if the ttrace equivalent fails.
2002-01-21*** empty log message ***gdbadmin1-1/+1
2002-01-20* rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.Andrew Cagney2-2/+5
(closeLogFile): Ditto.
2002-01-202002-01-20 Michael Chastain <mec@shout.net>Michael Chastain2-1/+5
* top.c (print_gdb_version): Bump copyright year to 2002.
2002-01-20* MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, ElenaAndrew Cagney2-0/+8
Zannoni and Eli Zaretskii.
2002-01-20Copyright year updates.Daniel Jacobowitz3-2/+7
2002-01-202002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz11-10/+25
* buildsym.c: Update copyright years. * c-typeprint.c: Likewise. * dwarf2read.c: Likewise. * f-typeprint.c: Likewise. * gdbtypes.c: Likewise. * gdbtypes.h: Likewise. * hp-symtab-read.c: Likewise. * hpread.c: Likewise. * mdebugread.c: Likewise. * p-typeprint.c: Likewise.
2002-01-20Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.Andrew Cagney19-138/+46
2002-01-202002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz6-32/+66
* gdb.c++/classes.exp: Update for improved v3 support and skipping artificial methods/arguments. * gdb.c++/derivation.exp: Likewise. * gdb.c++/inherit.exp: Likewise. * gdb.c++/method.exp: Likewise. * gdb.c++/virtfunc.exp: Likewise.
2002-01-202002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz4-6/+37
* gdbtypes.h (struct cplus_struct_type): Add is_artificial to member function fields. Add accessor macro TYPE_FN_FIELD_ARTIFICIAL. * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. * c-typeprint.c (c_type_print_base): Skip artificial member functions.
2002-01-202002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz3-85/+5
* f-typeprint.c: Delete unused function f_type_print_args. * p-typeprint.c: Delete unused function pascal_type_print_args.
2002-01-202002-01-15 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz8-16/+29
* gdbtypes.h (struct type): Fix whitespace. Remove obsolete comment. Add ``artificial'' to ``union field_location''. * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. * mdebugread.c (parse_symbol): Likewise. * stabsread.c (define_symbol): Likewise. * hp-symtab-read.c (hpread_function_type): Likewise, instead of initializing TYPE_FIELD_BITPOS to n (obsolete). (hpread_doc_function_type): Likewise. * hpread.c (hpread_function_type): Likewise.
2002-01-20Remove assumption that there is a host.Andrew Cagney5-30/+76
2002-01-20Eliminate IEEE_FLOAT.Andrew Cagney29-117/+69
2002-01-20 (DJGPP Native): Fix overfull hboxes in examples. From Brian YoumansEli Zaretskii2-11/+14
<3diff@gnu.org>
2002-01-20Fix a typo.Eli Zaretskii1-1/+1
2002-01-20Fix last change.Eli Zaretskii1-9/+8
2002-01-20 * gdb.texinfo: Beautify copyright years; fix a typo.Eli Zaretskii1-0/+4
2002-01-202002-01-20 Jiri Smid <smid@suse.cz>Andreas Jaeger4-13/+37
* config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. * x86-64-linux-nat.c (x86_64_register_u_addr): New function. * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, x86-64-linux-nat.o): Fix dependencies.
2002-01-202002-01-20 Jiri Smid <smid@suse.cz>Andreas Jaeger4-23/+38
* configure.host, configure.tgt: Support x86-64. * NEWS: Note new target x86-64.
2002-01-20Eliminate MALLOC_INCOMPATIBLE.Andrew Cagney7-40/+17
2002-01-20Zap empty host lynx header files.Andrew Cagney11-122/+13
2002-01-20* alpha-tdep.c (alpha_register_byte): New function.Jason Thorpe3-15/+64
(alpha_register_raw_size): Ditto. (alpha_register_virtual_size): Ditto. (alpha_skip_prologue_internal): Renamed from alpha_skip_prologue. (alpha_skip_prologue): New version that calls alpha_skip_prologue_internal. (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove second argument from alpha_skip_prologue. (REGISTER_BYTE): Use alpha_register_byte. (REGISTER_RAW_SIZE): Use alpha_register_raw_size. (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. (FRAMELESS_FUNCTION_INVOCATION): Use generic_frameless_function_invocation_not. (FRAME_NUM_ARGS): Use frame_num_args_unknown. (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
2002-01-20Zap empty or unused xm-*.h files.Andrew Cagney15-53/+21
2002-01-20Use MAXPATHLEN when no PATH_MAX.Andrew Cagney2-0/+13
2002-01-20* alpha-tdep.c (alpha_call_dummy_words): New.Jason Thorpe3-2/+20
* config/alpha/tm-alpha.h (CALL_DUMMY): Remove. (CALL_DUMMY_P): Define. (CALL_DUMMY_WORDS): Define. (SIZEOF_CALL_DUMMY_WORDS): Define.
2002-01-20 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_namePer Bothner2-1/+7
isn't NULL, which can happen with some gcj-3.x-produced code.
2002-01-20*** empty log message ***gdbadmin1-1/+1
2002-01-19* alpha-tdep.c (alpha_register_virtual_type): New function.Jason Thorpe3-17/+71
(alpha_init_frame_pc_first): Ditto. (alpha_fix_call_dummy): Ditto. (alpha_store_struct_return): Ditto. (alpha_extract_struct_value_address): Ditto. * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use alpha_register_virtual_type. (STORE_STRUCT_RETURN): Use alpha_store_struct_return. (EXTRACT_STRUCT_VALUE_ADDRESS): Use alpha_extract_struct_value_address. (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. (INIT_FRAME_PC): Use init_frame_pc_noop. (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
2002-01-19* i386gnu-nat.c: Include "i386-tdep.h".Mark Kettenis2-3/+9
(fetch_fpregs): Simplify code dealing with uninitialized floating point states such that it doesn't require FP7_REGNUM.
2002-01-19* alpha-tdep.c (frame_extra_info): New.Jason Thorpe3-37/+97
(alpha_find_saved_regs): Make static. Use frame->extra_info. (alpha_frame_init_saved_regs): New function. (alpha_frame_saved_pc): Use frame->extra_info. (temp_saved_regs): Don't declare as struct frame_saved_regs. (heuristic_proc_desc): Adjust for temp_saved_regs changes. (init_extra_frame_info): Rename to... (alpha_init_extra_frame_info): ...this. Use frame->extra_info. (alpha_print_extra_frame_info): New function. (alpha_frame_locals_address): Ditto. (alpha_frame_args_address): Ditto. (alpha_pop_frame): Use frame->extra_info. * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use alpha_frame_args_address. (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. (alpha_find_saved_regs): Remove prototype. (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. (EXTRA_FRAME_INFO): Remove. (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
2002-01-19* alpha-tdep.c (alpha_osf_in_sigtramp): New function.Jason Thorpe3-8/+61
(alpha_cannot_fetch_register): Ditto. (alpha_cannot_store_register): Ditto. (alpha_register_convertible): Ditto. (alpha_use_struct_convention): Ditto. * config/alpha/tm-alpha.h: Update copyright years. (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. (INNER_THAN): Use core_addr_lessthan. (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. (REGISTER_CONVERTIBLE): Use alpha_register_convertible. (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. (FRAME_CHAIN): Remove unnecessary cast.
2002-01-19Mark testsuite/gdb.hp/gdb.threads-hp/ as obsolete.Andrew Cagney9-636/+651