aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-02-13Apply missing bits of 2002-01-15 patch.Mark Kettenis2-72/+9
* i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. (fill_fpregset): Use i387_fill_fsave.
2002-02-13 * defs.h (core_addr_to_string_nz): New function.Keith Seitz2-0/+15
* utils.c (core_addr_to_string): Use phex instead of phex_nz. (core_addr_to_string_nz): New function.
2002-02-13*** empty log message ***gdbadmin1-1/+1
2002-02-12Hmm, this should have been commited along with:Richard Earnshaw1-7/+9
* arm-tdep.h: New file. * arm-tdep.c: Include arm-tdep.h. (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) (arm_print_float_info, arm_register_type, convert_to_extended) (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) (arm_extract_return_value, arm_register_name): Make static. (arm_software_single_step): Similarly. Fix types in declaration. (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) (arm_store_return_value, arm_store_struct_return): New functions. (arm_gdbarch_init): Register the above functions. Also register call_dummy_start_offset, sizeof_call_dummy_words, function_start_offset, inner_than, decr_pc_after_break, fp_regnum, sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, max_register_virtual_size, register_size. Set up prologue_cache.saved_regs here, rather than ... (_initialize_arm_tdep): ... here. * config/arm/tm-arm.h (struct type, struct value): Delete forward declarations. (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) (arm_print_float_info, arm_register_type, convert_to_extended) (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) (arm_extract_return_value, arm_register_name): Delete declarations. (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) (arm_get_next_pc): No-longer static -- these are needed by the RDI interface. * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. * remote-rdi.c remote-rdp.c: Likewise. * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus definition. * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed from non-ARM_ prefixed definitions. * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update all uses of above. * remote-rdi.c remote-rdp.c: Likewise. * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
2002-02-12* arm-linux-nat.c: Really include arm-tdep.h.Richard Earnshaw3-0/+9
* config/arm/tm-linux.h (struct type, struct value): Declare.
2002-02-12*** empty log message ***gdbadmin1-1/+1
2002-02-11* arm-tdep.h: New file.Richard Earnshaw8-407/+489
* arm-tdep.c: Include arm-tdep.h. (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) (arm_print_float_info, arm_register_type, convert_to_extended) (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) (arm_extract_return_value, arm_register_name): Make static. (arm_software_single_step): Similarly. Fix types in declaration. (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) (arm_store_return_value, arm_store_struct_return): New functions. (arm_gdbarch_init): Register the above functions. Also register call_dummy_start_offset, sizeof_call_dummy_words, function_start_offset, inner_than, decr_pc_after_break, fp_regnum, sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, max_register_virtual_size, register_size. Set up prologue_cache.saved_regs here, rather than ... (_initialize_arm_tdep): ... here. * config/arm/tm-arm.h (struct type, struct value): Delete forward declarations. (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) (arm_print_float_info, arm_register_type, convert_to_extended) (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) (arm_extract_return_value, arm_register_name): Delete declarations. (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) (arm_get_next_pc): No-longer static -- these are needed by the RDI interface. * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. * remote-rdi.c remote-rdp.c: Likewise. * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus definition. * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed from non-ARM_ prefixed definitions. * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update all uses of above. * remote-rdi.c remote-rdp.c: Likewise. * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
2002-02-11Missed a bit.Richard Earnshaw1-0/+4
2002-02-11* arm-tdep.c (arm_frameless_function_invocation)Richard Earnshaw3-107/+59
(arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) (arm_pop_frame, arm_get_next_pc): Make static. (arm_gdbarch_init): Register above in gdbarch structure. (arm_read_fp): Renamed from arm_target_read_fp. (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. * config/arm/tm-arm.h (arm_frameless_function_invocation) (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) (arm_pc_is_thumb_dummy): Delete declarations.
2002-02-112002-02-10 Michael Chastain <mec@shout.net>Michael Chastain2-2/+7
* gdb.base/funcargs.c (localvars_after_alloca): Fix return type. (call_after_alloca): Ditto.
2002-02-112002-02-10 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-7/+75
* symtab.c (compare_search_syms): New function. (sort_search_symbols): New function. (search_symbols): Sort symbols after searching rather than before. 2002-02-10 Daniel Jacobowitz <drow@mvista.com> * generic/gdbtk-cmds.c (gdb_listfuncs): Don't call BLOCK_SHOULD_SORT. * library/browserwin.itb (BrowserWin::_fill_funcs_combo): Sort the output of gdb_listfuncs.
2002-02-11*** empty log message ***gdbadmin1-1/+1
2002-02-10Update copyright date.Daniel Jacobowitz1-1/+1
2002-02-102002-02-10 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+10
* gdb.base/ending-run.exp: Guard "cont" test with gdb_skip_stdio_test.
2002-02-10* NEWS: Linux -> GNU/Linux.Andrew Cagney2-12/+15
2002-02-10* gdbarch.sh: For for level one methods, disallow a definitionAndrew Cagney3-24/+55
when partially multi-arched. Add comments explaining rationale. * gdbarch.h: Re-generate.
2002-02-10* gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require whenAndrew Cagney2-1/+6
multi-arch partial.
2002-02-10* gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on badAndrew Cagney3-47/+62
field. Use diff -u. * gdbarch.c: Re-generate.
2002-02-10* config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.Andrew Cagney2-2/+1
2002-02-10* gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-archAndrew Cagney2-1/+6
partial.
2002-02-10* gdbarch.sh (REGISTER_CONVERTIBLE): Don't require whenAndrew Cagney3-4/+11
multi-arch partial. (PUSH_ARGUMENTS): Switch to using predefault. * gdbarch.c: Regenerate.
2002-02-10* valops.c (PUSH_ARGUMENTS): Delete definition.Andrew Cagney5-8/+15
* gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch partial. Default to default_push_arguments. * gdbarch.h, gdbarch.c: Regenerate.
2002-02-10* defs.h (throw_exception): Rename return_to_top_level. UpdateAndrew Cagney12-42/+56
comments. * utils.c (error_stream, internal_verror, quit): Ditto. * top.c (throw_exception, catcher): Ditto. * sparclet-rom.c (sparclet_load): Ditto. * remote.c (interrupt_query, minitelnet): Ditto. * remote-sds.c (interrupt_query): Ditto. * remote-mips.c (mips_error, mips_kill): Ditto. * ocd.c (interrupt_query): Ditto. * monitor.c (monitor_interrupt_query): Ditto. * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. * target.h: Update comment. * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
2002-02-10* gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default toAndrew Cagney6-11/+11
default_double_format. * gdbarch.h, gdbarch.c: Re-generate. * findvar.c (floatformat_unknown): Delete variable definition. * doublest.h (floatformat_unknown): Delete variable declaration.
2002-02-10*** empty log message ***gdbadmin1-1/+1
2002-02-09* stabsread.c (read_type): Add code to parse Sun's syntax forJim Blandy2-0/+80
prototyped function types.
2002-02-09* Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.Andrew Cagney2-2/+8
(SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
2002-02-09 * xcoffsolib.c (_initialize_xcoffsolib): Renamed fromPeter Schauer2-1/+8
_initialize_solib. Fixes name clash with solib.c:_initialize_solib, now _initialize_xcoffsolib gets called again and overrides the commands from solib.c in a native configuration.
2002-02-09* doublest.c (store_typed_floating): Don't try to return a value.Mark Kettenis2-3/+8
Fixes PR gdb/290.
2002-02-09* c-typeprint.c (c_type_print_varspec_suffix): If a function typeJim Blandy2-1/+9
is prototyped and has no arguments, print its argument list as `(void)'.
2002-02-092002-02-08 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+6
* MAINTAINERS (write-after-approval): Add myself. (paper-trail): I've escaped!
2002-02-09*** empty log message ***gdbadmin1-1/+1
2002-02-08* win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf changes.Christopher Faylor3-6/+12
(_initialize_check_for_gdb_ini): Ditto.
2002-02-082002-02-08 Martin M. Hunt <hunt@redhat.com>Martin Hunt3-2/+7
* win32-nat.c (cygwin_pid_to_str): Fix typo. xaprintf -> xasprintf.
2002-02-082002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller3-18/+22
* win32-nat.c: Remove use of printf and sprintf functions.
2002-02-08* arm-tdep.c (arm_frame_chain_valid): Make static.Richard Earnshaw3-15/+53
(arm_push_arguments): Likewise. (arm_gdbarch_init): New function. (_initialize_arm_tdep): Call it. * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. (FRAME_CHAIN_VALID): Delete. (arm_frame_chain_valid): Delete declaration. (PUSH_ARGUMENTS): Delete. (arm_push_arguments): Delete declaration. (CALL_DUMMY_P): Delete.
2002-02-08 * gdbtypes.c (build_gdbtypes): Disable setting a specific float formatCorinna Vinschen2-0/+20
on builtin float types.
2002-02-082002-02-08 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz16-5/+167
* utils.c: Include <curses.h> before "bfd.h". * tui/tui-hooks.c: Likewise. * tui/tui.c: Likewise. * tui/tuiCommand.c: Likewise. * tui/tuiData.c: Likewise. * tui/tuiDataWin.c: Likewise. * tui/tuiDisassem.c: Likewise. * tui/tuiGeneralWin.c: Likewise. * tui/tuiIO.c: Likewise. * tui/tuiLayout.c: Likewise. * tui/tuiRegs.c: Likewise. * tui/tuiSource.c: Likewise. * tui/tuiSourceWin.c: Likewise. * tui/tuiStack.c: Likewise. * tui/tuiWin.c: Likewise.
2002-02-082002-02-07 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-11/+22
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array to include space for pseudoregs as well. Update loops accordingly. (sh_fp_frame_init_saved_regs): Ditto. (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
2002-02-08* MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.Andrew Cagney2-0/+7
Add Richard Earnshaw to Arm maintainers.
2002-02-08Zap warning_begin() declaration. (Attempt two).Andrew Cagney2-3/+2
2002-02-08* config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):Andrew Cagney2-4/+5
Delete macro. (second attempt).
2002-02-082002-02-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+6
* gdb.texinfo (overlays): Change @var(_ovly_debug_event) to @code(_ovly_debug_event).
2002-02-08*** empty log message ***gdbadmin1-1/+1
2002-02-07* gdb.texinfo (How Overlays Work): Shrink the overlay diagram.Andrew Cagney2-33/+41
2002-02-072002-02-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+7
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Logic bug, remove misplaced else.
2002-02-07* gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these testsJim Blandy3-4/+74
from here... * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp: To here. Disable this test on non-HP platforms. Add big comment.
2002-02-072002-02-07 Klee Dienes <klee@apple.com>Klee Dienes2-0/+10
* fork-inferior.c (fork_inferior): Add '!' to the list of characters that need to be quoted when building a string for the shell. Quote '!' specifically with a backslash, since CSH chokes when trying to evaluate "str!str".
2002-02-07*** empty log message ***gdbadmin1-1/+1
2002-02-06Only provide a typedef for bool if it is not defined.Nick Clifton2-1/+8