aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-07-07*** empty log message ***gdbadmin1-1/+1
2003-07-06 * gdb.objc/basicclass.exp ("Call an Objective-C method with noAndreas Schwab3-1/+10
arguments"): Also match negative number. * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2003-07-06* win32-nat.c (solib_symbols_add): Use one variable for all section addressChristopher Faylor3-36/+30
stuff. Pass variable rather than address of variable to safe_symbol_file_add.
2003-07-06 * m68klinux-nat.c (fill_fpregset): Fix use of loop index.Andreas Schwab2-2/+6
2003-07-06*** empty log message ***gdbadmin1-1/+1
2003-07-05*** empty log message ***gdbadmin1-1/+1
2003-07-04 * rs6000-nat.c (vmap_symtab): Fix compilation error.Joel Brobecker2-1/+7
2003-07-042003-07-04 Kris Warkentin <kewarken@qnx.com>Kris Warkentin2-0/+13
* config/i386/nto.mh: Set XM_FILE to xm-i386.h
2003-07-042003-07-04 Kris Warkentin <kewarken@qnx.com>Kris Warkentin4-0/+1400
* nto-procfs.c: New file. Native procfs support for QNX Neutrino. * config/i386/nto.mh: New file. * config/i386/nm-nto.h: New file. * configure.host: Add i[3456]86-*-nto*.
2003-07-04 * remote-vx.c (vx_add_symbols): Fix compilation error.Joel Brobecker2-2/+9
2003-07-04*** empty log message ***gdbadmin1-1/+1
2003-07-032003-07-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-63/+125
* gdbarch.sh (REGISTER_NAME): Do not supply a default. * gdbarch.h, gdbarch.c: Re-generate. * config/sparc/tm-sparc.h (REGISTER_NAME): Define. (legacy_register_name): Declare. * config/sparc/tm-sp64.h (legacy_register_name): Declare. (REGISTER_NAME): Define. * sparc-tdep.c (legacy_register_name): New function. * config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro. (REGISTER_NAME): Define. (hppa64_register_name): Declare. * config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro. * hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name. (hppa64_register_name): New function. (hppa_register_name): New function. * arch-utils.c (legacy_register_name): Delete. * arch-utils.h (legacy_register_name): Delete.
2003-07-03 * cli/cli-interp.c (cli_interpreter_resume): Update theDaniel Jacobowitz2-0/+22
cli_uiout's stream to gdb_stdout.
2003-07-032003-07-03 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-13/+96
* gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add predicate. * gdbarch.h, gdbarch.c: Re-generate. * regcache.c (init_regcache_descr): Use legacy code when either REGISTER_BYTE or REGISTER_RAW_SIZE is set.
2003-07-03 * gdb.base/store.c (charest): New typedef.Daniel Jacobowitz3-19/+32
(add_char): Rename to add_charest, update. (wack_char): Rename to wack_charest, update types. Return l + r to keep r live across the call. (wack_short, wack_int, wack_long, wack_longest, wack_float) (wack_double, wack_doublest): Return l + r to keep r live across the call. * gdb.base/store.exp: Accomodate store.c changes.
2003-07-03*** empty log message ***gdbadmin1-1/+1
2003-07-02 * NEWS: Move "set logging" entry into GDB 6.0 section.Daniel Jacobowitz2-2/+6
2003-07-02* s390-tdep.c (struct frame_extra_info): new member:Jim Blandy2-1/+12
'stack_bought_valid'. (s390_get_frame_info): Set fextra_info->stack_bought_valid if we initialize fextra_info->stack_bought. (s390_frameless_function_invocation): Don't trust the value of fextra_info_ptr->stack_bought unless fextra_info->stack_bought_valid is set.
2003-07-02New S390 prologue analyzer.Jim Blandy2-455/+1284
* s390-tdep.c (struct prologue_value, enum pv_boolean): New types. (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, pv_constant_last, pv_add, pv_add_constant, pv_subtract, pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref, compute_x_addr, s390_on_stack, s390_store, s390_get_signal_frame_info): New functions. (S390_NUM_SPILL_SLOTS): New macro. (s390_get_frame_info): Rewritten. (is_arg_reg): Deleted. Break out the decoding of S/390 instructions into separate functions, to make it more legible, and easier to check against the spec. * s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse, is_rx, is_rxe): New functions. (op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras, op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi, op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st, op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New enums for opcode values. (Is this an improvement?)
2003-07-022003-07-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-25/+39
* i386-tdep.c: Revert change committed as part of trad-frame code below.
2003-07-02 * breakpoint.c (insert_catchpoint): Make static.Daniel Jacobowitz2-1/+5
2003-07-02 * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byteAndreas Jaeger1-4/+22
before the call. Set %rax only to number of SSE registers used.
2003-07-02*** empty log message ***gdbadmin1-1/+1
2003-07-01 * ia64-tdep.c (ia64_push_dummy_call): Define as combination ofAndreas Schwab2-32/+35
former ia64_push_arguments and ia64_push_return_address, and use regcache functions instead of read/write_register. (ia64_gdbarch_init): Set push_dummy_call instead of deprecated_push_arguments and deprecated_push_return_address.
2003-07-01 * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byteAndreas Jaeger1-1/+7
before the call. Set %rax only to number of SSE registers used.
2003-07-012003-07-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-68/+132
* trad-frame.h: Update comments, a -1 .addr is reserved. (trad_frame_value_p, trad_frame_addr_p): Declare. (trad_frame_reg_p): Declare. (trad_frame_set_value): Rename trad_frame_register_value. (trad_frame_set_unknown): Declare. * trad-frame.c (trad_frame_realreg_p): New function. (trad_frame_addr_p, trad_frame_value_p): New function. (trad_frame_set_unknown): New function. (trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero. (trad_frame_prev_register): Use trad_frame_realreg_p, trad_frame_addr_p and trad_frame_value_p. (trad_frame_set_value): Rename trad_frame_register_value. * d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p and trad_frame_set_value.
2003-07-01Patch from IBM (authors unspecified, probably Ulrich Weigand andJim Blandy2-36/+74
Gerhard Tonn) for argument passing on the S/390 and S/390x: * s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space for 16 registers, and then 32 more bytes. (S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS): New macros. (is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially. Move up in the file, since it's now used by is_simple_arg. (is_simple_arg): Don't assume registers are four bytes long. Exclude all double arguments. Extended floats are not simple args. (is_power_of_two): New function. (pass_by_copy_ref): Call is_power_of_two, and check that the length fits in a register, rather than listing all the acceptable sizes. Extended floats are not passed by reference. (s390_push_arguments): Don't assume registers are four bytes long. Reserve an argument register to point to the buffer for structures returned by value. Use S390_NUM_FP_PARAMETER_REGISTERS and S390_STACK_FRAME_OVERHEAD.
2003-07-01*** empty log message ***gdbadmin1-1/+1
2003-06-30 * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, toAndreas Schwab2-1/+6
format error message.
2003-06-30 * sparc-tdep.c (stop_after_trap): Remove declaration, not used.Joel Brobecker2-3/+4
2003-06-30Fix indentation of previous commit.David Carlton1-1/+1
2003-06-302003-06-30 David Carlton <carlton@kealia.com>David Carlton5-14/+98
Band-aid for PR c++/1245. * Makefile.in (cp-support.o): Depend on complaints_h. * cp-support.c: Include complaints.h. Add declaration for find_last_component. (cp_find_first_component): Separate code into cp_find_first_component_aux. (cp_find_first_component_aux): Call demangled_name_complaint. (demangled_name_complaint): New. 2003-06-30 David Carlton <carlton@kealia.com> * gdb.c++/maint.exp (test_invalid_name): New. (test_first_component): Add tests for invalid names.
2003-06-302003-06-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-19/+32
* remote.c (remote_write_bytes): Explicitly compute and then use the payload size. Update comments to reflect. Fixes problem of GDB not sending small packets as found by Fred Fish.
2003-06-302003-06-30 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* remote.c (remote_async_wait): Fix -Wformat problem.
2003-06-302003-06-29 Michael Chastain <mec@shout.net>Michael Chastain2-0/+27
* gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb output of '<VTT for class>' for virtual base classes.
2003-06-30*** empty log message ***gdbadmin1-1/+1
2003-06-292003-06-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-23/+18
* remote.c (remote_wait): Call error, and not warning, when the packet is corrupt. (remote_async_wait): Ditto.
2003-06-29 * sparc-tdep.c (sparc_y_regnum): Make external again.Daniel Jacobowitz2-1/+5
2003-06-29 * gdb.base/completion.exp: Tab-complete "complet" instead ofDaniel Jacobowitz4-8/+126
"compl". * gdb.base/complex.exp, gdb.base/complex.c: New files.
2003-06-29 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.Daniel Jacobowitz3-3/+24
* gdb.base/volatile.exp: Likewise.
2003-06-29 * cli/cli-logging.c (pop_output_files): Add void to functionDaniel Jacobowitz2-1/+6
definition.
2003-06-29 * gdb.threads/print-threads.exp (test_all_threads): Add kfail forDaniel Jacobowitz2-1/+13
gdb/1265.
2003-06-292003-06-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* frame.c (frame_register_unwind): Use unsigned char when dumping the buffer contents.
2003-06-29 * configure.in: Check whether we need to prototype strerror.Daniel Jacobowitz8-39/+104
* server.h: Optionally prototype strerror. * gdbreplay.c (perror_with_name): Use strerror. * linux-low.c (linux_attach_lwp): Use strerror. * utils.c (perror_with_name): Use strerror. * config.in, configure: Regenerated.
2003-06-29*** empty log message ***gdbadmin1-1/+1
2003-06-28 * linux-sh-low.c (sh_regmap): Fix FP register offsets, reported byDaniel Jacobowitz2-5/+10
SUGIOKA Toshinobu <sugioka@itonet.co.jp>.
2003-06-28 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximumDaniel Jacobowitz2-2/+31
initial line count of 'captured_main' from 26 to 32. (test_with_self): Allow xmalloc call to be interleaved with the preceding two lines.
2003-06-28./Daniel Jacobowitz13-1/+316
* cli/cli-logging.c: New file. * cli-out.c (struct ui_out_data): Add original_stream. (cli_redirect): New function. (cli_ui_out_impl): Add cli_redirect. (cli_out_new): Initialize original_stream. * ui-out.c (default_ui_out_impl): Add NULL for redirect member. (uo_redirect, ui_out_redirect): New. * ui-out.h (struct ui_out_impl): Add redirect member. (redirect_ftype): New. (ui_out_redirect): Add prototype. * Makefile.in: Add rules for cli-logging.c. * NEWS: Mention "set logging". mi/ * mi-out.c (mi_ui_out_impl): Add NULL for redirect member. tui/ * tui-out.c (tui_ui_out_impl): Add NULL for redirect member. doc/ * gdb.texinfo (Logging output): New chapter.
2003-06-28*** empty log message ***gdbadmin1-1/+1
2003-06-272003-06-27 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+5
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o.