aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-08-27 * elf64-ppc.c (ppc64_elf_branch_reloc): Check .opd is in a regularAlan Modra2-210/+233
object file. (struct sfpr_def_parms): Save some space. (sfpr_define): Here too. * elf64-ppc.c (compare_symbols): Put section syms first. (sym_exists_at): New function. (ppc64_elf_get_synthetic_symtab): Use relocs to find code entry points only for relocatable files. Use .opd section contents otherwise. Generally clean up the code.
2004-08-27 * gdb.threads/bp_in_thread.exp: New testcase.Joel Brobecker2-0/+53
2004-08-27 * procfs.c (dbx_link_bpt_addr): New static global variable.Joel Brobecker3-34/+266
(dbx_link_shadow_contents): New static global variable. (procfs_wait, case <PR_SYSEXIT>): Handle syssgi events. (procfs_wait, case <FLTBPT>): Remove the __dbx_link brekapoint if we just hit it. (procfs_init_inferior): Enable syssgi() syscall trace if appropriate. Reset dbx_link_bpt_addr as the address of __dbx_link() may change from run to run. (procfs_create_inferior): Remove syssgi syscall-exit notifications after the inferior has been forked. (remove_dbx_link_breakpoint): New function. (dbx_link_addr): New function. (insert_dbx_link_bpt_in_file): New function. (insert_dbx_link_bpt_in_region): New function. (insert_dbx_link_breakpoint): New function. (proc_trace_syscalls_1): New function, extracted from proc_trace_syscalls. (proc_trace_syscalls): Replace extract code by call to proc_trace_syscalls_1. * solib-irix.c (disable_break): Remove stop_pc assertion, as it is no longer valid.
2004-08-272004-08-27 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-3/+10
Fix PR testsuite/1735. * gdb.threads/schedlock.c (thread_function): Add a cast to suppress a gcc warning. * gdb.threads/thread-specific.c (thread_function): Likewise.
2004-08-27 * cpu.[ch], arch.[ch], decode.[ch]: Regenerated.Richard Sandiford10-9/+14
* cpuall.h, model.c, sem.c: Regenerated.
2004-08-27cpu/Richard Sandiford11-6/+37
* frv.cpu (cfmovs): Change UNIT attribute to FMALL. opcodes/ * frv-desc.[ch], frv-opc.[ch]: Regenerated. gas/testsuite/ * gas/frv/fr550-pack1.[sd]: New test. * gas/frv/allinsn.exp: Run it.
2004-08-27Allow pcrel test for COFF targets as well, but not for PE targets.Nick Clifton2-2/+12
Similarly for the absrel test.
2004-08-27 * elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12,Alan Modra2-87/+273
LI_R12_0, STVX_VR0_R12_R0, LVX_VR0_R12_R0, MTLR_R0, SFPR_MAX): Define. (struct sfpr_def_parms): New. (sfpr_define): New function. (savegpr0, savegpr0_tail, restgpr0, restgpr0_tail): New functions. (savegpr1, savegpr1_tail, restgpr1, restgpr1_tail): New functions. (savefpr, savefpr0_tail, restfpr, restfpr0_tail): New functions. (savefpr1_tail, restfpr1_tail): New functions. (savevr, savevr_tail, restvr, restvr_tail): New functions. (MIN_SAVE_FPR, MAX_SAVE_FPR): Don't define. (ppc64_elf_func_desc_adjust): Use sfpr_define in place of existing code. Define all ABI mandated _save and _rest functions.
2004-08-27Do not assume that either bfd is an archiveNick Clifton2-6/+13
2004-08-27* gas/i386/i386.exp: Group ELF specific tests together. Move the pcrelNick Clifton2-15/+13
test into the ELF only section. Use is_elf_format to test for ELF based toolchains.
2004-08-27*** empty log message ***gdbadmin1-1/+1
2004-08-27daily updateAlan Modra1-1/+1
2004-08-262004-08-26 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+5
* gdb.base/unload.c: Include <stdlib.h>.
2004-08-26Bleagh. I messed up the part about properly distinguishingMichael Chastain1-1/+2
between "guy who wrote the patch" (Paul Gilliam) and "guy who committed the patch" (me).
2004-08-262004-08-26 Paul Gilliam <pgilliam@us.ibm.com>Michael Chastain2-0/+29
* gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is synchronized after the "return".
2004-08-26 * INTERWORK_FLAG: Return true for EABIv3 objects.Paul Brook2-1/+7
2004-08-262004-08-26 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain4-2/+13
* gdb.mi/basics.c: Include <stdio.h>. * gdb.mi/pthreads.c: Include <stdlib.h>. * gdb.mi/var-cmd.c: Include <stdlib.h>.
2004-08-262004-08-26 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+23
* gdb.threads/schedlock.c: Add copyright notice.
2004-08-26*** empty log message ***gdbadmin1-1/+1
2004-08-26daily updateAlan Modra1-1/+1
2004-08-25bfd/Alan Modra4-5/+14
* elf32-m32r.c (m32r_elf_relocate_section): Don't compare with TRUE or FALSE. ld/ * ldlang.c (lang_init): Don't compare with TRUE.
2004-08-25 * elf32-i386.c (elf_i386_relocate_section): Tweak last change soAlan Modra2-1/+6
that pcrel correction is applied for R_386_PC32.
2004-08-252004-08-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* gas/all/gas.exp: Use `string match ""' instead of `eq ""'.
2004-08-25* gdbtypes.h (TYPE_CODE_ARRAY): Doc fix.Jim Blandy2-1/+25
2004-08-252004-08-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-31/+203
* gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler) (skip_over_handler, breakpoint_over_hander): New test procedures. (advance, advancei): Add a proper prefix, do not use rerun_to_main. * gdb.base/sigstep.c (main): Change to use an infinite loop.
2004-08-252004-08-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-14/+11
* infrun.c (struct execution_control_state): Delete field "stepping_through_sigtramp". (init_execution_control_state): Do not set same. (context_switch): Do not pass same to save_infrun_state and load_infrun_state. * gdbthread.h (struct thread_info): Delete field stepping_through_sigtramp. (save_infrun_state, load_infrun_state): Delete parameter stepping_through_sigtramp. * thread.c (load_infrun_state, save_infrun_state): Update.
2004-08-252004-08-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-230/+194
* infrun.c: Re-indent. Move expression operators to the beginning of the line. Remove long disabled #if 0 code.
2004-08-25 * elf32-i386.c (elf_i386_relocate_section): Zero section contentsAlan Modra2-3/+20
for R_386_32 and R_386_PC32 relocs against symbols defined in discarded sections.
2004-08-25Apply Dmitry Diky's patches to add relaxation to msp430.Nick Clifton16-773/+2119
2004-08-252004-08-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-20/+11
* ldlang.c (wildcardp): Defined as a macro with strpbrk.
2004-08-252004-08-24 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-0/+44
* gdb.mi/basics.c: Add copyright notice. * gdb.mi/var-cmd.c: Add copyright notice.
2004-08-25daily updateAlan Modra1-1/+1
2004-08-25*** empty log message ***gdbadmin1-1/+1
2004-08-242004-08-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-4/+12
* doublest.h (floatformat_ieee_quad): Rename floatformat_ia64_quad. * doublest.c (floatformat_ieee_quad): Rename floatformat_ia64_quad. (_initialize_doublest): Update.
2004-08-24* dwarf2expr.h (struct dwarf_expr_context): New membersJim Blandy4-2/+120
'num_pieces' and 'pieces', for returning the result of an expression that uses DW_OP_piece. (struct dwarf_expr_piece): New struct type. * dwarf2expr.c (new_dwarf_expr_context): Initialize num_pieces and pieces. (free_dwarf_expr_context): Free pieces, if any. (add_piece): New function. (execute_stack_op): Implement DW_OP_piece. * dwarf2loc.c (dwarf2_evaluate_loc_desc): If the result of the expression is a list of pieces, print an error message. (dwarf2_loc_desc_needs_frame): If the expression yields pieces, and any piece is in a register, then we need a frame.
2004-08-242004-08-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-1/+6
* gdbint.texinfo (Target Architecture Definition): Add missing comma.
2004-08-24* dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top ofJim Blandy2-5/+12
the stack until we've decided what sort of result the evaluation has produced. Use separate variables, with more specific names.
2004-08-24* as.c (std_shortopts): Allow -g to take an optional argument.Nick Clifton2-4/+9
(parse_args): Pass any switch starting with -g on to the backend for parsing.
2004-08-24altmacro.[sd]: Split out part from here...Nick Clifton7-3/+47
altmac2.[sd]: ... to here. excl.s: New. gas.exp: Suppress both tests for a few targets known to break. Run the new (split out) test only when the target doesn't use '!' as a comment character.
2004-08-24(m32r_elf_relocate_section): Handle R_M32R_SDA16_RELA in the same way asNick Clifton2-1/+6
R_M32R_SDA16.
2004-08-24*** empty log message ***gdbadmin1-1/+1
2004-08-24daily updateAlan Modra1-1/+1
2004-08-23Add missing ChangeLog entry.Jim Blandy1-0/+4
2004-08-232004-08-23 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain4-25/+9
* lib/gdb.exp: Remove signed_keyword_not_used. * lib/compiler.c: Likewise. * lib/compiler.cc: Likewise.
2004-08-232004-08-23 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain3-21/+9
* gdb.base/whatis.c: Remove conditional disabling of "signed". * gdb.base/whatis.exp: Remove signed_keyword_not_used.
2004-08-232004-08-23 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-0/+24
* gdb.base/whatis.c: Add copyright notice.
2004-08-23* armnbsd-tdep.c (arm_nbsd_arm_be_breakpoint): Define.Richard Earnshaw2-2/+29
(arm_nbsd_thumb_[lb]e_breakpoint): Define. (arm_netbsd_init_abi_common): Register them.
2004-08-23daily updateAlan Modra1-1/+1
2004-08-23*** empty log message ***gdbadmin1-1/+1
2004-08-22* config/vax/vax.mh (NATDEPFILES): Add vax-nat.c.Mark Kettenis2-1/+4