Jim Wilson
c955f9cdcb
Fix addr2line -i problem; reports incorrect function nesting for inline funcs.
...
* dwarf2.c (struct funcinfo): Delete nesting_level field.
(lookup_address_in_function_table): Delete code to set funcinfo
caller_func field. Delete local curr_func.
(scan_unit_for_symbols): New locals nested_funcs, nested_funcs_size.
Delete code setting funcinfo nesting_level field. Add code to set
funcinfo caller_func field.
2005-09-22 19:50:27 +00:00
Alan Modra
82b19eb91f
daily update
2005-09-22 00:00:07 +00:00
gdbadmin
016ab8f2ba
*** empty log message ***
2005-09-22 00:00:03 +00:00
Mark Kettenis
2244f67142
* mips-tdep.c (n32n64_floatformat_always_valid): Use 'const void
...
*' for second argument instead of 'const char *'.
2005-09-21 20:45:46 +00:00
Alan Modra
69444d9f14
* gas/lns/lns.exp (lns-common-1): Don't run on targets without
...
a bare nop insn.
2005-09-21 06:55:49 +00:00
Alan Modra
66bd02d33d
* read.c (pseudo_set): Don't set undefined symbols to expr_section.
2005-09-21 00:12:19 +00:00
Alan Modra
f907fdb111
daily update
2005-09-21 00:00:06 +00:00
gdbadmin
098ec4a190
*** empty log message ***
2005-09-21 00:00:04 +00:00
Paul Gilliam
1260befad1
2005-09-20 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.arch/altivec-abi.exp: Elide the 'in' from what's expected
after a 'finish' command.
2005-09-20 23:40:51 +00:00
Richard Henderson
fead5cd91c
* dwarf2dbg.c (process_entries): Fix uninitialized variable warning.
2005-09-20 21:00:15 +00:00
Richard Henderson
07a53e5cdb
* dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs
...
with label.
(dwarf2_loc_mark_labels): New.
(dwarf2_gen_line_info_1): Split out of ...
(dwarf2_gen_line_info): ... here. Create the temp symbol here.
(dwarf2_emit_label): New.
(dwarf2_directive_loc_mark_labels): New.
(out_set_addr): Take a symbol instead of frag+ofs.
(relax_inc_line_addr): Likewise.
(emit_inc_line_addr): Assert delta non-negative.
(process_entries): Remove dead code. Update to work with temp
symbols instead of frag+ofs.
* dwarf2dbg.h (dwarf2_directive_loc_mark_labels): Declare.
(dwarf2_emit_label, dwarf2_loc_mark_labels): Declare.
* config/obj-elf.c (elf_pseudo_tab): Add loc_mark_labels.
* config/obj-elf.h (obj_frob_label): New.
* config/tc-alpha.c (alpha_define_label): Call dwarf2_emit_label.
* config/tc-arm.c, config/tc-hppa.c, config/tc-m68k.c,
config/tc-mips.c, config/tc-ppc.c, config/tc-sh.c, config/tc-xtensa.c:
Similarly in the respective tc_frob_label implementation functions.
* config/tc-i386.c (md_pseudo_table): Move file and loc to
non-elf section; add loc_mark_labels.
* config/tc-ia64.c (struct label_fix): Add dw2_mark_labels.
(ia64_flush_insns): Check for marked labels; emit line entry if so.
(emit_one_bundle): Similarly.
(ia64_frob_label): Record marked labels.
* config/tc-m68hc11.h (tc_frob_label): Remove.
* config/tc-ms1.c (md_pseudo_table): Remove file and loc.
* config/tc-sh.h (tc_frob_label): Pass sym to sh_frob_label.
* config/tc-sh64.h (tc_frob_label): Likewise.
* doc/as.texinfo (LNS directives): Docuement .loc_mark_blocks.
2005-09-20 18:24:48 +00:00
Jim Wilson
d5cbaa1554
Add mangled names to addr2line -i output.
...
* dwarf2.c (find_abstract_instance_name): Don't early exit when name
set. For DW_AT_name case, only set name if not already set. Handle
DW_AT_MIPS_linkage_name.
2005-09-20 18:13:32 +00:00
Richard Henderson
8aba57de19
* gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d,
...
gas/cris/rd-dw2-12.d, gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d,
gas/cris/rd-dw2-15.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,
gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d,
gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d,
gas/mips/mips16-dwarf2-n32.d, gas/mips/mips16-dwarf2.d: Add 0x
prefix in "Advance PC" lines.
2005-09-20 17:58:34 +00:00
Richard Henderson
ec9ec0f9a0
* readelf.c (display_debug_lines): Use unsigned long for address
...
increments. Use 0x prefix for all hex numbers.
2005-09-20 17:55:13 +00:00
Wu Zhou
f34502bcd6
* bfp-test.c: New file.
...
* bfp-test.exp: New testcase.
2005-09-20 09:01:14 +00:00
Wu Zhou
42969d33cb
* c-exp.y (parse-number): Modify the float parsing logic to let it
...
recognize a suffix.
2005-09-20 08:55:55 +00:00
Wu Zhou
ca9295176c
* gdb.fortran/subarray.exp: New testcase to test the evaluation
...
of subarray and substring variable.
* gdb.fortran/subarray.f: New source file for the test of subarray
and substring variable evaluation.
* gdb.fortran/exprs.exp: Add four tests for substring evaluation
of string constant.
2005-09-20 06:37:03 +00:00
Wu Zhou
c3e308a89c
expression.h (enum exp_opcode): Fix a format error of a comment.
2005-09-20 06:31:59 +00:00
Wu Zhou
0b4e13251c
* expression.h (enum exp_opcode): Add a new operator for F90
...
subrange.
* f-lang.h (enum f90_range_type): New enumeration type to identify
F90 subrange type.
* f-exp.y (yyparse): Add support for parsing F90 subrange and
change substring parsing to subrange parsing.
* parse.c (operator_length_standard): Set the operator length
and args number for OP_F90_RANGE.
* eval.c (evaluate_subexp_standard): Add code to evaluate F90
array section and substring.
(value_f90_subarray): New function to evaluate F90 array section.
(evaluate_subexp_standard): Delete label op_f77_substr and its code
because the logic is implemented by function value_f90_subarray now.
2005-09-20 06:25:34 +00:00
David Edelsohn
096f7d00c1
2005-09-19 David Edelsohn <edelsohn@gnu.org>
...
* configure.in (powerpc-*-aix*): Add target-libssp to noconfigdirs.
(rs6000-*-aix*): Same.
* configure: Regenerate.
2005-09-14 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* configure.in: Recognize f95 in the --enable-languages option,
and substitute it for fortran, issuing a warning.
* configure: Regenerate.
2005-09-20 03:13:02 +00:00
Alan Modra
aba4aa7d5d
* read.c (pseudo_set): Set segment of expression syms to expr_section.
2005-09-20 03:06:13 +00:00
Alan Modra
f68d3f78b1
* ldlang.h (lang_output_section_statement_struct): Change type of
...
"processed" to bfd_boolean.
* ldexp.c (fold_name): Update references to os->processed.
* ldlang.c (lang_output_section_statement_lookup_1): Likewise.
(lang_size_sections_1): Likewise.
(lang_reset_memory_regions): Likewise.
2005-09-20 03:00:53 +00:00
gdbadmin
3592b9717c
*** empty log message ***
2005-09-20 00:00:37 +00:00
Alan Modra
8925ff82dd
daily update
2005-09-20 00:00:10 +00:00
Alan Modra
707bba77b5
* elflink.c (_bfd_elf_merge_symbol): Simplify.
2005-09-19 23:30:05 +00:00
Alan Modra
a5df8c84e0
PR ld/1353
...
* ldlang.c (lang_size_sections_1): Process addr_tree earlier,
so that unused output section statements affect dot.
2005-09-19 23:17:47 +00:00
Daniel Jacobowitz
c761af65c2
* gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
...
copyright dates.
2005-09-19 18:09:08 +00:00
Paul Gilliam
561d7a1d04
* rs6000-tdep.c (_initialize_rs6000_tdep): Get rid of the unused
...
'info powerpc' command prefix.
* gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
powerpc altivec' test with an almost identical 'info vector' test.
2005-09-19 17:38:04 +00:00
Paul Brook
c4793bacbf
2005-09-19 Paul Brook <paul@codesourcery.com>
...
* armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
available.
* armemu.c: Use them.
* armvirt.c (ARMul_MemoryInit): Use correct type for size.
* configure.ac: Check for stdint.h.
* config.in: Regenerate.
* configure: Regenerate.
2005-09-19 14:21:09 +00:00
Joern Rennecke
6a8492b562
* interp.c (<sys/mman.h>): Include.
...
(mcalloc): New function / macro.
(mfree): New macro.
(sim_size): Use mcalloc and mfree.
2005-09-19 11:29:30 +00:00
Alan Modra
5c3dead3ce
* elf64-ppc.c (ppc_build_one_stub): Replace assertion that long
...
branch offset is in range with an error. Print full stub name on
errors.
(ppc_size_one_stub): Print full stub name on errors.
(group_sections): Warn if section size exceeds group size.
(ppc64_elf_size_stubs): Continue relaxing when stub types change.
2005-09-19 09:35:26 +00:00
gdbadmin
e92babf632
*** empty log message ***
2005-09-19 00:00:08 +00:00
Alan Modra
174a1c18e1
daily update
2005-09-19 00:00:07 +00:00
Daniel Jacobowitz
7ba3cf9c85
* gdb.texinfo (Contributors): Thank Andrew Cagney for releases
...
6.2 and 6.3.
2005-09-18 03:28:18 +00:00
gdbadmin
9ce743b2d7
*** empty log message ***
2005-09-18 00:00:34 +00:00
Alan Modra
158664d557
daily update
2005-09-18 00:00:08 +00:00
Daniel Jacobowitz
3db0444b44
* acinclude.m4: Correct quoting.
...
* aclocal.m4: Regenerated.
Suggested by SZOKOVACS Robert <szo@ies.hu>:
* thread-db.c (thread_db_err_str): Handle TD_VERSION.
(thread_db_init): Call thread_db_err_str.
* configure.ac: Check for TD_VERSION.
* config.in, configure: Regenerated.
2005-09-17 23:14:37 +00:00
Alan Modra
4b9c52dc3f
daily update
2005-09-17 00:00:07 +00:00
gdbadmin
c19b479e55
*** empty log message ***
2005-09-17 00:00:05 +00:00
gdbadmin
21b2dee4d1
*** empty log message ***
2005-09-16 00:00:34 +00:00
Alan Modra
282f5edcf5
daily update
2005-09-16 00:00:16 +00:00
DJ Delorie
f59e96e06c
merge from gcc
2005-09-15 01:04:05 +00:00
Alan Modra
918977321b
daily update
2005-09-15 00:00:07 +00:00
gdbadmin
646dd48587
*** empty log message ***
2005-09-15 00:00:03 +00:00
Jan Beulich
43fd16e4a3
gas/
...
2005-09-14 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector
registers, floating point control and status words, and mxcsr as
well as (for 64-bit code) segment base registers and rflags.
2005-09-14 06:33:25 +00:00
Alan Modra
e74c8321fb
daily update
2005-09-14 00:00:16 +00:00
gdbadmin
f48538d88b
*** empty log message ***
2005-09-14 00:00:13 +00:00
Paul Gilliam
b2b64cc92a
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
vscr" tests to match output.
2005-09-13 23:13:50 +00:00
Paul Gilliam
6ac4d15a41
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
output.
2005-09-13 22:07:05 +00:00
gdbadmin
c5e908b7dc
*** empty log message ***
2005-09-13 00:00:32 +00:00