summaryrefslogtreecommitdiff
path: root/gdb
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.
* *** 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.
* *** 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.
* * 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.
* *** empty log message ***gdbadmin2004-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".
* 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
|
* * 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.
* 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.
* *** 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.
* *** empty log message ***gdbadmin2004-08-241-1/+1
|
* 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.
* * armnbsd-tdep.c (arm_nbsd_arm_be_breakpoint): Define.Richard Earnshaw2004-08-232-2/+29
| | | | | (arm_nbsd_thumb_[lb]e_breakpoint): Define. (arm_netbsd_init_abi_common): Register them.
* *** empty log message ***gdbadmin2004-08-231-1/+1
|
* * config/vax/vax.mh (NATDEPFILES): Add vax-nat.c.Mark Kettenis2004-08-222-1/+4
|
* * amd64obsd-tdep.c (amd64obsd_sigtramp_p): UseMark Kettenis2004-08-222-1/+5
| | | | safe_frame_unwind_memory instead of target_read_memory.
* * infptrace.c: Remove #ifdef'ed out inclusion of gdb_stat.h.Mark Kettenis2004-08-223-53/+45
| | | | | | | | | | | Reorder includes. (fetch_register, store_register): Remove prototypes. (child_resume): Reorganize code and comments such that it is grouped a bit more logically. (attach): Explicitly compare errno against 0. (detach): Likewise. Use perror_with_name instead of print_sys_errmsg. * Makefile.in (infptrace.o): Update dependencies.
* * ia64-linux-nat.c: Update copyright year.Mark Kettenis2004-08-223-9/+14
| | | | | | | | (fetch_debug_register, store_debug_register) (ia64_linux_stopped_by_watchpoint): Replace PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3. * config/ia64/nm-linux.h: Update copyright year. (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove defines.
* * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Change argumentMark Kettenis2004-08-222-4/+11
| | | | | | | from CORE_ADDR to struct frame_info *. Use safe_frame_unwind_memory instead of deprecated_read_memory_nobpt. (amd64_linux_sigtramp_p): Adjust for changed signature of and64_linux_sigtramp_start
* * gdb_ptrace.h: GNU/Linux.Mark Kettenis2004-08-222-1/+3
|
* * config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):Mark Kettenis2004-08-222-8/+3
| | | | Remove defines.
* * infptrace.c: Include "gdb_assert.h".Mark Kettenis2004-08-223-96/+85
| | | | | | | | | | (PTRACE_XFER_TYPE): Remove define. (offsetof): Only define if U_REGS_OFFSET isn't defined. (fetch_register, store_register): Rewrite to use PTRACE_TYPE_RET. Tweak comment. (fetch_inferior_registers, store_inferior_registers): Remove redundant culry braces. Tweak comment. s/regno/regnum. * Makefile.in (infptrace.o): Update dependencies.
* * configure.in: Change test for return type of ptrace to defaultMark Kettenis2004-08-223-6/+12
| | | | | to `long' instead of `int'. * configure: Regenerate.
* *** empty log message ***gdbadmin2004-08-221-1/+1
|
* * config/alpha/alpha-linux.mh (LOADLIBES): New variable.Mark Kettenis2004-08-212-0/+6
|
* * configure.in: Check for ttrace function.Mark Kettenis2004-08-214-216/+278
| | | | * configure, config.in: Regenerate.
* 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-08-212-1/+15
| | | | | * (Using the Testsuite): build != host is supported, but some test scripts do not support build != host.
* * gdb_ptrace.h: New file.Mark Kettenis2004-08-214-48/+131
| | | | | | | | | | | * infptrace.c: Include "gdb_ptrace.h" instead of <ptrace.h> or <sys/ptrace.h>. (PT_READ_I, PT_READ_D, PT_READ_U, PT_WRITE_I, PT_WRITE_D) (PT_WRITE_U, PT_CONTINUE, PT_STEP, PT_KILL): Remove defines. (attach): Don't define PT_ATTACH. (detach): Don't define PT_DETACH. * Makefile.in (gdb_ptrace_h): New variable. (infptrace.o): Update dependencies.
* *** empty log message ***gdbadmin2004-08-211-1/+1
|
* * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. UseMark Kettenis2004-08-202-0/+29
| | | | it to skip the breakpoints encoded in the inline assembly.
* 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-08-202-2/+7
| | | | * Makefile.in: Add gdb.fortran.
* 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-08-202-1/+6
| | | | | * gdb.base/call-sc.exp (test_scalar_returns): Fix cut-and-paste glitch in "Make fun return now".