summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2004-08-29 David Lecomber <david@streamline-computing.com>David Lecomber2004-08-2913-12/+116
| | | | | | | | | | | | | | | | | | | | | | | Fix PR gdb/648 * language.h (enum array_ordering): New enum. * language.h (struct language_defn): New la_array_ordering attribute. * language.c (unknown_language_defn, auto_language_defn) (local_language_defn): Ditto. * ada-lang.c (ada_language_defn): Ditto. * c-lang.c (c_language_defn, cplus_language_defn) (asm_language_defn, minimal_language_defn): Ditto. * f-lang.c (f_language_defn): Ditto. * jv-lang.c (java_language_defn): Ditto. * m2-lang.c (f_language_defn): Ditto. * objc-lang.c (objc_language_defn): Ditto. * p-lang.c (pascal_language_defn): Ditto. * scm-lang.c (scm_language_defn): Ditto. * eval.c (evaluate_subexp_standard): Assume Fortran arrays are oriented large to small in type structure. * dwarf2read.c (read_array_order): New function. (read_array_type): Use read_array_order to check row/column major ordering.
* daily updateAlan Modra2004-08-291-1/+1
|
* *** empty log message ***gdbadmin2004-08-291-1/+1
|
* 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-08-287-64/+96
| | | | | | | | | | | | | With code from Manoj Iyer <manjo@austin.ibm.com>: * lib/gdb.exp (gdb_file_cmd): Return more information in the return value. Add an arm for "no debugging symbols found". Change a stray "error" to "perror". (gdb_run_cmd): Adapt to new return value. * gdb.base/remote.exp: Adapt to new return value. * gdb.gdb/complaints.exp: Likewise. * gdb.gdb/observer.exp: Likewise. * gdb.gdb/selftest.exp: Likewise. * gdb.gdb/xfullpath.exp: Likewise.
* * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Copy inputAlan Modra2004-08-282-25/+28
| | | | symbol pointer arrays before modifying.
* corrected versionAlan Modra2004-08-281-5/+5
|
* bfd/Alan Modra2004-08-289-83/+88
| | | | | | | | | | | | | | | | * bfd.c (bfd_get_synthetic_symtab): Pass counts and both symbol tables. * elf-bfd.h (_bfd_elf_get_synthetic_symtab): Adjust. * elf.c (_bfd_elf_get_synthetic_symtab): Adjust. * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Adjust. * targets.c (struct bfd_target <_bfd_get_synthetic_symtab>): Adjust. * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't read symbols. Use both symbol tables on non-relocatable objects. Use a common error exit. Fix "mid" warning. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. binutils/ * objdump.c (dump_bfd): Pass both symbol tables to bfd_get_synthetic_symtab.
* daily updateAlan Modra2004-08-281-1/+1
|
* *** empty log message ***gdbadmin2004-08-281-1/+1
|
* 2004-08-27 Martin Hunt <hunt@redhat.com>Martin Hunt2004-08-2712-16/+413
| | | | | | | | | | | | | | | | | | | | | | | | | | * library/ipc.tcl: New file. * library/ipcpref.ith: New file. * library/ipcpref.itb: New file. * library/srcwin.itb (SrcWin::inferior): Call ipc send if enabled. * library/prefs.tcl (pref_set_defaults): Enable color schemes by default. Add IPC defaults. * library/srcbar.itcl (create_pref_menu): Create "Advanced" cascade menu and put "Edit Color Schemes" and "IPC Support" under it. * library/managedwin.itb (ManagedWin::destructor): If IPC enabled then send "quit" on exit. * library/main.tcl: Start IPC if enabled. * library/prefs.tcl (pref_set_defaults): Add IPC defaults. * library/gdbmenubar.itcl (menubar_get_current_menu): New method.
* * target.c (target_resize_to_sections): CheckNathan J. Williams2004-08-272-0/+12
| | | | current_target.to_sections for an old value when updating.
* * elf64-ppc.c (ppc64_elf_branch_reloc): Check .opd is in a regularAlan Modra2004-08-272-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.
* * gdb.threads/bp_in_thread.exp: New testcase.Joel Brobecker2004-08-272-0/+53
|
* * procfs.c (dbx_link_bpt_addr): New static global variable.Joel Brobecker2004-08-273-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-27 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-08-273-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.
* * cpu.[ch], arch.[ch], decode.[ch]: Regenerated.Richard Sandiford2004-08-2710-9/+14
| | | | * cpuall.h, model.c, sem.c: Regenerated.
* cpu/Richard Sandiford2004-08-275-5/+9
| | | | | | | | | | | * 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.
* * elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12,Alan Modra2004-08-272-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.
* *** empty log message ***gdbadmin2004-08-271-1/+1
|
* daily updateAlan Modra2004-08-271-1/+1
|
* 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-08-262-0/+5
| | | | * gdb.base/unload.c: Include <stdlib.h>.
* Bleagh. I messed up the part about properly distinguishingMichael Chastain2004-08-261-1/+2
| | | | | between "guy who wrote the patch" (Paul Gilliam) and "guy who committed the patch" (me).
* 2004-08-26 Paul Gilliam <pgilliam@us.ibm.com>Michael Chastain2004-08-262-0/+29
| | | | | * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is synchronized after the "return".
* * INTERWORK_FLAG: Return true for EABIv3 objects.Paul Brook2004-08-262-1/+7
|
* 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-08-264-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-26 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-08-262-0/+23
| | | | * gdb.threads/schedlock.c: Add copyright notice.
* *** empty log message ***gdbadmin2004-08-261-1/+1
|
* daily updateAlan Modra2004-08-261-1/+1
|
* bfd/Alan Modra2004-08-252-3/+8
| | | | | | | * elf32-m32r.c (m32r_elf_relocate_section): Don't compare with TRUE or FALSE. ld/ * ldlang.c (lang_init): Don't compare with TRUE.
* * elf32-i386.c (elf_i386_relocate_section): Tweak last change soAlan Modra2004-08-252-1/+6
| | | | that pcrel correction is applied for R_386_PC32.
* * gdbtypes.h (TYPE_CODE_ARRAY): Doc fix.Jim Blandy2004-08-252-1/+25
|
* 2004-08-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney2004-08-253-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-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney2004-08-254-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-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney2004-08-252-230/+194
| | | | | * infrun.c: Re-indent. Move expression operators to the beginning of the line. Remove long disabled #if 0 code.
* * elf32-i386.c (elf_i386_relocate_section): Zero section contentsAlan Modra2004-08-252-3/+20
| | | | | for R_386_32 and R_386_PC32 relocs against symbols defined in discarded sections.
* Apply Dmitry Diky's patches to add relaxation to msp430.Nick Clifton2004-08-259-100/+709
|
* 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-08-253-0/+44
| | | | | * gdb.mi/basics.c: Add copyright notice. * gdb.mi/var-cmd.c: Add copyright notice.
* daily updateAlan Modra2004-08-251-1/+1
|
* *** empty log message ***gdbadmin2004-08-251-1/+1
|
* 2004-08-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney2004-08-243-4/+12
| | | | | | | | * doublest.h (floatformat_ieee_quad): Rename floatformat_ia64_quad. * doublest.c (floatformat_ieee_quad): Rename floatformat_ia64_quad. (_initialize_doublest): Update.
* * dwarf2expr.h (struct dwarf_expr_context): New membersJim Blandy2004-08-244-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-24 Andrew Cagney <cagney@gnu.org>Andrew Cagney2004-08-242-2/+7
| | | | | * gdbint.texinfo (Target Architecture Definition): Add missing comma.
* * dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top ofJim Blandy2004-08-242-5/+12
| | | | | the stack until we've decided what sort of result the evaluation has produced. Use separate variables, with more specific names.
* (m32r_elf_relocate_section): Handle R_M32R_SDA16_RELA in the same way asNick Clifton2004-08-242-1/+6
| | | | R_M32R_SDA16.
* *** empty log message ***gdbadmin2004-08-241-1/+1
|
* daily updateAlan Modra2004-08-241-1/+1
|
* Add missing ChangeLog entry.Jim Blandy2004-08-231-0/+4
|
* 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-08-234-25/+9
| | | | | | * lib/gdb.exp: Remove signed_keyword_not_used. * lib/compiler.c: Likewise. * lib/compiler.cc: Likewise.
* 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-08-233-21/+9
| | | | | * gdb.base/whatis.c: Remove conditional disabling of "signed". * gdb.base/whatis.exp: Remove signed_keyword_not_used.
* 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-08-232-0/+24
| | | | * gdb.base/whatis.c: Add copyright notice.