Joel Brobecker
9f0d94e893
* gdb.ada/exec_changed/first.adb: New file.
...
* gdb.ada/exec_changed/second.adb: New file.
* gdb.ada/exec_changed.exp: New testcase.
2005-03-08 22:19:15 +00:00
Mark Mitchell
1bf1958d53
* environ.h (struct environ): Rename to ...
...
(struct gdb_environ): ... this.
(make_environ): Update prototype.
(free_environ): Likewise.
(init_environ): Likewise.
(get_in_environ): Likewise.
(set_in_environ): Likewise.
(unset_in_environ): Likewise.
(environ_vector): Likewise.
* environ.c (make_environ): Replace "struct environ" with "struct
gdb_environ".
(free_environ): Likewise.
(init_environ): Likewise.
(environ_vector): Likewise.
(get_in_environ): Likewise.
(set_in_environ): Likewise.
(unset_in_environ): Likewise.
* infcmd.c (inferior_environ): Likewise.
* inferior.h (inferior_environ): Likewise.
2005-03-08 22:17:34 +00:00
Joel Brobecker
f67a969fd6
* infcmd.c (run_command_1): New function, extracted from
...
run_command.
(run_command): Replace implementation by call to run_command_1.
(start_command): Use run_command_1 to insert the temporary
breakpoint and run the program. Remove code that's no longer
needed, as already done at the proper time by run_command_1.
2005-03-08 22:03:43 +00:00
Daniel Jacobowitz
c0501be550
* symfile.c (clear_symtab_users): Call
...
clear_current_source_symtab_and_line first.
2005-03-08 21:40:46 +00:00
Daniel Jacobowitz
399132afa6
* doc/Makefile.am: Update as.info dependencies.
...
* aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
2005-03-08 17:16:25 +00:00
Daniel Jacobowitz
664fe1be18
* configure.in: Bump version to 2.16.90.
...
* configure: Regenerated.
2005-03-08 15:09:23 +00:00
Nathan Sidwell
36e9969cac
* ax-gdb.c (gen_expr): Add UNOP_PLUS case.
...
* c-exp.y (exp): Add unary plus.
* eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
* valarith.c (value_x_unop): Add UNOP_PLUS case.
(value_pos): New.
* value.h (value_pos): Declare.
* gdb.cp/userdef.cc (A1::operator+): New unary plus.
(A2): New class.
(main): Test operator+.
* gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
breakpoint test.
2005-03-08 14:35:20 +00:00
Nathan Sidwell
3de11b2ef2
* remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.
...
(remote_fetch_registers): Allow uppercase hex when resyncing.
(remote_write_bytes): Only call get_memory_write_packet_size once.
Robustify packet size calculation for very small packets. Check
that at least one byte will be written.
2005-03-08 14:30:46 +00:00
Jan Beulich
fffeaa5fb1
gas/
...
2004-03-08 Jan Beulich <jbeulich@novell.com>
* doc/as.texinfo: Add sentence to indicate redefining a macro is an
error, and point to .purgem documentation if someone really needs
re-definitions.
* NEWS: Mention macro redefinition is now an error.
2005-03-08 13:59:23 +00:00
Nathan Sidwell
5f579bc5f9
* gdb.base/sigbpt.exp: Disable if gdb,nosignals.
...
* gdb.base/signull.exp: Disable if gdb,nosignals.
* gdb.cp/bs15503.exp: Disable if skip_cplus_tests
* gdb.cp/exception.exp: Disable if skip_cplus_tests.
* gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
* gdb.mi/mi2-console.exp: Likewise.
* gdb.trace/collection.exp (run_trace_experiment): Consume the
continue output at start.
(gdb_collect_locals_test): Robustify regexp.
* gdb.trace/passc-dyn.exp: Fix comment typo.
* gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
2005-03-08 10:12:21 +00:00
Nathan Sidwell
549678dac2
* tracepoint.c (target_is_remote): Allow extended-remote.
...
(struct collection_list): Allow 256 registers, like the comment
said.
(add_memrange): Fix comment.
(read_actions): Turn EOF into 'end'.
2005-03-08 10:03:47 +00:00
Corinna Vinschen
20be272bd7
* Makefile.in: Add dependencies for iq2000-tdep.o.
...
* configure.tgt: Add iq2000-*-* target.
* iq2000-tdep.c: New file.
* config/iq2000/iq2000.mt: New file.
2005-03-08 08:59:47 +00:00
Corinna Vinschen
be46087ebc
* gdb.asm/asm-source.exp: Add iq2000 case.
...
* gdb.asm/iq2000.inc: New file.
2005-03-08 08:59:17 +00:00
Corinna Vinschen
edece23776
* iq2000: New target subdirectory.
...
* configure.ac: Add iq2000 target.
* configure: Regenerate.
2005-03-08 08:55:34 +00:00
Jan Beulich
9b50584289
gas/
...
2005-03-08 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (emit_one_bundle): Track last slot user insn was
emitted to. Add more precise diagnostics for non-fitting insns based
on that. Eliminate now superfluous special casing of MLX. Clear out
slot information when dropping an insn.
gas/testsuite/
2005-03-08 Jan Beulich <jbeulich@novell.com>
* gas/ia64/no-fit.[ls]: New.
* gas/ia64/ia64.exp: Run new test.
2005-03-08 08:27:02 +00:00
Jan Beulich
ef6a2b4181
gas/
...
2005-03-08 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (parse_section_name): Rename to...
(cross_section): In addition to separating the name from the rest of
the arguments, also carry out the operation.
(dot_xdata): Use cross_section.
(dot_float_cons): Likewise.
(dot_xstringer): Likewise.
(dot_xdata_ua): Likewise.
(dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons.
gas/testsuite/
2005-03-08 Jan Beulich <jbeulich@novell.com>
* gas/ia64/xdata.[sd], gas/ia64/xdata-ilp32.d: New.
* gas/ia64/ia64.exp: Run new tests.
2005-03-08 08:23:32 +00:00
Jan Beulich
0b74f93c04
gas/testsuite/
...
2005-03-08 Jan Beulich <jbeulich@novell.com>
* gas/ia64/pcrel.d: Account for big endian target.
* gas/ia64/reloc-bad.s: Enforce 64-bit ABI.
2005-03-08 08:15:40 +00:00
Joel Brobecker
ea53e89f14
* doc/observer.texi (executable_changed): New observer.
...
* symtab.c: Include "observer.h".
(find_main_name): New function.
(main_name): If name_of_main is unset, then compute it
using find_main_name.
(symtab_observer_executable_changed): New function.
(_initialize_symtab): Attach executable_changed observer.
* exec.c: Include "observer.h".
(exec_file_attach): Emit executable_changed notification.
* symfile.c: Include "observer.h".
(reread_symbols): Send an executable_changed if appropriate.
* Makefile.in (exec.o): Add dependency on observer.h.
(symfile.o): Likewise.
(symtab.o): Likewise.
2005-03-08 04:34:45 +00:00
Hans-Peter Nilsson
9a6351f1d2
Adjust testsuite for cris-axis-aout.
...
* ld-cris/noglob1.d: Adjust regexp for a.out output.
* ld-cris/badgotr1.d, ld-cris/expdyn1.d, ld-cris/expdyn2.d,
ld-cris/expdyn3.d, ld-cris/expdyn4.d, ld-cris/expdyn5.d,
ld-cris/expdyn6.d, ld-cris/expdyn7.d, ld-cris/gotplt1.d,
ld-cris/gotplt2.d, ld-cris/gotplt3.d, ld-cris/hiddef1.d,
ld-cris/libdso-1.d, ld-cris/libdso-10.d, ld-cris/libdso-11.d,
ld-cris/libdso-12.d, ld-cris/libdso-13.d, ld-cris/libdso-14.d,
ld-cris/libdso-2.d, ld-cris/libdso-3.d, ld-cris/libdso-4.d,
ld-cris/locref1.d, ld-cris/locref2.d, ld-cris/nodyn4.d,
ld-cris/nodyn5.d, ld-cris/pv32-1.d, ld-cris/undef1.d,
ld-cris/weakref1.d: ld-cris/weakref2.d: Pass --em=criself to gas.
* ld-cris/v10-v32.d, ld-cris/v10-va.d, ld-cris/v32-ba-1.d,
ld-cris/v32-v10.d, ld-cris/v32-va.d, ld-cris/va-v10.d,
ld-cris/va-v32.d: Ditto. Pass -m criself to gld.
* ld-cris/v32-bin-1.d: Pass -m criself to gld.
2005-03-08 02:31:40 +00:00
Hans-Peter Nilsson
66798ad6ae
Adjust testsuite for cris-axis-aout.
...
* gas/cris/rd-bcnst.d, gas/cris/rd-usp-1.d: Adjust regexps for a.out output.
* gas/cris/mulbug-err-1.s, gas/cris/rd-arch-1.d,
gas/cris/rd-arch-2.d, gas/cris/rd-arch-3.d, gas/cris/rd-break32.d,
gas/cris/rd-pcrel2.d, gas/cris/rd-ppv1032.d, gas/cris/rd-ppv32.d,
gas/cris/rd-usp-1b.d, gas/cris/v32-err-7.s: Pass --em=criself.
2005-03-08 02:26:21 +00:00
gdbadmin
5e9c0e1d2d
*** empty log message ***
2005-03-08 00:00:33 +00:00
DJ Delorie
20cfcaee85
merge from gcc
2005-03-07 23:20:07 +00:00
Ben Elliston
55aba7043f
* config/default.exp: Remove send_user call for stray output.
2005-03-07 23:12:53 +00:00
Alan Modra
048325cf9c
daily update
2005-03-07 23:00:05 +00:00
Daniel Jacobowitz
bb04426270
* findvar.c (read_var_value): Don't allocate V when it will not
...
be used. Add missing break for LOC_INDIRECT.
2005-03-07 22:38:04 +00:00
Manoj Iyer
384e1a6106
2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
...
* gdb.base/command.exp: Change hardcoded value to regular expression.
* gdb.base/float.exp: Add powerpc to the list of targets checked.
2005-03-07 21:37:25 +00:00
Daniel Jacobowitz
584b6e9e37
* gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
...
gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
gdb.asm/x86_64.inc: Use .purgem before redefining macros.
2005-03-07 21:16:50 +00:00
Ian Lance Taylor
48e39b59f9
* mpw-config.in: Remove.
...
* mpw-make.sed: Remove.
* mpw.c: Remove.
* Makefile.in (CFILES): Remove pex-mpw.c.
(CONFIGURED_OFILES): Remove pex-mpw.o.
(mpw.o, pex-mpw.o): Remove targets.
* maint-tool (undoc): Remove reference to mpw.c.
2005-03-07 21:12:04 +00:00
Aldy Hernandez
0e06657a9a
* ppc-opc.c (powerpc_opcodes): Fix encoding of efscfd.
2005-03-07 20:05:44 +00:00
Paul Gilliam
c4d88f87b7
fix obvious problem with compiler.c and compiler.cc: for xlc, used 'regsub',
...
but for get_compiler_info, line must start with 'set'.
2005-03-07 18:57:57 +00:00
Nick Clifton
41c9e29df5
Updated French translation
2005-03-07 13:56:29 +00:00
Jerome Guitton
187d3d28e2
2005-03-07 Jerome Guitton <guitton@gnat.com>
...
* sim/erc32/float.c (set_fsr): Do not use deprecated multi-line
strings.
(clear_accex): Ditto.
* sim/erc32/interf.c: Remove the redeclaration of fprintf.
* sim/erc32/sis.c: Ditto.
* sim/erc32/exec.c: Add missing semicolon.
* sim/erc32/func.c: Remove definitions of generic_print_address,
generic_symbol_at_address, buffer_read_memory and perror_memory, as
they are already defined in opcodes/dis-buf.c.
2005-03-07 11:09:05 +00:00
Jakub Jelinek
0709bb2246
* opncls.c (opncls_bread, opncls_bclose): Fix if pread resp.
...
close is a function like macro in system headers.
2005-03-07 10:32:38 +00:00
Alan Modra
b18e2ae59e
PR ld/778
...
* elf32-hppa.c (elf32_hppa_create_dynamic_sections): Reinstate
_GLOBAL_OFFSET_TABLE_ as a normal dynamic symbol.
2005-03-07 06:01:17 +00:00
gdbadmin
bf48a57f77
*** empty log message ***
2005-03-07 00:00:03 +00:00
Alan Modra
3ab8f84c9c
daily update
2005-03-06 23:00:05 +00:00
Mark Kettenis
9e07977bda
* sparc64fbsd-tdep.c: Include "solib-svr4.h".
...
(sparc64fbsd_init_abi): Set skip_trampoline_code and
solib_svr4_fetch_link_map_offsets.
* Makefile.in (sparc64fbsd-tdep.o): Update dependencies.
2005-03-06 21:29:10 +00:00
DJ Delorie
65dce80e6f
merge from gcc
2005-03-06 18:48:16 +00:00
Daniel Jacobowitz
88d7a73841
Correct email address in last commit.
2005-03-06 16:43:20 +00:00
Daniel Jacobowitz
f75c00e4cb
* linux-nat.c (child_follow_fork): Call target_terminal_ours before
...
printing output. Use fprintf_unfiltered. Only print output when
debugging.
2005-03-06 16:42:20 +00:00
Alan Modra
1f17067849
* elf.c (elfcore_grok_win32pstatus): Warning fixes.
2005-03-06 02:02:15 +00:00
gdbadmin
a01ad9de04
*** empty log message ***
2005-03-06 00:00:34 +00:00
Alan Modra
486d6afcde
daily update
2005-03-05 23:00:05 +00:00
Mark Kettenis
e219d7ceb6
* sparc64-tdep.c (sparc64_store_floating_fields): Constify third
...
argument.
(sparc64_store_arguments): Constify.
2005-03-05 20:58:14 +00:00
Mark Kettenis
0d6e4ad74b
* alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h".
...
(alphabsd_fetch_inferior_registers): Rename from
fetch_inferior_registers. Make static.
(alphabsd_store_inferior_registers): Rename from
store_inferior_registers. Make static.
(_initialize_alphabsd_nat): New function.
* Makefile.in (alphabsd-nat.o): Update dependencies.
* config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o. Add inf-ptrace.o, fbsd-nat.o and gcore.o.
* config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
(NATDEPFILES): Remove infptrace.o and inftarg.o. Add
alphabsd-nat.o.
* config/alpha/nm-fbsd.h: Update copyright year. Don't include
"config/nm-bsd.h" and "elf/common.h".
* config/alpha/nm-nbsd.h: Update copyright year. Don't include
"config/nm-nbsd.h".
2005-03-05 14:36:10 +00:00
Mark Kettenis
ab5b5d6168
* gdb.cp/ovldbreak.exp: Adjust regular expression for recent
...
changes.
2005-03-05 13:31:26 +00:00
Alan Modra
06647dfdde
Regenerate .pot files
2005-03-05 12:14:34 +00:00
Alan Modra
b3a6d6e19a
* ld-alpha/tlsbin.dd: Update to suit changed section layout and
...
removed section symbols.
* ld-alpha/tlsbin.rd: Likewise.
* ld-alpha/tlsbin.sd: Likewise.
* ld-alpha/tlsbinr.dd: Likewise.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.dd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
* ld-alpha/tlspic.sd: Likewise.
2005-03-05 12:03:13 +00:00
Alan Modra
e7b679ebc0
* ld-powerpc/tlsexe.g: Update.
...
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.g: Update.
* ld-powerpc/tlsexetoc.r: Update.
2005-03-05 11:56:48 +00:00
Alan Modra
93f3fa9956
* elf64-ppc.c (update_plt_info): Don't mark new ABI call syms
...
with is_func.
(func_desc_adjust): Force dot-syms local in executables as well
as shared libs.
2005-03-05 11:44:14 +00:00