summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* * win32-nat.c (psapi_module_handle): Remove static.Christopher Faylor2008-01-012-80/+107
| | | | | | | | | | (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to return first module found if base_address is zero. Don't initialize psapi function pointers here. Convert to cygwin paths when appropriate. (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine executable name. Use get_module_name when that fails or when !__CYGWIN__. (_initialize_psapi): New function. Initialize psapi stuff before it is needed or issue a warning if it is not found. Move psapi_module_handle here.
* * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,Joel Brobecker2008-01-015-0/+128
| | | | | gdb.ada/fun_in_declare/foo.adb: New files. * gdb.ada/fun_in_declare.exp: New testcase.
* * ada-lang.c (ada_remove_trailing_digits): New function.Joel Brobecker2008-01-012-46/+116
| | | | | | | (ada_remove_po_subprogram_suffix): New function. (ada_decode): Improve. Move the description of the algorithm directly inside the code, instead of in the function global description.
* * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,Joel Brobecker2008-01-015-0/+128
| | | | | gdb.ada/ref_param/pck.ads: New files. * gdb.ada/ref_param.exp: New testcase.
* * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_refJoel Brobecker2008-01-012-25/+33
| | | | and always print the dereferenced value.
* * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handlingJoel Brobecker2008-01-012-2/+20
| | | | | of the case where the first argument is a reference. (ada_evaluate_subexp, case BINOP_ADD): Likewise.
* * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,Joel Brobecker2008-01-015-0/+150
| | | | | gdb.ada/interface/foo.adb: New files. * gdb.ada/interface.exp: New testcase.
* Implement support for Ada interface types.Joel Brobecker2008-01-012-6/+50
| | | | | | * ada-lang.c (ada_is_dispatch_table_ptr_type): New function. (ada_is_ignored_field): Ignore fields that are a dispatch table of a tagged type.
* * top.c (print_gdb_version): Update copyright year.Joel Brobecker2008-01-012-1/+5
|
* * ChangeLog-2007: New ChangeLog rotation.Joel Brobecker2008-01-013-10617/+10635
| | | | | | * ChangeLog: Reset for 2008. * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and ChangeLog-2007.
* *** empty log message ***gdbadmin2008-01-011-1/+1
|
* * gdb.base/multi-forks.exp: Consume all output from childJim Blandy2007-12-312-4/+45
| | | | processes before proceeding to next test.
* * remote.c (unpack_nibble): Use fromhex.Daniel Jacobowitz2007-12-313-3/+8
| | | | * symtab.c (find_line_common): Always set exact_match.
* * hppa-linux-nat.c: Use hppa-linux-offsets.h.Daniel Jacobowitz2007-12-313-5/+110
| | | | * hppa-linux-offsets.h: New file.
* *** empty log message ***gdbadmin2007-12-311-1/+1
|
* * configure.tgt (*-*-mingw32ce*): Set gdb_osabi toPedro Alves2007-12-302-0/+9
| | | | | GDB_OSABI_WINCE. (*-*-mingw* | *-*-cygwin*): Set gdb_osabi to GDB_OSABI_CYGWIN.
* *** empty log message ***gdbadmin2007-12-301-1/+1
|
* * i386nbsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h"Mark Kettenis2007-12-294-114/+221
| | | | | | | | | | | | | | (sigtramp_retcode, i386nbsd_sigtramp_offset, i386nbsd_sigtramp_p): Remove (i386nbsd_mc_reg_offset): New array. (i386nbsd_sigtramp_cache_init): New function. (i386nbsd_sigtramp_sc16, i386nbsd_sigtramp_sc2, i386nbsd_sigtramp_si2) (i386nbsd_sigtramp_si31, i386nbsd_sigtramp_si4): New signal trampoline frame descriptions. (i386nbsd_init_abi): Override ABI sigcontext defaults and register new signal frame unwinders * Makefile.in (i386nbsd-tdep.o): Update dependencies. * tramp-frame.h (struct tramp_frame): Allow for 48 instructions
* * configure: Regenerated.Jim Blandy2007-12-292-1/+7
|
* * ada-lang.c (_initialize_ada_language): Attach executable_changedJoel Brobecker2007-12-292-0/+7
| | | | observer.
* *** empty log message ***gdbadmin2007-12-291-1/+1
|
* * ada-lang.c (ada_evaluate_subexp): Break two large expressionsJoel Brobecker2007-12-282-10/+21
| | | | using temporary variables.
* * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,Joel Brobecker2007-12-285-0/+132
| | | | | gdb.ada/fixed_cmp/fixed.adb: New files. * gdb.ada/fixed_cmp.exp: New testcase.
* * ada-lang.c (ada_value_cast): New function, extracted out fromJoel Brobecker2007-12-282-25/+44
| | | | | | | | | the code in ada_evaluate_subexp, case UNOP_CAST. The code handling the obscure case has been removed as we think that it is actually unnecessary. (ada_evaluate_subexp): Add type case when evaluating an OP_DOUBLE or an OP_LONG with a non-null expect_type. Replace extracted-out code with call to new ada_value_cast function.
* * gdb.ada/boolean_expr.exp: New testcase.Joel Brobecker2007-12-282-0/+46
|
* * ada-lang.c (ada_evaluate_subexp): Add cases for BINOP_LOGICAL_AND,Joel Brobecker2007-12-283-0/+27
| | | | | | BINOP_LOGICAL_OR, UNOP_LOGICAL_NOT, BINOP_BITWISE_IOR, BINOP_BITWISE_XOR, BINOP_BITWISE_AND. * language.c (lang_bool_type): Add Ada case.
* *** empty log message ***gdbadmin2007-12-281-1/+1
|
* *** empty log message ***gdbadmin2007-12-271-1/+1
|
* * gdb.base/multi-forks.exp: Doc fix.Jim Blandy2007-12-262-3/+12
|
* * gdb.ada/Makefile.in (EXECUTABLES): Update list.Joel Brobecker2007-12-264-5/+23
| | | | | | * gdb.ada/char_param.exp: Do not compile our test program with -gnata, this is unnecessary. * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
* * dwarf2read.c (read_base_type): Fix obvious &&/|| confusion.Joel Brobecker2007-12-262-2/+6
|
* * dwarf2-frame.c (execute_cfa_program): Call dwarf2_restore_ruleLuis Machado2007-12-262-20/+39
| | | | | | function to handle required actions for the DW_CFA_restore and DW_CFA_restore_extended instructions. (dwarf2_restore_rule): New function.
* *** empty log message ***gdbadmin2007-12-261-1/+1
|
* *** empty log message ***gdbadmin2007-12-251-1/+1
|
* * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,Joel Brobecker2007-12-245-0/+115
| | | | | gdb.ada/print_chars/foo.adb: New files. * gdb.ada/print_chars.exp: New testcase.
* * ada-lang.c (ada_is_character_type): Add recognition of typeJoel Brobecker2007-12-242-0/+6
| | | | "Wide_Wide_Character".
* * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,Joel Brobecker2007-12-245-0/+160
| | | | | gdb.ada/char_param/foo.adb: New files. * gdb.ada/char_param.exp: New testcase.
* * dwarf2read.c (read_base_type): Set code to TYPE_CODE_CHARJoel Brobecker2007-12-243-11/+25
| | | | | | for char and unsigned char types of Ada compilation units. * ada-lang.c (ada_is_character_type): Always return true if the type code is TYPE_CODE_CHAR.
* *** empty log message ***gdbadmin2007-12-241-1/+1
|
* * infrun.c (handle_inferior_event): Remove code that made usJoel Brobecker2007-12-232-14/+5
| | | | stop when stepping into the last line of the current function.
* *** empty log message ***gdbadmin2007-12-231-1/+1
|
* 2007-12-22 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2007-12-222-7/+17
| | | | | | * win32-nat.c: Fix PR/2388. (do_win32_fetch_inferior_registers): Do not overwrite debug register array dr if debug_registers_changed variable is set.
* * dwarf2read.c (scan_partial_symbols partial_die_parent_scope)Jan Kratochvil2007-12-222-0/+18
| | | | | | | (add_partial_symbol, pdi_needs_namespace, process_die) (is_type_tag_for_partial, load_partial_dies, new_symbol) (read_type_die, determine_prefix): Extend the current code of `DW_TAG_class_type' also for `DW_TAG_interface_type'.
* * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead ofJim Blandy2007-12-224-13/+38
| | | | | | hard-coding source line numbers into the test. * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for gdb_get_line_number to find.
* * gdb.base/ptype.c (highest): New struct type.Joel Brobecker2007-12-223-0/+35
| | | | | | (the_highest): New variable of that type. (main): Add dummy assignment to a field of variable the_highest. * gdb.base/ptype.exp: Test type printing of our new variable.
* *** empty log message ***gdbadmin2007-12-221-1/+1
|
* * linux-low.c (STACK_SIZE): Define.Andreas Schwab2007-12-212-4/+23
| | | | | (linux_tracefork_child): Use it. Use __clone2 on ia64. (linux_test_for_tracefork): Likewise.
* * ada-lang.h (ada_renaming_category): New enumerated type.Joel Brobecker2007-12-214-208/+475
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (ada_lookup_encoded_symbol): Declare. (ada_parse_renaming): Declare. (ada_renaming_type,ada_is_object_renaming) (ada_simple_renamed_entity): Delete declarations. * ada-lang.c (ada_parse_renaming): New function to concentrate extraction of information from renaming symbols. (parse_old_style_renaming): New function to concentrate extraction of old-style (purely type-based) renaming information. (renaming_is_visible): Rename to... (old_renaming_is_invisible): Rename and change sense of renaming_is_visible. (remove_out_of_scope_renamings): Rename to... (remove_irrelevant_renamings): Renames remove_out_of_scope_renamings and augments with additional logic to handle cases where the same object renaming is encoded both as a reference variable and an encoded renaming. (ada_renaming_type,ada_is_object_renaming) (ada_simple_renamed_entity): Delete definitions. (ada_lookup_encoded_symbol): New function factored out of ada_lookup_symbol. (ada_lookup_symbol): Reimplement to call ada_lookup_encoded_symbol. (wild_match): Don't reject perfect match of prefix. (ada_find_renaming_symbol): Factor old-style renaming logic into find_old_style_renaming_symbol. (find_old_style_renaming_symbol): New name for content of old ada_find_renaming_symbol. (ada_prefer_type): Reimplement not to use ada_renaming_type. * ada-exp.y (write_object_renaming): Change interface. Reimplement to use new arguments and ada_parse_renaming. Correct blocks used to find array index. (write_var_or_type): Reimplement to use ada_parse_renaming.
* Minor reformatting.Joel Brobecker2007-12-211-1/+1
|
* * tui/tui-data.h (MAX_LOCATOR_ELEMENT_LEN): Defined to a biggerJoel Brobecker2007-12-212-2/+10
| | | | value or to PATH_MAX when possible.