summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* TOVAL.cvs/cagney_convert-20030606-branchcagney_convert-20030606-branchMark Kettenis2003-06-092-3/+5
|
* * i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM,Mark Kettenis2003-06-092-40/+131
| | | | | | | | | | | I386_EDI_REGNUM): New defines. (i386_next_regnum, i386_convert_register_p, i386_register_to_value, i386_value_to_register): New functions. (i386_register_convertible, i386_register_convert_to_virtual, i386_convert_to_raw): Remove functions. (i386_gdbarch_init): Set convert_register_p, register_to_value and value_to_register instead of register_convertible, register_convert_to_virtual and register_convert_to_raw.
* * mips-tdep.c (mips_value_to_register): Fix.Mark Kettenis2003-06-092-2/+6
|
* 2003-06-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-06-089-77/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * frame.h (put_frame_register): Declare. * frame.c (put_frame_register): New function. * arch-utils.c: Include "gdbcore.h". (legacy_convert_register_p): Add "type" parameter. (legacy_register_to_value): Rewrite, use "frame" to get the register value. (legacy_value_to_register): Rewrite, use "frame" to find the register's location before storing. * arch-utils.h (legacy_convert_register_p): Update. (legacy_register_to_value, legacy_value_to_register): Update. * Makefile.in (arch-utils.o): Update dependencies. * findvar.c (value_from_register): Rewrite, eliminate use of REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass "frame" to REGISTER_TO_VALUE. * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter. (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace raw buffer parameter with "frame". * gdbarch.h, gdbarch.c: Re-generate. * mips-tdep.c (mips_convert_register_p): New function. (mips_value_to_register): Replace mips_register_convert_from_type. (mips_register_to_value): Replace mips_register_convert_to_type. (mips_gdbarch_init): Set conver_register_p, value_to_register and register_to_value. * valops.c (value_assign): Move the CONVERT_REGISTER code to the lval_reg_frame_relative + lval_register branch of the switch. Do not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register.
* 2003-06-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-06-06415-124133/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * frame.h (put_frame_register): Declare. * frame.c (put_frame_register): New function. * arch-utils.c: Include "gdbcore.h". (legacy_convert_register_p): Add "type" parameter. (legacy_register_to_value): Rewrite, use "frame" to get the register value. (legacy_value_to_register): Rewrite, use "frame" to find the register's location before storing. * arch-utils.h (legacy_convert_register_p): Update. (legacy_register_to_value, legacy_value_to_register): Update. * Makefile.in (arch-utils.o): Update dependencies. * findvar.c (value_from_register): Rewrite, eliminate use of REGISTER_CONVERT_TO_TYPE, pass "type" to CONVERT_REGISTER_P, pass "frame" to REGISTER_TO_VALUE. * gdbarch.sh (CONVERT_REGISTER_P): Add "type" parameter. (REGISTER_TO_VALUE, VALUE_TO_REGISTER): Replace "type", "from" and "to" parameters with "frame" and "value". * gdbarch.h, gdbarch.c: Re-generate. * mips-tdep.c (mips_convert_register_p): New function. (mips_value_to_register): Replace mips_register_convert_from_type. (mips_register_to_value): Replace mips_register_convert_to_type. (mips_gdbarch_init): Set conver_register_p, value_to_register and register_to_value. * valops.c (value_assign): Move the CONVERT_REGISTER code to the lval_reg_frame_relative + lval_register branch of the switch. Do not use REGISTER_CONVERT_FROM_TYPE. Use put_frame_register.
* 2003-06-06 Michal Ludvig <mludvig@suse.cz>cagney_convert-20030606-branchpointMichal Ludvig2003-06-062-2/+7
| | | | | * x86-64-tdep.c (x86_64_fill_fxsave): Pass correct regnums to regcache_collect().
* * elfcode.h (elf_slurp_reloc_table_from_section): Don't dereferenceDaniel Jacobowitz2003-06-062-1/+8
| | | | NULL function pointers.
* * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, settingJoel Brobecker2003-06-064-8/+26
| | | | | | | | | | pc_in_sigtramp multiarch method. (hppa_hpux_som_init_abi): Use it. (hppa_hpux_elf_init_abi): Likewise. * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this macro has been multiarched. * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this macro here, as hppa64 isn't multiarched yet.
* *** empty log message ***gdbadmin2003-06-061-1/+1
|
* daily updateAlan Modra2003-06-061-1/+1
|
* * config/pa/tm-hppa.h: Delete some unused macros. Move someJoel Brobecker2003-06-051-64/+0
| | | | | macro definitions from here... * hppa-tdep.c: ...to there.
* 2003-06-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-06-056-15/+24
| | | | | | | | | | | * Makefile.in (value_h): Add $(frame_h). * value.h: Include "frame.h". (struct value): Replace "frame_addr" with "frame_id". (VALUE_FRAME_ID): Replace VALUE_FRAME. * values.c (allocate_value): Use VALUE_FRAME_ID. (value_copy): Use VALUE_FRAME_ID. * findvar.c (value_from_register): Use VALUE_FRAME_ID. * valops.c (value_assign): Update. Use frame_find_by_id.
* an obvious fixDavid Lecomber2003-06-051-0/+1
|
* 2003-06-05 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2003-06-052-1/+6
| | | | | * x86-64-tdep.c (x86_64_push_arguments): Don't clear offset in each pass.
* 2003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-06-052-24/+48
| | | | | | | | | * h8sx.h (enum h8_model): Add AV_H8S to distinguish from H8H. (ldc): Split ccr ops from exr ops (which are only available on H8S or H8SX). (stc): Ditto. (andc, orc, xorc): Ditto. (ldmac, stmac, clrmac, mac): Change access to AV_H8S.
* 2003-06-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-052-39/+54
| | | | | | * thread-db.c (check_event): For create/death event breakpoints, loop through all messages to ensure that we read the message corresponding to the breakpoint we are at.
* merge from gccDJ Delorie2003-06-052-1/+6
|
* Add code to handle even-numbered only register operandsNick Clifton2003-06-059-182/+364
|
* * linux-low.c (linux_wait_for_event): Correct comment typos.Daniel Jacobowitz2003-06-054-8/+36
| | | | | | | | | (linux_resume_one_process): Call check_removed_breakpoint. (linux_send_signal): New function. (linux_target_ops): Add linux_send_signal. * remote-utils.c (putpkt, input_interrupt): Use send_signal instead of kill. * target.h (struct target_ops): Add send_signal.
* * simple.c (bfd_simple_get_relocated_section_contents): CallDaniel Jacobowitz2003-06-052-1/+6
| | | | _bfd_generic_link_add_symbols instead of bfd_link_add_symbols.
* 2003-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-06-052-0/+6
| | | | * h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn.
* 2003-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-06-052-12/+14
| | | | | | | | * compile.c (sim_info): Fix typo in output. * h8300/compile.c (set_h8300h): Replace 'flag' arguments with a bfd_machine argument, and decode it inline. Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
* 2003-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-06-053-27/+20
| | | | | | | | * common/run.c (main): Remove SIM_H8300 ifdef. (usage): Ditto. * common/sim-options.c (STANDARD_OPTIONS): Add SIM_H8300SX. (standard_options): Add '-x' for h8/300sx. (standard_option_handler): Add case for SIM_H8300SX.
* *** empty log message ***gdbadmin2003-06-051-1/+1
|
* * dwarf2-frame.c (struct comp_unit): Add member `dbase'.Mark Kettenis2003-06-042-0/+24
| | | | | | (read_encoded_value): Handle DW_EH_PE_datarel encoding. (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings when handling .eh_frame sections.
* * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the genericJoel Brobecker2003-06-043-88/+8
| | | | | prepare_to_proceed procedure instead of the hppa-specific one. * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used.
* 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-047-205/+519
| | | | | | | | | | | | | | | | | | | | | | | | * acconfig.h: Add HAVE_TKILL_SYSCALL definition check. * config.in: Regenerated. * configure.in: Add test for syscall function and check for __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. * configure: Regenerated. * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and <sys/syscall.h>. (kill_lwp): New function that uses tkill syscall or uses kill, depending on whether threading model is nptl or not. All callers of kill() changed to use kill_lwp(). (lin_lwp_wait): Make special check when WIFEXITED occurs to see if all threads have already exited in the nptl model. (stop_and_resume_callback): New callback function used by the lin_lwp_wait thread exit handling code. (stop_wait_callback): Check for threads already having exited and delete such threads fromt the lwp list when discovered. (stop_callback): Don't assert retcode of kill call. Roland McGrath <roland@redhat.com> * i386-linux-nat.c (ps_get_thread_area): New function needed by nptl libthread_db.
* 2003-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-06-042-4/+8
| | | | * compile.c (sim_info): Fix typo in output.
* * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn.Richard Henderson2003-06-043-5/+12
| | | | | | | (alpha_sigtramp_frame_this_id): Use get_frame_memory. (alpha_sigtramp_frame_prev_register): Likewise. (alpha_heuristic_frame_prev_register): Likewise. * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
* * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): UseRichard Henderson2003-06-042-4/+11
| | | | | | alpha-specific register id names. (alpha_mdebug_frame_unwind_cache): Likewise. (alpha_mdebug_frame_prev_register): Likewise.
* Moved the ticoff0/1 swaptables and coff0/1 bad format hooks to coffcode.hSvein Seldal2003-06-044-226/+129
|
* Altered the CREATE_xxx_COFF_TARGET_VEC macro arguments -- changelog dropped outSvein Seldal2003-06-041-0/+22
|
* Altered the CREATE_xxx_COFF_TARGET_VEC macro argumentsSvein Seldal2003-06-0417-282/+82
|
* Fixed initialization bugSvein Seldal2003-06-042-2/+7
|
* * alpha-tdep.c (alpha_dwarf2_init_abi): New.Richard Henderson2003-06-049-19/+49
| | | | | | | | | | | | | * alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug unwind routines. * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. * config/alpha/nbsd.mt (TDEPFILES): Likewise. * alpha-linux-tdep.c: Remove unnecessary includes. * Makefile.in (alpha-linux-tdep.o): Update.
* * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change.Richard Henderson2003-06-041-2/+2
| | | | (alphabsd_fill_fpreg): Likewise.
* * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): ReplaceJoel Brobecker2003-06-042-1/+7
| | | | | references to struct frame_info fields by calls to the equivalent accessors. Necessary now that frame_info is opaque.
* * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete.Joel Brobecker2003-06-042-15/+6
| | | | | (alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep structure, field no longer exists.
* * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o.Joel Brobecker2003-06-043-1/+9
| | | | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module.
* * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): ReplaceJoel Brobecker2003-06-042-2/+12
| | | | | references to struct frame_info fields by calls to the equivalent accessors. Necessary now that frame_info is opaque.
* * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete.Joel Brobecker2003-06-042-14/+6
| | | | | (alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep structure, field no longer exists.
* * remote.c (init_remote_state): Compute sizeof_g_packet byTheodore A. Roth2003-06-042-4/+14
| | | | | accumulation of the size of all registers instead of blindly using DEPRECATED_REGISTER_BYTES.
* 2003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-06-043-12/+51
| | | | | | * config/h8300/tm-h8300.h (h8300sxmode): Declare. * h8300-tdep.c (h8300_gdbarch_init): Set machine mode for h8300sx.
* *** empty log message ***gdbadmin2003-06-041-1/+1
|
* * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile.Joel Brobecker2003-06-033-1/+7
| | | | * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
* binutils/Jakub Jelinek2003-06-037-0/+88
| | | | | | | | | | | | | | | | | | | | * readelf.c (get_segment_type): Handle PT_GNU_STACK. bfd/ * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK. (bfd_section_from_phdr): Likewise. (map_sections_to_segments): Create PT_GNU_STACK segment header. (get_program_header_size): Count with PT_GNU_STACK. * elf-bfd.h (struct elf_obj_tdata): Add stack_flags. * elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags. include/ * bfdlink.h (struct bfd_link_info): Add execstack and noexecstack. * elf/common.h (PT_GNU_STACK): Define. ld/ * ldgram.y (phdr_type): Grok PT_GNU_STACK. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add -z execstack and -z noexecstack. (gld${EMULATION_NAME}_list_options): Likewise. * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
* 2003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-06-034-1022/+3400
| | | | | | * h8300/compile.c: Add h8300sx insns and addressing modes. * h8300/sim-main.h: Replaces h8300/inst.h. * h8300/Makefile.in: Tweak to bring in some sim/common stuff.
* 2003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-06-032-190/+538
| | | | | | | and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * disassemble.c (disassembler): Add support for h8300sx. * h8300-dis.c: Ditto.
* 2003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-06-032-545/+1814
| | | | | | and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * h8300.h: Add support for h8300sx instruction set.
* 2003-06-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-06-032-16/+7
| | | | | | | * sparc-tdep.c (sparc_convert_to_virtual): Delete function. (sparc_convert_to_raw): Delete function. (sparc_gdbarch_init): Do not set register_convert_to_raw or register_convert_to_virtual.