aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2002-01-22 * xstormy16-tdep.c (xstormy16_scan_prologue): Add framelessCorinna Vinschen1-0/+10
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-222002-01-21 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+13
* 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-21* go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_PMark Kettenis1-0/+6
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 Blandy1-0/+6
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 Fish1-0/+5
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* arm-tdep.c (arm_register_name): New function.Richard Earnshaw1-0/+8
(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 Earnshaw1-0/+21
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 Cagney1-1/+4
2002-01-21* infttrace.c: Include <sys/pstat.h>.Andrew Cagney1-0/+7
(child_pid_to_exec_file): Revamp. Use pstat call to get the exec file if the ttrace equivalent fails.
2002-01-20* rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.Andrew Cagney1-0/+5
(closeLogFile): Ditto.
2002-01-202002-01-20 Michael Chastain <mec@shout.net>Michael Chastain1-0/+4
* top.c (print_gdb_version): Bump copyright year to 2002.
2002-01-20* MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, ElenaAndrew Cagney1-0/+5
Zannoni and Eli Zaretskii.
2002-01-202002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+13
* 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 Cagney1-0/+25
2002-01-202002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+9
* 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 Jacobowitz1-0/+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 Jacobowitz1-0/+15
* 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 Cagney1-0/+6
2002-01-20Eliminate IEEE_FLOAT.Andrew Cagney1-0/+33
2002-01-202002-01-20 Jiri Smid <smid@suse.cz>Andreas Jaeger1-0/+6
* 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 Jaeger1-23/+28
* configure.host, configure.tgt: Support x86-64. * NEWS: Note new target x86-64.
2002-01-20Eliminate MALLOC_INCOMPATIBLE.Andrew Cagney1-0/+8
2002-01-20Zap empty host lynx header files.Andrew Cagney1-0/+13
2002-01-20* alpha-tdep.c (alpha_register_byte): New function.Jason Thorpe1-0/+20
(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 Cagney1-0/+21
2002-01-20Use MAXPATHLEN when no PATH_MAX.Andrew Cagney1-0/+5
2002-01-20* alpha-tdep.c (alpha_call_dummy_words): New.Jason Thorpe1-0/+8
* 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 Bothner1-0/+5
isn't NULL, which can happen with some gcj-3.x-produced code.
2002-01-19* alpha-tdep.c (alpha_register_virtual_type): New function.Jason Thorpe1-0/+16
(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 Kettenis1-0/+6
(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 Thorpe1-0/+24
(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 Thorpe1-0/+16
(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 Cagney1-0/+5
2002-01-19Remove ATTRIBUTE_UNUSED. Update (C).Andrew Cagney1-0/+10
2002-01-19* alpha-tdep.c (alpha_register_name): New function.Jason Thorpe1-0/+6
* config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. (REGISTER_NAME): Define.
2002-01-18* config/nm-nbsd.h (KERNEL_U_ADDR): Remove.Jason Thorpe1-0/+4
2002-01-18* alpha-tdep.c: Update copyright years.Jason Thorpe1-0/+8
(alpha_next_pc): New function. (alpha_software_single_step): Ditto. * config/alpha/tm-alpha.h: Add prototype for alpha_software_single_step.
2002-01-18* alphabsd-nat.c: Update copyright years.Jason Thorpe1-0/+10
(fill_gregset): Use regcache_collect. (fill_fpregset): Likewise. (fetch_inferior_registers): Only fetch integer registers if requested to do so. (store_inferior_registers): Only store integer registers if requested to do so.
2002-01-18Remove XDEPFILES from GDB.Andrew Cagney1-0/+91
2002-01-17Change behavour of internal-error to quit and dump core by default.Andrew Cagney1-0/+5
2002-01-17Remove else clause to #if UI_OUT.Andrew Cagney1-0/+14
2002-01-172002-01-17 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-8/+15
* gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, gdbserver/low-nbsd.c, gdbserver/low-sim.c, gdbserver/low-sparc.c, gdbserver/low-sun3.c, gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
2002-01-172002-01-17 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+14
* low-hppabsd.c (myattach): New function, returning -1. * low-lynx.c (myattach): Likewise. * low-nbsd.c (myattach): Likewise. * low-sim.c (myattach): Likewise. * low-sparc.c (myattach): Likewise. * low-sun3.c (myattach): Likewise. * low-linux.c (myattach): New function. * server.c (attach_inferior): New function. (main): Handle "--attach".
2002-01-17Daniel J as C++ maintainer.Andrew Cagney1-0/+5
2002-01-16 * c-typeprint.c (is_type_conversion_operator): Add additionalDaniel Jacobowitz1-0/+5
check for non-conversion operators.
2002-01-15Fix oops with previous checkin.Michael Snyder1-3/+1
2002-01-152002-01-10 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+10
* linux-proc.c: Add "info proc" command, a la procfs.c. (read_mapping): New function, abstract and re-use code. (linux_find_memory_regions): Use new func read_mapping. (linux_info_proc_cmd): New function, implement "info proc". (_initialize_linux_proc): Add new command "info proc".
2002-01-152002-01-15 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+9
* symfile.c (generic_load): Use bfd_map_over_sections method instead of manipulating bfd structure members directly. (add_section_size_callback): New function, bfd sections callback used by generic_load. (load_sections_callback): New function, bfd sections callback used by generic_load.
2002-01-152002-01-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+18
[Based on work by Jim Blandy] * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. (builtin_type_vec128): Export. * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD types. (builtin_type_vec128): New builtin type for 128 bit vector registers. (build_gdbtypes): Initialize builtin_type_v16qi and builtin_type_v8hi. Create the vec128 register builtin type structure. (build_builtin_type_vec128): New function. (_initialize_gdbtypes): Register builtin_type_v16qi and builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. * rs6000-tdep.c (rs6000_register_virtual_type): Change type of AltiVec register to new builtin type.
2002-01-152001-01-15 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-0/+5
* stabsread.c (read_type): Pass dbx_lookup_type (typenums) to make_cv_type.