aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-08-22* sparc64-tdep.h (sparc64_regnum): Fix comment.Mark Kettenis5-67/+99
(sparc64_supply_rwindow, sparc64_fill_rwindow): Remove prototypes. (sparc_supply_rwindow, sparc_fill_rwindow): New prototypes. * sparc64-tdep.c (sparc64_pseudo_register_read): Add missing `case' keyword. (sparc64_register_info): Give the reister with number SPARC64_STATE_REGNUM a name. (sparc64_pseudo_register_write): Add support for %cwp, %pstate, %asi and %ccr. (sparc64_push_dummy_call): Take BIAS into account when checking stcak alignment. (sparc_software_single_step): Remove assertions that check whether NPC and NNPC were zero. (sparc_supply_rwindow): Make public. Merge functionality with sparc64_supply_rwindow. (sparc_fill_rwindow): Make public. Merge functionality with sparc64_fill_rwindow. (sparc64_supply_rwindow, sparc64_fill_rwindow): Remove. * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Set SPARCBSD_FPREG_SUPPLIES_P to sparc64fbsd_fpreg_supplies_p. * sparc64fbsd-tdep.c (sparc64fbsd_supply_reg): Call sparc_supply_rwindow instead of sparc64_supply_rwindow.
2003-08-22* reggroups.c: Add whitespace after declarations of localMark Kettenis2-1/+10
variables in functions.
2003-08-222003-08-21 Michael Chastain <mec@shout.net>Michael Chastain2-11/+20
* gdbtypes.h: Change array bound type from an int to enum.
2003-08-222003-08-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-711/+8
* config/sparc/tm-sp64.h: Delete #if !GDB_MULTI_ARCH and #if 0 code. * config/sparc/tm-sparc.h: Ditto. * config/arm/tm-arm.h (GDB_MULTI_ARCH): Define GDB_MULTI_ARCH unconditionally. * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Ditto.
2003-08-22*** empty log message ***gdbadmin1-1/+1
2003-08-21* objfiles.h (struct objfile): Add memebers `data' and `num_data'.Mark Kettenis4-3/+128
(register_objfile_data, set_objfile_data, objfile_data): New prototypes. * objfiles.c (objfile_alloc_data, objfile_free_data): New prototypes. (allocate_objfile): Call objfile_alloc_data. (free_objfile): Call objfile_free_data. (struct objfile_data): New. (struct objfile_data_registration): New. (struct objfile_data_registry): New. (objfile_data_registry): New variable. (register_objfile_data): New function. (objfile_alloc_data, objfile_free_data): New functions. (set_objfile_data, objfile_data): New functions. * dwarf2-frame.c (dwarf2_frame_data): New variable. (dwarf2_frame_find_fde, add_fde): Use new per-objfile data mechanism. (_initialize_dwarf2_frame): New function and prototype.
2003-08-212003-08-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-219/+52
* sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select a specific architecture. * arch-utils.h (set_architecture_from_arch_mach): Delete declaration. (target_architecture_hook): Delete declaration. * arch-utils.c: Delete non GDB_MULTI_ARCH includes. (default_float_format): Assume GDB_MULTI_ARCH. (default_double_format): Assume GDB_MULTI_ARCH. (set_endian_from_file): Delete function. (arch_ok): Delete function. (set_arch): Delete function. (set_architecture_from_arch_mach): Delete function. (set_architecture_from_file): Delete function. (set_architecture): Assume GDB_MULTI_ARCH. (set_gdbarch_from_file): Assume GDB_MULTI_ARCH.
2003-08-21Rewrite FreeBSD/sparc64 native configuration.Mark Kettenis11-85/+2112
* sparcbsd-nat.c, sparcbsd-nat.h: New files. * sparc64fbsd-nat.c: New file. * sparc64fbsd-tdep.c: New file. * sparc64-tdep.c sparc64-tdep.h: New files. * Makefile.in (sparcbsd-nat.o, sparc64fbsd-nat.o, sparc64-tdep.o, sparc64fbsd-tdep.o): New dependencies. (SFILES): Add sparcbsd-nat.c, sparc64fbsd-nat.c, sparc64-tdep.c and sparc64fbsd-tdep.c. (sparc64_tdep_h, sparcbsd_nat_h): New variables. * config/sparc/fbsd.mh: Remove copyright notice. (NATDEPFILES): Remove sparc-nat.o, add sparc64fbsd-nat.o and sparcbsd-nat.o. * config/sparc/fbsd.mt: Remove copyright notice. (TDEPFILES): Remove sparc-tdep.o, solib.o solib-svr4.o, solib-legacy.o. Add sparc64-tdep.o and sparc64fbsd-tdep.o. * config/sparc/nm-fbsd.h: Don't include "elf/common.h". (SVR4_SHARED_LIBS, PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS, GDB_GREGSET_T, GDB_FPREGSET_T, regs, r_g1, r_ps, r_pc, r_npc, r_y, FPU_FSR_TYPE, fp_status, fpu, fpu_regs, fp_fr, fpu_fsr, Fpu_fsr): Remove defines. * config/sparc/tm-fbsd.h: Don't include "solib.h" and "sparc/tm-sp64.h". (SVR4_SHARED_LIBS, START_INFERIOR_TRAPS_EXPECTED): Remove defines. (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_TM.
2003-08-212003-08-21 Michael Chastain <mec@shout.net>Michael Chastain2-3/+54
* symtab.h: Add doco on the space critical structures and some measurements of space usage.
2003-08-212003-08-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+9
* tracepoint.c (trace_dump_command): Trace break address is subject to DECR_PC_AFTER_BREAK. (set_traceframe_context): Make "trace_line" an int. Fixes suggested by Mark Newman <mark.newman@lmco.com>
2003-08-212003-08-20 Michael Snyder <msnyder@redhat.com>Michael Snyder3-16/+158
* sh-tdep.h (struct gdbarch_tdep): New member FLOAT_ARGLAST_REG. * sh-tdep.c (sh_gdbarch_init): For sh2e, sh3e, and sh4, set FLOAT_ARG0_REGNUM and FLOAT_ARGLAST_REGNUM, to be used for argument passing. (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu): New functions, replace sh_push_dummy_call. (sh_gdbarch_init): Set push_dummy_call to one of new methods.
2003-08-21*** empty log message ***gdbadmin1-1/+1
2003-08-202003-08-20 Michael Chastain <mec@shout.net>Michael Chastain2-21/+29
* gdbtypes.h (struct main_type): Rearrange to save space.
2003-08-202003-08-20 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* trad-frame.c: Comment typo fix.
2003-08-20 * frv-tdep.c (gdb_string.h, frame.h, trad-frame.h): Include.Kevin Buettner4-43/+81
(frv_frame_init_saved_regs): Add declaration. (frame_extra_info): Add new field ``saved_regs''. (frv_frame_chain, frv_frame_saved_pc, frv_analyze_prologue) (frv_skip_prologue, frv_init_extra_frame_info, frv_pop_frame_regular): Update frame related code. (frv_extract_struct_value_address): Adjust formatting. * Makefile.in (frv-tdep.o): Update dependencies. * config/frv/tm-frv.h (target_insert_watchpoint) (target_remove_watchpoint, target_insert_hw_breakpoint) (target_remove_hw_breakpoint): Delete these macros. (remote_insert_watchpoint, remote_remove_watchpoint) (remote_insert_hw_watchpoint, remote_remove_hw_watchpoint): Remove these declarations.
2003-08-202003-08-20 Michael Chastain <mec@shout.net>Michael Chastain3-47/+54
* defs.h (ENUM_BITFIELD): New macro. * symtab.h (ENUM_BITFIELD): Use it. (BYTE_BITFIELD): Remove old macro, which was already disabled.
2003-08-20*** empty log message ***gdbadmin1-1/+1
2003-08-192003-08-19 Shrinivas Atre <shrinivasa@kpitcummins.com>Shrinivas Atre2-0/+5
* MAINTAINERS (write after approval): Add myself.
2003-08-19*** empty log message ***gdbadmin1-1/+1
2003-08-18Index: ChangeLogAndrew Cagney9-14/+110
2003-08-18 Andrew Cagney <cagney@redhat.com> * gdbarch.sh (FRAME_RED_ZONE_SIZE): New architecture method. * gdbarch.h, gdbarch.c: Re-generate. * infcall.c (call_function_by_hand): Adjust the SP by frame_red_zone_size before allocating any stack space. * rs6000-tdep.c (rs6000_gdbarch_init): Set "frame_red_zone_size". * x86-64-tdep.c (x86_64_frame_align): New function. (x86_64_init_abi): Set "frame_red_zone_size" and "frame_align". * x86-64-tdep.c (x86_64_push_arguments): Revert 2003-08-07 change. Remove code adjusting SP so that it skips over the Red Zone. Index: doc/ChangeLog 2003-08-18 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Document "frame_red_zone_size".
2003-08-18* NEWS (New native configurations): Mention FreeBSD/amd64.Mark Kettenis2-0/+8
2003-08-182003-08-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+9
* m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of "m68k_frame_p". (m68hc11_frame_sniffer): Replace "m68hc11_frame_p".
2003-08-18* x86-64-tdep.c (x86_64_dwarf_regmap): Remove trailing whitespace.Mark Kettenis2-2/+6
2003-08-182003-08-18 Michal Ludvig <mludvig@suse.cz>Michal Ludvig3-0/+19
* config/i386/nm-x86-64linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. * i386-linux-nat.c: Include "linux-nat.h". (child_post_startup_inferior): New function.
2003-08-18*** empty log message ***gdbadmin1-1/+1
2003-08-17* gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.Mark Kettenis3-2/+31
* gdb.arch/i386-prologue.c (gdb1338): Add function.
2003-08-17* i386-tdep.c (i386_analyze_register_saves): Handle register savesMark Kettenis2-15/+20
at the start of a frameless function. This probably fixes PR backtrace/1338.
2003-08-172003-08-17 Michael Chastain <mec@shout.net>Michael Chastain2-4/+4
* symfile.c (find_sym_fns): Remove special case for apollo target.
2003-08-17 * linux-nat.c (PTRACE_O_TRACEVFORKDONE, PTRACE_O_TRACEEXIT): Define.Daniel Jacobowitz2-11/+151
(PTRACE_EVENT_VFORKDONE, PTRACE_EVENT_EXIT): Define. (linux_parent_pid, linux_supports_tracevforkdone_flag): New variable. (linux_test_for_tracefork): Set linux_supports_tracevforkdone_flag. (linux_supports_tracevforkdone): New function. (linux_enable_event_reporting): Enable TRACEVFORK, TRACEEXEC, and TRACEVFORKDONE. (child_follow_fork): Handle vfork. (linux_handle_extended_wait): Likewise. Also handle exec. (child_insert_vfork_catchpoint, child_insert_exec_catchpoint): Enable. * NEWS: Mention fork tracing.
2003-08-17 * lin-lwp.c (child_wait): Call linux_record_stopped_pid.Daniel Jacobowitz2-0/+5
2003-08-17 * Makefile.in (i386-linux-nat.o): Update dependencies.Daniel Jacobowitz10-4/+251
* config/i386/nm-linux.h (LINUX_CHILD_POST_STARTUP_INFERIOR): Define. * config/nm-linux.h (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH) (CHILD_FOLLOW_FORK, KILL_INFERIOR): Define. * i386-linux-nat.c: Include "linux-nat.h". (child_post_startup_inferior): New function. * i386-nat.c (child_post_startup_inferior): Wrap in #ifdef. * infptrace.c (kill_inferior): Wrap in #ifdef. * lin-lwp.c (lin_lwp_attach_lwp): Call child_post_attach after attaching to each LWP. (child_wait, lin_lwp_wait): Call linux_handle_extended_wait. (init_lin_lwp_ops): Fill in some more operations. * linux-nat.h (linux_enable_event_reporting) (linux_handle_extended_wait, linux_child_post_startup_inferior): New prototypes. * linux-nat.c (linux_enable_event_reporting): New function. (child_post_attach, linux_child_post_startup_inferior) (child_post_startup_inferior, child_follow_fork) (linux_handle_extended_wait, kill_inferior): New functions.
2003-08-17 * mi-var-display.exp (-var-list-children weird): Accept functionDaniel Jacobowitz4-3/+10
pointers with argument types. * mi1-var-display.exp (-var-list-children weird): Likewise. * mi2-var-display.exp (-var-list-children weird): Likewise.
2003-08-17 * gdb.base/annota3.exp: Add missing newline.Daniel Jacobowitz2-1/+5
2003-08-172003-08-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-1567/+488
* gdbarch.sh: Delete all #if not GDB_MULTI_ARCH code. * gdbarch.h, gdbarch.c: Re-generate.
2003-08-17*** empty log message ***gdbadmin1-1/+1
2003-08-16* config/alpha/nm-fbsd.h (SVR4_SHARED_LIBS): Remove define.Mark Kettenis2-2/+4
2003-08-16Really check this in now.Mark Kettenis1-1/+12
2003-08-162003-08-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-265/+19
* NEWS: Mention that "set prompt-escape-char" was deleted. * top.c (get_prompt_1): Delete function. (gdb_prompt_escape): (init_main): Do not clear "gdb_prompt_escape". Delete "set prompt-escape-char" command. (MAX_PROMPT_SIZE): Delete macro. (get_prompt): Simplify, do not call get_prompt_1.
2003-08-16Oops, merge lost Makefile.in:printcmd.o part of change:Andrew Cagney1-0/+7
2003-08-16 Andrew Cagney <cagney@redhat.com> * Makefile.in (printcmd.o, valprint.o): Do not try to build with -Werror. -Wformat-nonliteral problems.
2003-08-162003-08-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+11
* Makefile.in (printcmd.o, valprint.o): Do not try to build with -Werror. -Wformat-nonliteral problems.
2003-08-16*** empty log message ***gdbadmin1-1/+1
2003-08-15 Further multiarching work mostly for hppa64-*-hpux11:Joel Brobecker7-244/+335
* hppa-tdep.h: New file. * hppa-tdep.c: #include hppa-tdep.c. (hppa32_num_regs): Renamed from hppa_num_regs. (hppa64_num_regs): New constant. (hppa64_call_dummy_breakpoint_offset): New constant. (hppa32_call_dummy_length): New constant. (hppa64_call_dummy_length): New constant. (hppa32_stack_align): Make name 32bit explicit. (hppa32_register_virtual_type): Likewise. (hppa32_extract_return_value): Likewise. (hppa32_use_struct_convention): Likewise. (hppa32_store_return_value): Likewise. (hppa64_register_virtual_type): New function. (hppa64_extract_return_value): New function. (hppa64_use_struct_convention): New function. (hppa64_store_return_value): New function. (hppa_frame_locals_address): Remove declaration, function does not exist anymore. (hppa_register_byte): Add support for PA64 ABI. (hppa_gdbarch_init): Add support for PA64 ABI. * hppa-hpux-tdep.c (hppa32_hpux_frame_saved_pc_in_sigtramp): Make name 32bit explicit. (hppa32_hpux_frame_base_before_sigtramp): Likewise. (hppa32_hpux_frame_find_saved_regs_in_sigtramp): Likewise. (hppa64_hpux_frame_saved_pc_in_sigtramp): New function. (hppa64_hpux_frame_base_before_sigtramp): New function. (hppa64_hpux_frame_find_saved_regs_in_sigtramp): New function. * config/pa/tm-hppa64.h: Remove macros that are no longer necessary now that the gdbarch vector is properly setup. Transform some macros into function calls. Some minor cleanup. * config/pa/tm-hppah.h: Update function calls in macros following the function renaming in hppa-hpux-tdep.c. * Makefile.in (hppa_tdep_h): New variable. (hppa-tdep.o): Add dependency over hppa_tdep_h.
2003-08-15*** empty log message ***gdbadmin1-1/+1
2003-08-142003-08-14 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+5
* disasm.c (gdb_disassemble_info): Set info->insn_sets to zero.
2003-08-142003-08-06 Michael Chastain <mec@shout.net>Michael Chastain2-1/+31
* gdb.java/jmisc1.exp: Add test for pr gdb/1322.
2003-08-14 * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correctJoel Brobecker2-1/+10
bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization routine.
2003-08-14*** empty log message ***gdbadmin1-1/+1
2003-08-132003-08-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-15/+12
* frv-tdep.c (frv_push_arguments): Use deprecated ftype. (frv_saved_pc_after_call): Use deprecated ftype. (stupid_useless_init_extra_frame_info): Remove orphan prototype. (frv_remote_translate_xfer_address): Remove. (frv_gdbarch_init): Use generic_remote_translate_xfer_address.
2003-08-13 * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarchJoel Brobecker2-3/+8
initialization after the common gdbarch initialization, not before.
2003-08-13 * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used.Joel Brobecker2-5/+5
(ADDR_BITS_REMOVE): Remove, redundant.