gdbadmin
464f5c14b7
*** empty log message ***
2008-02-07 00:00:03 +00:00
Pierre Muller
b1c32d3564
* gdb.pascal/floats.pas: New test program.
...
* gdb.pascal/floats.exp: New testcase.
2008-02-06 22:24:43 +00:00
Pierre Muller
4ae0885ab1
* p-exp.y: Set current_type in missing places.
...
(leftdiv_is_integer): New static variable.
Typecast right operand of BINOP_DIV to long_double if both operands
are integers.
2008-02-06 22:21:38 +00:00
Maciej W. Rozycki
06b1d59cd6
* remote-mips.c (set_breakpoint): Rename to...
...
(mips_set_breakpoint): ... this.
(clear_breakpoint): Rename to...
(mips_clear_breakpoint): ... this.
(common_breakpoint): Rename to...
(mips_common_breakpoint): ... this.
(check_lsi_error): Rename to...
(mips_check_lsi_error): ... this.
2008-02-06 09:37:56 +00:00
Thiago Jung Bauermann
1a4ca44aeb
* gdb.base/callfuncs.c (t_float_many_args): New function.
...
(t_double_many_args): New function.
* gdb.base/callfuncs.exp: Add tests for exceeding float
and double parameters passed through the stack.
2008-02-06 03:54:12 +00:00
gdbadmin
e5c4eb7a6c
*** empty log message ***
2008-02-06 00:00:33 +00:00
Joel Brobecker
439048e8fe
* gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
...
gdb.ada/complete/foo.adb: New files.
* gdb.ada/complete.exp: New testcase.
2008-02-05 22:20:51 +00:00
Joel Brobecker
41d27058f2
* language.h (struct language_defn): Add new field
...
la_make_symbol_completion_list.
* symtab.c (default_make_symbol_completion_list): Renames
make_symbol_completion_list.
(make_symbol_completion_list): New function.
* symtab.h (default_make_symbol_completion_list): Add declaration.
* langauge.c (unknown_language): Set la_make_symbol_completion_list.
(auto_language, local_language): Likewise.
* objc-lang.c (objc_language_defn): Likewise.
* scm-lang.c (scm_language_defn): Likewise.
* m2-lang.c (m2_language_defn): Likewise.
* f-lang.c (f_language_defn): Likewise.
* jv-lang.c (java_language_defn): Likewise.
* p-lang.c (pascal_language_defn): Likewise.
* c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
(minimal_language_defn): Likewise.
* ada-lang.c (struct string_vector): New structure.
(new_string_vector, string_vector_append, ada_unqualified_name)
(add_angle_brackets, symbol_completion_match, symbol_completion_add)
(ada_make_symbol_completion_list): New functions.
(ada_language_defn): Set la_make_symbol_completion_list.
* ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
this function is static.
2008-02-05 22:17:41 +00:00
Kevin Buettner
ee3a2f014e
* mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
...
to account for call site optimizations.
2008-02-05 16:20:20 +00:00
Jim Blandy
d844e34bca
2008-02-05 Andrzej Zaborowski <balrogg@gmail.com>
...
* tracepoint.c (read_actions): Handle end-of-text indicator
in action list properly. (Committed by Jim Blandy)
2008-02-05 16:05:56 +00:00
Jim Blandy
85ecb32b7a
Fix changelog entry.
2008-02-05 15:56:32 +00:00
Jim Blandy
02e4669d27
* ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
...
pseudoregister, not an internal error.
2008-02-05 15:54:34 +00:00
gdbadmin
2399638e51
*** empty log message ***
2008-02-05 00:00:02 +00:00
Vladimir Prus
c39c82565f
* varobj.c (c_value_of_variable): Use xstrdup.
2008-02-04 07:49:04 +00:00
Vladimir Prus
ae7d22a6f2
Update stored rendition of varobj value when format changes.
...
* varobj.c (varobj_set_display_format): Recomputed
print_value.
(c_value_of_variable): Return print_value.
2008-02-04 06:14:20 +00:00
Doug Evans
301f0ecf99
* eval.c (evaluate_subexp_standard): Fix type of result of mixed
...
integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
* valops.c (value_one): New function.
* value.h (value_one): Declare.
Fix argument promotion for binary arithmetic ops for C.
* valarith.c (unop_result_type): New fn.
(binop_result_type): New fn.
(value_binop): Move result type computation to binop_result_type.
(value_pos, value_neg, value_complement): Move result type
computation to unop_result_type.
* gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
2008-02-04 00:23:05 +00:00
gdbadmin
ce43ce4475
*** empty log message ***
2008-02-04 00:00:32 +00:00
Doug Evans
dccca035f0
add copyright
2008-02-03 22:17:05 +00:00
Doug Evans
81fe80802c
PR 2384
...
* gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
Return basetype, fieldno if found. All callers updated.
Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
objfile.
* gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
* symfile.h (fill_in_vptr_fieldno): Delete.
* gdb.cp/gdb2384.exp: New file.
* gdb.cp/gdb2384.cc: New file.
* gdb.cp/gdb2384-base.h: New file.
* gdb.cp/gdb2384-base.cc: New file.
2008-02-03 22:13:30 +00:00
Jim Blandy
cda4ce5a10
* gdb.texinfo (Help): Summarize 'info args' correctly.
2008-02-03 18:55:27 +00:00
Doug Evans
f8597ac33d
* valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
2008-02-03 01:51:04 +00:00
Doug Evans
41808ebe9d
* typeprint.c (*): Whitespace cleanup.
2008-02-03 01:02:47 +00:00
Doug Evans
4b071aec13
* gdb.base/sigall.c (main): Ensure all signals aren't blocked.
2008-02-03 00:42:55 +00:00
gdbadmin
ae712b4271
*** empty log message ***
2008-02-03 00:00:03 +00:00
Mark Kettenis
f964a7562a
Luis Machado <luisgpm@br.ibm.com>
...
Thiago Jung Bauermann <bauerman@br.ibm.com>
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
don't fit into registerson the stack the way GCC does.
2008-02-02 00:07:57 +00:00
gdbadmin
3709d2edc8
*** empty log message ***
2008-02-02 00:00:05 +00:00
Joel Brobecker
61137ba64b
* gdb.ada/sym_print_name: New test program.
...
* gdb.ada/sym_print_name.exp: New testcase.
2008-02-01 23:15:36 +00:00
Joel Brobecker
b06ead72a9
* symtab.c (symbol_set_names): Do not add an entry in the demangling
...
hash table for Ada symbols. Just store the linkage name as is,
and leave the demangled_name as NULL.
2008-02-01 23:12:23 +00:00
Joel Brobecker
51ba8a62ab
* gdb.ada/nested/hello.adb: New file.
...
* gdb.ada/nested.exp: New testcase.
* gdb.ada/Makefile.in (EXECUTABLES): Update list.
2008-02-01 22:48:16 +00:00
Joel Brobecker
2cfa0c8ddf
* dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
...
in the global scope.
(new_symbol): Likewise.
2008-02-01 22:45:13 +00:00
Vladimir Prus
98deb0daae
* breakpoint.c (break_command_1): Return void.
...
(break_command_really): Return void. Rethrow
exceptions instead of returning.
(gdb_breakpoint): Remove the error_message parameter.
Return void. Rename to set_breakpoint.
* gdb.h (gdb_breakpoint): Rename and move to...
* breakpoint.h (set_breakpoint): ...here.
* mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
event hooks even if exception is thrown. Adjust to
gdb_breakpoint interface changes.
2008-02-01 16:24:47 +00:00
Thiago Jung Bauermann
ce0451adac
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
...
float in both first and second word in the doubleword, to support
old and new ABIs.
2008-02-01 15:04:18 +00:00
Vladimir Prus
723a227560
Properly rethrow exception. This fixes errors
...
about non-existent functions for -break-insert.
* breakpoint.c (break_command_really): Use throw_exception
for rethrowing. If rethrowing, don't print the exception.
2008-02-01 06:47:20 +00:00
Pedro Alves
59a016f09f
* hostio.c: Don't include errno.h.
...
(errno_to_fileio_errno): Move to hostio-errno.
* hostio.c: (hostio_error): Remove the error parameter. Defer the
error number outputting to the target->hostio_last_error callback.
(hostio_packet_error): Use FILEIO_EINVAL directly.
(handle_open, handle_pread, hostio_error, handle_unlink): Update
calls to hostio_error.
* hostio-errno.c: New.
* server.h (hostio_last_error_from_errno): Declare.
* target.h (target_ops): Add hostio_last_error member.
* linux-low.c (linux_target_op): Register hostio_last_error_from_errno
as hostio_last_error handler.
* spu-low.c (spu_target_ops): Likewise.
* win32-low.c [_WIN32_WCE] (win32_error_to_fileio_error)
(wince_hostio_last_error): New functions.
(win32_target_ops) [_WIN32_WCE]: Register wince_hostio_last_error
as hostio_last_error handler.
(win32_target_ops) [!_WIN32_WCE]: Register
hostio_last_error_from_errno as hostio_last_error handler.
* Makefile.in (SFILES): Add hostio.c and hostio-errno.c.
(hostio-errno.o): New rule.
* configure.ac (GDBSERVER_DEPFILES): Add $srv_hostio_err_objs.
* configure.srv (srv_hostio_err_objs): New variable. Default to
hostio-errno.o.
(arm*-*-mingw32ce*): Set srv_hostio_err_objs to "".
* configure: Regenerate.
2008-02-01 00:08:25 +00:00
gdbadmin
a279d1ff82
*** empty log message ***
2008-02-01 00:00:03 +00:00
Thiago Jung Bauermann
d64a946d86
* NEWS: Mention Decimal Floating Point support.
2008-01-31 21:07:37 +00:00
Joel Brobecker
02b156f50c
* std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
...
value type to builtin_type_void_func_ptr.
2008-01-31 20:03:38 +00:00
Luis Machado
fb546a2f2e
* gdb.arch/ppc64-atomic-inst.c: New testcase source file.
...
* gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
2008-01-31 16:00:25 +00:00
Ulrich Weigand
a16b8bcdf9
2008-01-31 Andreas Krebbel <krebbel1@de.ibm.com>
...
* s390-tdep.c (is_float_singleton, is_float_like,
alignment_of, s390_return_value): Make checks for
TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
2008-01-31 15:43:32 +00:00
Pierre Muller
2d8fd90a9c
* gdb.pascal/integers.pas: New test program.
...
* gdb.pascal/integers.exp: New testcase.
2008-01-31 14:49:23 +00:00
Pierre Muller
a7fa0dedad
* gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
2008-01-31 14:46:21 +00:00
Thiago Jung Bauermann
5e1a19265c
2008-01-30 Luis Machado <luisgpm@br.ibm.com>
...
* gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
* gdb.arch/powerpc-d128-regs.c: New testcase source file.
2008-01-31 13:41:38 +00:00
Thiago Jung Bauermann
4acd40f3d3
* gdb.texinfo: (Decimal Floating Point): Mention pseudo-registers
...
available in PowerPC architecture.
(Embedded Processors): Change node name of PowerPC item in menu.
(PowerPC): Rename to...
(PowerPC Embedded): this.
(Architectures): Add new PowerPC item in menu.
(PowerPC): New node.
2008-01-31 13:38:49 +00:00
Thiago Jung Bauermann
f949c6497f
2008-01-30 Luis Machado <luisgpm@br.ibm.com>
...
Thiago Jung Bauermann <bauerman@br.ibm.com>
* infcmd.c (default_print_registers_info): Also print hex
raw contents for TYPE_CODE_DECFLOAT registers.
* ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
* rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
(rs6000_register_name): Add support for DFP pseudo-registers.
(rs6000_pseudo_register_type): Likewise.
rs6000_pseudo_register_reggroup_p): Likewise.
(ppc_pseudo_register_read): New function.
(ppc_pseudo_register_write): Likewise.
(rs6000_pseudo_register_read): Likewise.
(rs6000_pseudo_register_write): Likewise.
(e500_pseudo_register_read): Move checks to
rs6000_pseudo_register_read.
(e500_pseudo_register_write): Move checks to
rs6000_pseudo_register_write.
(rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install
rs6000_pseudo_register_read and rs6000_pseudo_register_write
in gdbarch if SPE or DFP is available. Adjust gdbarch's
num_pseudo_regs to account for DFP pseudo regs.
2008-01-31 13:37:21 +00:00
Thiago Jung Bauermann
5a9e69ba86
* ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
...
* rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
(spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
e500_pseudo_register_read, e500_pseudo_register_write): Use
IS_SPE_PSEUDOREG macro.
(rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
(rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
Remove initialization of tdep->ppc_ev31_regnum.
2008-01-31 13:22:40 +00:00
gdbadmin
8d8394d7a5
*** empty log message ***
2008-01-31 00:00:02 +00:00
Joel Brobecker
8d04f9f0c8
* gdb.ada/formatted_ref: New test program.
...
* gdb.ada/formatted_ref.exp: New testcase.
* gdb.cp/formatted-ref.cc: New file.
* gdb.cp/formatted-ref.exp: New testcase.
2008-01-30 19:23:26 +00:00
Joel Brobecker
4e885b20aa
* printcmd.c (print_formatted): Handle references as for unformatted
...
prints.
2008-01-30 19:19:51 +00:00
Joel Brobecker
ce75a98f14
* gdb.base/ptype.exp: Add testing of "ptype $pc".
2008-01-30 18:48:07 +00:00
Joel Brobecker
80f064a256
* eval.c (evaluate_subexp_standard): Add handling of user
...
registers when in EVAL_AVOID_SIDE_EFFECTS mode.
2008-01-30 18:46:08 +00:00