summaryrefslogtreecommitdiffstats
path: root/gdb/dwarf2read.c
Commit message (Collapse)AuthorAgeFilesLines
* * dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.Jim Blandy2001-07-051-0/+13
|
* * dwarf2read.c (struct partial_die_info): New member: has_pc_info.Jim Blandy2001-07-041-13/+9
| | | | | | | | (read_partial_die): Delete fourth argument; we return this info in the struct partial_die_info object itself now. (dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the has_pc_info field of the partial die struct, rather than passing a variable by reference to read_partial_die.
* * dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneousJim Blandy2001-07-041-2/+1
| | | | | | | code in loop condition. This seemed to be trying to round info_ptr up to the next four-byte boundary, but that's not what it actually did. If we discover the problem the old code was really trying to address, we can fix it properly.
* * dwarf2read.c (read_comp_unit, sibling_die, dump_die,Jim Blandy2001-07-021-12/+13
| | | | | dump_die_list, store_in_ref_table, follow_die_ref): Make these static; they're private functions.
* * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.Per Bothner2001-06-081-0/+3
|
* * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.Eli Zaretskii2001-04-301-2/+3
| | | | | | | | (top-level): #include filenames.h. * dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and FILENAME_CMP, to DTRT on non-Posix platforms. (top-level): #include filenames.h.
* Update/correct copyright notices.Kevin Buettner2001-03-061-1/+1
|
* Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney2001-02-081-5/+10
| | | | internal_verror().
* * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):Jim Blandy2001-01-241-4/+8
| | | | Implement these correctly, using make_cv_type.
* Replace free() with xfree().Kevin Buettner2000-12-151-9/+9
|
* 2000-12-08 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-081-2/+10
| | | | | | | * dwarf2read.c (DWARF2_REG_TO_REGNUM): New macro. Provide default definition. Will be used to translate between the compiler's register numbering and GDB's (for register variables etc). (new_symbol): Use DWARF2_REG_TO_REGNUM to translate register ids.
* 2000-11-07 Daniel Berlin <dberlin@redhat.com>Daniel Berlin2000-11-081-39/+2
| | | | | * dwarf2read.c: Revert June 5th change for caching of types, as per Jim Blandy's request.
* In new_symbol(), relocate symbol address by base address of the sectionKevin Buettner2000-11-031-2/+8
| | | | it is in instead of using the base address of the .text section.
* Fix date in comment.Kevin Buettner2000-08-041-1/+1
|
* DWARF2.1 64-bit support.Kevin Buettner2000-08-041-17/+122
|
* Protoization.Kevin Buettner2000-07-301-143/+58
|
* * dwarf2read.c (read_structure_scope): Correct overzealousJim Blandy2000-07-241-1/+1
| | | | addition of cu_header argument.
* Eliminate global address_size. Replace with functionAndrew Cagney2000-07-241-283/+306
| | | | | | | read_comp_unit_head() and ``struct compu_unit_head'' parameter. Include support for signed address case. Fixes problem of global address size / sign being out-of-sync with with current section.
* From Richard Henderson <rth@cygnus.com>:Andrew Cagney2000-07-181-4/+6
| | | | | | * dwarf2read.c (dwarf2_empty_hash_tables): Renamed from dwarf2_empty_die_ref_table; zero dwarf2_cached_types as well. Update all callers.
* 2000-06-14 Jim Blandy <jimb@redhat.com>Jim Blandy2000-06-141-14/+15
| | | | | | | | | | | | | | | | | * dwarf2read.c (dump_die): Use the proper printf format for printing DW_UNSND values; they're longs now. * dwarf2read.c (dump_die): We can read DW_FORM_data8 now, on at least some platforms, so print it out too. 2000-06-14 James E. Wilson <wilson@bletchleypark.cygnus.com> * dwarf2read.c (struct attribute): Change unsnd and snd field types to long. (read_8_bytes): Change return type to long. (read_unsigned_leb128): Change return type to long. Change type of local result to long. Cast argument of left shift to long. (read_signed_leb128): Likewise.
* C++ improvementsDaniel Berlin2000-06-051-6/+43
|
* PARAMS removal.Kevin Buettner2000-05-281-110/+93
|
* Purge (almost) make_cleanup_func.Andrew Cagney2000-05-221-1/+16
|
* Fix typo in sign extension code in dwarf2_const_value_data().Kevin Buettner2000-05-131-1/+1
|
* * ax-gdb.c (agent_command): Remove now useless cast ofPhilippe De Muyter2000-04-261-11/+6
| | | | | | | | | | | | | | | | `free_current_contents' when passed to `make_cleanup'. * coffread.c (coff_symfile_read): Ditto. * dwarf2read.c (dwarf2_add_member_fn, read_array_type): Ditto. (dwarf_decode_lines): Ditto. * eval.c (parse_and_eval_address, parse_and_eval_address_1): Ditto. (parse_and_eval, parse_to_comma_and_eval): Ditto. * parse.c (parse_exp_1): Ditto. * printcmd.c (print_command_1, output_command, set_command): Ditto. (x_command, print_frame_args, printf_command): Ditto. * top.c (execute_control_command): Ditto. * tracepoint.c (validate_actionline): Ditto. * typeprint.c (whatis_exp, ptype_command): Ditto. (maintenance_print_type): Ditto.
* * dwarf2read.c: Revert Andrew Cagney's change of Dec 15, 1997.Jim Blandy2000-04-081-31/+2
| | | | | | | | | | | | Don't include "bfd-elf.h". (address_significant_size): Delete variable. (dwarf2_build_psymtabs_hard): Don't set it, or check for consistency between it and the Dwarf 2 compilation unit header address size. (read_address): Don't mask off bits above address_significant_size. * Makefile.in (dwarf2read.o): Don't depend on $(elf_bfd_h). (elf_bfd_h): Remove variable; it's no longer used.
* Read 2 byte (16 bit addresses) when needed.Andrew Cagney2000-02-291-0/+3
|
* From Jason Merrill: (die_is_declaration): New fn..Andrew Cagney2000-02-141-1/+10
|
* import gdb-2000-02-04 snapshotJason Molenda2000-02-051-0/+8
|
* import gdb-1999-10-11 snapshotJason Molenda1999-10-121-93/+63
|
* import gdb-1999-10-04 snapshotJason Molenda1999-10-051-4/+4
|
* import gdb-1999-09-21Jason Molenda1999-09-221-1/+7
|
* import gdb-1999-09-08 snapshotStan Shebs1999-09-091-17/+10
|
* import gdb-1999-08-09 snapshotJason Molenda1999-08-091-1/+1
|
* import gdb-1999-08-02 snapshotJason Molenda1999-08-021-1/+1
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-245/+250
|
* import gdb-19990422 snapshotStan Shebs1999-04-261-11/+55
|
* Initial creation of sourceware repositoryStan Shebs1999-04-161-0/+5865
|
* Initial creation of sourceware repositoryStan Shebs1999-04-161-5865/+0
|
* * dwarf2read.c (dump_die): Change stderr gdb_stderr.Stu Grossman1999-01-111-1/+1
| | | | | | | | | * expprint.c (print_subexp): fprintf => fprintf_unfiltered. * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered. * stack.c (struct function_bounds): Remove superfluous `typedef'. * symfile.c (list_overlays_command): stdout => gdb_stdout. * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout. * utils.c (print_spaces): Make more efficient.
* Start of HP merge changes to GDB.David Taylor1998-12-101-3/+3
|
* 1998-10-13 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda1998-10-141-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * blockframe.c (find_pc_sect_partial_function): Add braces to avoid possible nested-if confusion. * breakpoint.c (breakpoint_here_p): Ditto. (breakpoint_inserted_here_p): Ditto. (breakpoint_thread_match): Ditto. * gnu-regex.c: Define _REGEX_RE_COMP only if it isn't already defined. * gnu-regex.h: Define _REGEX_RE_COMP to pick up old compatability prototypes. * symtab.h: Add prototype for _initialize_source. * value.h: Add prototype for _initialize_value. * defs.h: Include sys/types.h or stddef.h to get size_t. (make_cleanup): Add make_cleanup_func typedef and switch to using a prototype for this function. (mfree): Add prototypes for mmalloc, mrealloc, mfree if we aren't using mmalloc. * ax-gdb.c breakpoint.c coffread.c corelow.c dbxread.c dwarf2read.c dwarfread.c elfread.c eval.c exec.c gdbtk-cmds.c gdbtk.c infcmd.c infrun.c mipsread.c nlmread.c os9kread.c parse.c printcmd.c symfile.c symmisc.c symtab.c thread.c top.c tracepoint.c typeprint.c valops.c: Cast parameters passed to make_cleanup to use the new make_cleanup_func typedef. More warning cleanups. There are still a bunch of places where the first argument to make_cleanup is not cast to (make_cleanup_func); these are either due to the function fitting the make_cleanup_func specification already (e.g. free()) or they are in files that weren't compiled when I did my make on a Linux native system. Bwahahaha. You can see them like this: grep make_cleanup\ * | grep -v make_cleanup_func I'll surely go back and clean up the remaining suspicious calls in GDB one of these days. :-)
* * dwarf2read.c (dwarf2_build_psymtabs_hard): Do not adjust thePeter Schauer1998-10-111-8/+10
| | | | | | | address range of a compilation unit without children. * mdebugread.c (parse_partial_symbols): Fix handling of stabs continuations, use xmalloc and xrealloc.
* Modifications/fixes to support the ARM/ELF port.Zdenek Radouch1998-09-011-6/+6
|
* * dwarf2read.c (read_subroutine_type): Set TYPE_FLAG_PROTOTYPEDPeter Schauer1998-05-231-2/+5
| | | | | | | | | on C++ functions. * valops.c (value_arg_coerce): Add new argument to indicate whether the function has a prototype, handle integer and float promotions accordingly. (call_function_by_hand): Always call value_arg_coerce, pass down prototype information.
* * config/sparc/tm-sp64.h (CALL_DUMMY): Store and retrieveBob Manson1998-05-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | %o0-%o5 as 64-bit values; compensate for stack bias. (USE_STRUCT_CONVENTION): We only pass pointers to structs if they're larger than 32 bytes. (REG_STRUCT_HAS_ADDR): Ditto. * sparc-tdep.c (sparc_init_extra_frame_info): Use read_sp() instead of read_register. If the target is a sparc64 and the frame pointer is odd, compensate for the stack bias. (get_saved_register): Use read_sp(). (DUMMY_STACK_REG_BUF_SIZE): Use FP_REGISTER_BYTES. (sparc_push_dummy_frame): Use read_sp()/write_sp(). On sparc64, save the PC, NPC, CCR, FSR, FPRS, Y and ASI registers. (sparc_frame_find_saved_regs): Use read_sp(). Read the PC, NPC, CCR, FSR, FPRS, Y and ASI registers from the frame, if it's a dummy frame. (sparc_pop_frame): Use write_sp(). If the target is a sparc64 and the FP is odd, compensate for stack bias. (sparc_store_return_value): Right-justify the return value before writing it to %o0. (sparc_fix_call_dummy): Don't NOP out part of the call dummy on sparc64. (sparc64_read_sp, sparc64_read_fp, sparc64_write_sp, sparc64_write_fp, sp64_push_arguments, sparc64_extract_return_value): New functions to support the sparc64 ABI. * dwarfread.c (handle_producer): Set processing_gcc_compilation to the right version number. * dwarf2read.c (read_file_scope): Assume we're processing GCC2 output.
* Suggested by Chris Walter <walter@budoe.bu.edu>:Stan Shebs1998-01-281-7/+5
| | | | | | * dwarfread.c (set_cu_language): Recognize Fortran. * dwarf2read.c (set_cu_language): Ditto. (read_array_type): Fix language test.
* (Mostly from Gavin Koch)Andrew Cagney1997-12-151-5/+40
| | | | | | | | In dwarf2read.c, if the ABI is 32 bit and 64 bit addresses are encountered discard the most significant 32 bits. Use CORE_ADDR for address variables instead of long. Add more explicit tx49 configur target. Check/use sigaction/SA_RESTART in remote-sim.c
* (CVS is doing wierd things)Andrew Cagney1997-12-101-3/+7
| | | | | Re-checkin fixes to code verifying dwarf debug info CU headers before using it.
* * dwarf2read.c (dwarf2_build_psymtabs_hard): Check cu_header.length isAndrew Cagney1997-12-101-2/+3
| | | | within dwarf_info_buffer not dwarf_abbrev_buffer.
OpenPOWER on IntegriCloud