]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
2005-02-15 Andrew Cagney <cagney@gnu.org>
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
1bedd215
AC
12005-02-15 Andrew Cagney <cagney@gnu.org>
2
3 Mark up add_com, add_info and add_prefix_cmd.
4 * breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
5 * exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
6 * go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
7 * kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
8 * maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
9 * ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
10 * remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
11 * remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
12 * remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
13 * sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
14 * symfile.c, symtab.c, target.c, thread.c, top.c: Update.
15 * tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
16 * win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
17 * cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
18 * tui/tui-stack.c, tui/tui-win.c: Update.
19
66bf4b3a
AC
202005-02-14 Andrew Cagney <cagney@gnu.org>
21
3f325092
AC
22 * config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
23 * config/h8300/tm-h8300.h: Delete file.
24
1a966eab
AC
25 Mark up add_cmd.
26 * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
27 * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
28 * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
29 * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
30 * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
31 * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
32 * sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
33 * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
34 * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
35 * cli/cli-logging.c, tui/tui-regs.c: Update.
36
7915a72c
AC
37 Mark up add_setshow functions, replace "PRINT:" comment prefix
38 with "FIXME: i18n:".
39 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
40 * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update.
41 * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update.
42 * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update.
43 * target.c, cli/cli-logging.c: Update.
44
66bf4b3a
AC
45 * utils.c (paddress): New function.
46 * defs.h (paddress): Declare.
47 * printcmd.c (deprecated_print_address_numeric): Rename
48 print_address_numeric, call paddress.
49 * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
50 * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
51 * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
52 * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
53 * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
54 * ada-valprint.c: Update.
55
33e6b12b
RR
562005-02-13 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
57
58 * MAINTAINERS: Add myself to "Write After Approval".
59
f0bdd87d
YS
602005-02-12 Yoshinori Sato <ysato@users.sourceforge.jp>
61
62 Restore h8300 support.
63 * configure.tgt: Add h8300-*-*
ba0e80db
YS
64 * h8300-tdep.c: New file. Rewrite new frame code.
65 * config/h8300/h8300.mt: New file. Restored Rev 1.3
66 * config/h8300/tm-h8300.h: New file. Restored Rev 1.21
67
68 * MAINTAINERS: Add myself to "Write After Approval".
f0bdd87d 69
e2e0b3e5
AC
702005-02-11 Andrew Cagney <cagney@gnu.org>
71
a3f17187
AC
72 Mark up some of printf_filtered and printf_unfiltered.
73 * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
74 * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
75 * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
76 * event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
77 * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
78 * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
79 * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
80 * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
81 * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
82 * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
83 * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
84 * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
85 * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
86 * tui/tui-regs.c, tui/tui-win.c: Update.
87
e2e0b3e5
AC
88 Mark up error_no_arg, query, perror_with_name, complaint, and
89 internal_error.
90 * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
91 * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
92 * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
93 * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
94 * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
95 * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
96 * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
97 * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
98 * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
99 * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
100 * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
101 * interps.c, language.c, linespec.c, linux-nat.c: Update.
102 * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
103 * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
104 * macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
105 * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
106 * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
107 * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
108 * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
109 * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
110 * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
111 * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
112 * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
113 * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
114 * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
115 * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
116 * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
117 * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
118 * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
119 * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
120 * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
121 * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
122 * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
123 * tui/tui-file.c, tui/tui-interp.c: Update.
8a3fe4f8 124
e2e0b3e5
AC
1252005-02-10 Andrew Cagney <cagney@gnu.org>
126
8a3fe4f8
AC
127 Mark up all error and warning messages.
128 * ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update.
129 * bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update.
130 * core-aout.c, core-regset.c, corefile.c, corelow.c: Update.
131 * cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update.
132 * dbxread.c, demangle.c, doublest.c, dsrec.c: Update.
133 * dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update.
134 * dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update.
135 * event-top.c, exec.c, expprint.c, f-lang.c: Update.
136 * f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update.
137 * frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update.
138 * gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update.
139 * hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update.
140 * hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update.
141 * hpread.c, hpux-thread.c, i386-linux-nat.c: Update.
142 * i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update.
143 * i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update.
144 * ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update.
145 * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
146 * inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update.
147 * kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update.
148 * linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update.
149 * m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update.
150 * m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update.
151 * maint.c, mdebugread.c, mem-break.c, memattr.c: Update.
152 * mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update.
153 * nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update.
154 * observer.c, ocd.c, p-lang.c, p-typeprint.c: Update.
155 * p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update.
156 * ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update.
157 * remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update.
158 * remote-rdp.c, remote-sim.c, remote-st.c: Update.
159 * remote-utils.c, remote-utils.h, remote.c: Update.
160 * rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update.
161 * ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update.
162 * sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update.
163 * solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update.
164 * solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update.
165 * somread.c, somsolib.c, source.c, stabsread.c: Update.
166 * stack.c, std-regs.c, symfile-mem.c, symfile.c: Update.
167 * symmisc.c, symtab.c, target.c, thread.c, top.c: Update.
168 * tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update.
169 * uw-thread.c, valarith.c, valops.c, valprint.c: Update.
170 * value.c, varobj.c, version.in, win32-nat.c, wince.c: Update.
171 * xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update.
172 * cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update.
173 * cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update.
174 * mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update.
175 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update.
176 * mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update.
177 * tui/tui-win.c: Update.
178
3517749c
ILT
1792005-02-10 Ian Lance Taylor <ian@airs.com>
180
181 * MAINTAINERS: Update my e-mail address.
182
cf309262
DJ
1832005-02-10 Daniel Jacobowitz <dan@debian.org>
184
185 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
186 PR exp/1821
187 * cp-valprint.c: Include "language.h".
188 (cp_print_value_fields): Pass the current language to
189 fprintf_symbol_filtered.
190 * Makefile.in (cp-valprint.o): Update dependencies.
191
899506a8
AC
1922005-02-10 Andrew Cagney <cagney@gnu.org>
193
335cca0d
AC
194 * cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full)
195 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
196 (add_setshow_filename_cmd, add_setshow_string_cmd)
197 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace
198 print string parameter with fprint_setshow function.
199 * command.h (fprint_setshow_ftype): Define. Update declarations.
200 * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is
201 available, use that.
202 * cli/cli-decode.h (struct cmd_list_element): Add field
203 fprint_setshow.
204 * complaints.c (fprint_setshow_complaints): New function.
205 (_initialize_complaints): Pass to add_setshow_zinteger_cmd.
206 * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter
207 with NULL.
208 * mips-tdep.c (_initialize_mips_tdep): Ditto.
209 * m32r-rom.c (_initialize_m32r_rom): Ditto.
210 * cris-tdep.c (_initialize_cris_tdep): Ditto.
211 * arm-tdep.c (_initialize_arm_tdep): Ditto.
212 * remote-rdi.c (_initialize_remote_rdi): Ditto.
213 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
214 * dwarf2read.c (_initialize_dwarf2_read): Ditto.
215 * frame.c (_initialize_frame): Ditto.
216 * target.c (initialize_targets): Ditto.
217 * maint.c (_initialize_maint_cmds): Ditto.
218 * observer.c (_initialize_observer): Ditto.
219 * infcall.c (_initialize_infcall): Ditto.
220 * breakpoint.c (_initialize_breakpoint): Ditto.
221 * cli/cli-logging.c (_initialize_cli_logging): Ditto.
222 * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
223
899506a8
AC
224 * cli/cli-setshow.c (do_setshow_command): Move code printing the
225 value to the end of the function. Handle MI and non-MI output
226 differently.
227
59c58d08
AC
2282005-02-09 Andrew Cagney <cagney@gnu.org>
229
7376b4c2
AC
230 * cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and
231 show_result parameters.
232 * mips-tdep.c (_initialize_mips_tdep): Update calls.
233 * command.h: Update declaration.
234 * arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update
235 calls.
236
11dced61
AC
237 * NEWS: Mention removed commands.
238 * m68hc11-tdep.c (show_regs): Delete, unused.
239 (_initialize_m68hc11_tdep): Delete deprecated "regs" command.
240 * gdb-events.sh: Delete deprecated "set eventdebug" and "show
241 eventdebug" commands.
242 * gdb-events.c: Regenerate.
243 * gdbarch.sh: Delete deprecated "set archdebug" and "show
244 archdebug" commands.
245 * gdbarch.c: Regenerate.
246 * cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set
247 remotedebug" and "show remotedebug".
248 * arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm
249 disassembly-flavor", "show arm disassembly-flavor", and
250 "othernames" commands.
251 (arm_othernames): Delete unused function.
252
b6e1c027
AC
253 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call)
254 (convert_code_addr_to_desc_addr): Convert any function code
255 address to the corresponding function's descriptor.
256 (ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and
257 TYPE_CODE_INT use the same code paths as TYPE_CODE_INT. When
258 writing, convert any function code address to the corresponding
259 descriptor.
260
59c58d08
AC
261 * config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
262 * config/powerpc/linux.mt (TDEPFILES): Ditto.
263 * config/pa/linux.mt (TDEPFILES): Ditto.
264 * config/mips/linux.mt (TDEPFILES): Ditto.
265 * config/m68k/linux.mt (TDEPFILES): Ditto.
266 * config/m32r/linux.mt (TDEPFILES): Ditto.
267 * config/ia64/linux.mt (TDEPFILES): Ditto.
268 * config/arm/linux.mt (TDEPFILES): Ditto.
269
b6e1c027
AC
2702005-02-09 Corinna Vinschen <vinschen@redhat.com>
271
272 * symmisc.c: Include gdb_stat.h.
273 (maintenance_print_msymbols): Use inode numbers to compare files.
274
91294c83
AC
2752005-02-08 Andrew Cagney <cagney@gnu.org>
276
d3cbe7ef
AC
277 * value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
278 (METHOD_PTR_TO_VOFFSET): Move from here ...
279 * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
280 (METHOD_PTR_TO_VOFFSET): ... to here.
281 * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
282 * Makefile.in: Update dependencies.
283
6941d02a
AC
284 * exceptions.c: Do not include <setjmp.h>.
285 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
286 (catch_exception, catch_exceptions_with_msg, catch_errors)
287 (catch_command_errors): Use TRY_CATCH.
288 (struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
289 (exceptions_state_mc_init): Rename catcher_init.
290 (exceptions_state_mc): Rename catcher_state_machine.
291 (exceptions_state_mc_action_iter)
292 (exceptions_state_mc_action_iter_1): New functions.
293 * exceptions.h: Include <setjmp.h>.
294 (EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
295 (EXCEPTIONS_SIGLONGJMP): Define.
296 (exceptions_state_mc_init, exceptions_state_mc_action_iter)
297 (exceptions_state_mc_action_iter_1): Declare.
298 (TRY_CATCH): Define.
299
179f02be
AC
300 * ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name,
301 no longer needed.
302
8f135812
AC
303 * ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit
304 PT_FPSCR breakage.
305
91294c83
AC
306 * value.c (struct value): Move to here ...
307 * value.h (struct value): ... from here. Copy comments to
308 corresponding function declarations, re-order.
309
dfa52d88
AC
3102005-02-07 Andrew Cagney <cagney@gnu.org>
311
9bbda503
AC
312 * value.c (set_value_bitpos, set_value_bitsize): Define.
313 * value.h (set_value_bitpos, set_value_bitsize): Declare.
314 * ada-lang.c, valarith.c: Update.
315
5086187c
AC
316 * cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or
317 value_contents_writeable, include note that there are problems.
318 * breakpoint.c, infcall.c: Use VALUE_LVAL.
319
f5cf64a7
AC
320 * value.h (set_value_offset): Declare.
321 * value.c (set_value_offset): Declare.
322 * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
323 * findvar.c: Update.
324
17cf0ecd
AC
325 * value.h (value_next): Declare.
326 * value.c (value_next): Define.
327 * breakpoint.c: Update.
328
88e3b34b
AC
329 * value.h (deprecated_set_value_modifiable)
330 (deprecated_value_modifiable): Declare.
331 * value.c (deprecated_set_value_modifiable): Define.
332 (deprecated_value_modifiable): Define.
333 * ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
334
04624583
AC
335 * value.h (deprecated_set_value_type): Declare.
336 * value.c (deprecated_set_value_type): Define.
337 * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
338 * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
339 * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
340 * ax-gdb.c, tracepoint.c: Update.
341
13bb5560
AC
342 * value.h (deprecated_value_lval_hack)
343 (deprecated_value_address_hack)
7d71e29c 344 (deprecated_value_internalvar_hack)
13bb5560
AC
345 (deprecated_value_regnum_hack): Declare.
346 (VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
347 (VALUE_FRAME_ID, VALUE_REGNUM): Use.
348 * value.c (deprecated_value_lval_hack)
349 (deprecated_value_address_hack)
7d71e29c 350 (deprecated_value_internalvar_hack)
13bb5560
AC
351 (deprecated_value_regnum_hack): Define.
352
b44d461b
AC
353 * value.h (VALUE_POINTED_TO_OFFSET): Delete.
354 (set_value_pointed_to_offset, value_pointed_to_offset): Declare.
355 * value.c (set_value_pointed_to_offset): Define
356 (value_pointed_to_offset): Define.
357 * valops.c: Update.
358
caadb61d
AC
359 * value.h (VALUE_EMBEDDED_OFFSET): Delete.
360 (value_embedded_offset, set_value_embedded_offset): Declare.
13c3b5f5 361 * value.c (value_embedded_offset): Define.
caadb61d 362 (set_value_embedded_offset): Define.
13c3b5f5
AC
363 * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
364 * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
365 * cp-abi.h: Update.
366
dfa52d88
AC
367 * value.h (VALUE_LAZY): Delete
368 (set_value_lazy): Declare.
369 * value.c (set_value_lazy): Define.
370 * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
371 * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
372
0fd88904
AC
3732005-02-06 Andrew Cagney <cagney@gnu.org>
374
feb13ab0
AC
375 * value.h (VALUE_OPTIMIZED_OUT): Delete.
376 (value_optimized_out, set_value_optimized_out): Declare.
377 * value.c (set_value_optimized_out, value_optimized_out): Define.
378 * valprint.c, findvar.c, dwarf2loc.c: Update.
379
0fd88904
AC
380 * value.c (value_contents, value_contents_writeable): New
381 functions.
382 * value.h (VALUE_CONTENTS): Delete macro.
383 (value_contents, value_contents_writeable): Declare.
384 * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
385 * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
386 * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
387 * rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
388 * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
389 * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
390 * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
391 * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
392 * c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
393 * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
394 * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
395 * ada-valprint.c, ada-lang.c: Update.
396
5b90c7b5
AC
3972005-02-03 Andrew Cagney <cagney@gnu.org>
398
399 * utils.c (xzalloc): New function.
400 * defs.h (XZALLOC): Use xzalloc.
401 (xzalloc): Declare.
402 * value.c (allocate_value): Allocate a zeroed buffer.
403 * mdebugread.c (xzalloc): Delete.
404
4754a64e
AC
4052005-02-02 Andrew Cagney <cagney@gnu.org>
406
d69fe07e
AC
407 * value.h (value_lazy): Declare.
408 * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
409 * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
410
46615f07
AC
411 * value.h (VALUE_CONTENTS_ALL): Delete.
412 (value_contents_all): Declare.
413 * value.c (value_contents_all): New function.
414 * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
415 * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
416
4754a64e
AC
417 * value.c (value_enclosing_type): New function.
418 * value.h (VALUE_ENCLOSING_TYPE): Delete.
419 (value_enclosing_type): Declare.
420 * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
421 * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
422
990a07ab
AC
423 * value.c (value_contents_all_raw)
424 (value_contents_raw): New functions.
425 * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
426 (value_contents_raw, value_contents_all_raw): Declare functions.
427 (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
428 * std-regs.c, valarith.c, valops.c, eval.c: Update.
429 * tracepoint.c, findvar.c: Update.
430
ff2c3e5d
OF
4312005-02-01 Orjan Friberg <orjanf@axis.com>
432
433 * regformats/reg-cris.dat: New file with register definitions for CRIS.
434 * regformats/reg-crisv32.dat: Ditto for CRISv32.
435
c46f8c51
AC
4362005-01-31 Andrew Cagney <cagney@gnu.org>
437
438 * configure: Regenerate to track ../gettext.m4.
439
a80493b8
BI
4402005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
441
442 * MAINTAINERS: Add myself to "Write After Approval".
443
3d263c1d
BI
444 * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
445 * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
446 * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
447
c21a4eee
MK
4482005-01-29 Mark Kettenis <kettenis@gnu.org>
449
450 * configure.ac: Remove extra check for ranlib.
451 * configure: Regenerated.
452
108d6ead
AC
4532005-01-28 Andrew Cagney <cagney@gnu.org>
454
a2bd3dcd
AC
455 * language.h (struct language_defn): Make la_val_print's buffer
456 parameter a const bfd_byte.
457 * cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
458 * ada-lang.c (ada_aligned_value_addr)
459 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
460 * valprint.c (val_print_array_elements): Update.
461 * valprint.h (val_print_array_elements): Update.
462 * ada-lang.h (ada_val_print, ada_aligned_value_addr)
463 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
464 * ada-valprint.c (ada_val_print, struct ada_val_print_args)
465 (ada_val_print_1, ada_print_floating, printable_val_type)
466 (print_record, val_print_packed_array_elements)
467 (print_field_values, print_variant_part): Update.
468 * c-lang.h (c_val_print, cp_print_value_fields): Update.
469 * c-valprint.c (c_val_print): Update.
470 * f-lang.h (f_val_print): Update.
471 * f-valprint.c (f_val_print, f77_print_array_1)
472 (f77_print_array): Update.
473 * jv-lang.h (java_val_print): Update.
474 * jv-valprint.c (java_print_value_fields, java_val_print): Update.
475 * language.c (unk_lang_val_print): Update.
476 * m2-lang.h (m2_val_print): Update.
477 * m2-valprint.c (m2_val_print): Update.
478 * p-lang.h (pascal_val_print): Update.
479 (pascal_object_print_value_fields): Update.
480 * p-valprint.c (pascal_val_print)
481 (pascal_object_print_value_fields, pascal_object_print_value)
482 (pascal_object_print_value): Update.
483 * scm-lang.h (scm_val_print): Update.
484 * scm-valprint.c (scm_val_print): Update.
485 * value.h (val_print): Update.
486
5bcca90b
AC
487 * p-lang.h (pascal_object_print_class_member)
488 (pascal_object_print_class_method): Make buffer a const bfd_byte.
489 * p-valprint.c (pascal_object_print_class_method)
490 (pascal_object_print_class_method): Ditto.
491
ce27fb25
AC
492 * language.h (struct language_defn): Make la_printstr's buffer
493 parameter a const bfd_byte.
494 * p-lang.h (pascal_printstr): Update function to match.
495 * ada-valprint.c (ada_printstr): Update function to match.
496 * scm-lang.c (scm_printstr): Update function to match.
497 * p-lang.c (pascal_printstr): Update function to match.
498 * ada-lang.h (ada_printstr): Update function to match.
499 * m2-lang.c (m2_printstr): Update function to match.
500 * objc-lang.c (objc_printstr): Update function to match.
501 * c-lang.h (c_printstr): Update function to match.
502 * f-lang.c (f_printstr): Update function to match.
503 * c-lang.c (c_printstr): Update function to match.
504 * language.c (unk_lang_printstr): Update function to match.
505
5f547748
AC
506 * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
507 * valprint.h (val_print_type_code_int): Ditto.
508
bbb4b9db
AC
509 * objc-lang.h (c_val_print, c_value_print): Delete declarations.
510
9519ccd5
AC
511 * cp-valprint.c (cp_print_class_method)
512 (cp_print_class_member): Make buffer a const bfd_byte.
513 * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
514
10a2c479
AC
515 * ada-lang.c (value_from_contents_and_address)
516 (to_record_with_fixed_variant_part)
517 (value_tag_from_contents_and_address, ada_to_fixed_type)
518 (to_fixed_variant_branch_type, to_fixed_record_type)
519 (ada_template_to_fixed_record_type, cond_offset_host)
520 (ada_template_to_fixed_record_type_1): Make buffer a const
521 bfd_byte.
522 * ada-lang.h (ada_template_to_fixed_record_type_1)
523 (value_from_contents_and_address, ada_to_fixed_type): Ditto.
524
d56612af
AC
525 * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
526
366b1cbf 527 * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
d56612af 528 * printcmd.c (print_scalar_formatted): Update.
366b1cbf 529
c84141d6
AC
530 * value.h (value_bit_index, print_floating)
531 (find_rt_vbase_offset): Make buffer a const bfd_byte.
532 * valprint.c (print_floating): Update.
533 * valarith.c (value_bit_index): Update.
534 * valops.c (find_rt_vbase_offset): Update.
535
6c403953
AC
536 * valprint.h (print_octal_chars, print_char_chars)
537 (print_hex_chars, print_decimal_chars, print_binary_chars): Make
538 buffer a const bfd_byte.
539 * valprint.c (print_binary_chars, print_octal_chars)
540 (print_decimal_chars, print_hex_chars, print_char_chars): Make
541 "valaddr"buffer a const bfd_byte, ditto for local variables
542 referencing that buffer.
543
a8d6eb4a
AC
544 * m2-valprint.c: Include "c-lang.h".
545 (c_val_print): Delete extern declaration.
546 * scm-valprint.c: Include "c-lang.h".
547 (c_val_print): Delete extern declaration.
548 Makefile.in: Update dependencies.
549
06c4d4dc
AC
550 * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
551 bfd_byte.
552 * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
553 (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
554 bfd_byte.
555 * cp-abi.c (baseclass_offset): Update.
556 * gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
557
6b08edad
AC
558 * gnu-v2-abi.h: New file.
559 * gnu-v2-abi.c: Include "gnu-v2-abi.h".
560 (gnuv2_baseclass_offset): Delete declaration.
561 * hpacc-abi.c: Include "gnu-v2-abi.h".
562 (gnuv2_baseclass_offset): Delete extern declaration.
563 * Makefile.in: Update dependencies.
564
108d6ead
AC
565 * doublest.c (floatformat_is_negative, floatformat_is_nan)
566 (floatformat_mantissa, get_field): Make the buffer a const
567 bfd_byte, simplify.
568
a53bf506
AC
5692005-01-27 Andrew Cagney <cagney@gnu.org>
570
8cc2524a
AC
571 * value.h (struct value): Change type of contents to bfd_byte.
572 (VALUE_CONTENTS_RAW): Simplify.
573
79dd2d24
AC
574 * gdbarch.sh (integer_to_address): Change buf parameter to a const
575 bfd_byte, make pure-multi-arch.
576 * gdbarch.h, gdbarch.c: Regenerate.
577 * mips-tdep.c (mips_integer_to_address): Update.
578 * value.c (value_as_address): Update.
579
c26b8e3b
AC
580 * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
581 * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
582 parameters const, change buf to a const bfd_byte.
583 (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
584 parameters const.
585
10e2d419
AC
586 * corefile.c (write_memory): Update, make a copy of the read-only
587 buffer.
588 * target.c (target_read_memory): Update.
589 (target_write_memory): Update, make a copy of the read-only
590 buffer.
591 * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
592 const.
593 * target.h (target_read_memory, target_write_memory): Change
594 buffer type to bfd_byte; for write_memory, make it const.
595 * symfile-mem.c (do_target_read_memory): New function.
596 (symbol_file_add_from_memory): Pass do_target_read_memory to
597 bfd_elf_bfd_from_remote_memory.
598
89f5065b
AC
599 * value.h: Indent using gdb_indent.sh.
600
a53bf506
AC
601 * configure: Regenerate to track ../gettext.m4 change.
602
c44ca51c
AC
6032005-01-26 Andrew Cagney <cagney@gnu.org>
604
605 * rs6000-tdep.c: Include "reggroups.h".
606 (rs6000_gdbarch_init): Set register_reggroup_p.
607 (rs6000_register_reggroup_p): New function.
608
c600d464
OF
6092005-01-26 Orjan Friberg <orjanf@axis.com>
610
611 * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
612 (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
613 CRISv32.
614 (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
615 (cris_region_ok_for_watchpoint, cris_stopped_data_address)
616 (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
617 (crisv32_register_type, cris_special_register_name)
618 (crisv32_register_name): New functions.
619 (cris_spec_reg_applicable): Recognize more versions.
620 (cris_register_name): Update with call to cris_special_register_name.
621 (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
622 warning when unable to find step target.
623 (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
624 (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
625 CRISv32.
626 (fetch_core_registers): Update for CRISv32.
627 (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
628 register_name, cannot_store_register, cannot_fetch_register,
629 have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
630
82c94ed0
NR
6312005-01-26 Nick Roberts <nickrob@snap.net.nz>
632
633 * interps.c (interpreter_exec_cmd): Use condition,
634 e.reason < 0, to raise an error.
635
0598a43c
AC
6362005-01-25 Andrew Cagney <cagney@gnu.org>
637
a8f60bfc
AC
638 * ppc-linux-tdep.c: Include "tramp-frame.h"
639 (struct ppc_linux_sigtramp_cache)
640 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
641 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
642 (ppc_linux_sigtramp_cache): Delete.
643 (ppc32_linux_sigaction_cache_init)
644 (ppc64_linux_sigaction_cache_init)
645 (ppc32_linux_sighandler_cache_init)
646 (ppc64_linux_sighandler_cache_init)
647 (ppc32_linux_sigaction_tramp_frame)
648 (ppc64_linux_sigaction_tramp_frame)
649 (ppc32_linux_sighandler_tramp_frame)
650 (ppc64_linux_sighandler_tramp_frame)
651 (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
652 64-bit, sigaction and siginfo tramp-frame unwinders.
653
0598a43c
AC
654 * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
655 long_double_bit to 8.
656
9d799f85
AC
6572005-01-24 Andrew Cagney <cagney@gnu.org>
658
659 * infrun.c (handle_inferior_event): Handle back-to-back and nested
660 signals where the step_resume_breakpoint may have already been
661 inserted.
662
45181ed1
AC
6632005-01-24 Andrew Cagney <cagney@gnu.org>
664
665 * configure: Regenerate, ../gettext.m4 was updated.
666
a28109e0
MK
6672005-01-23 Mark Kettenis <kettenis@gnu.org>
668
6fe85783
MK
669 * NEWS: Mention new BSD user-level threads support.
670
a28109e0
MK
671 * i386obsd-tdep.c: Update copyright year. Include
672 "bsd-uthread.h".
673 (i386obsd_uthread_reg_offset): New variable.
674 (I386OBSD_UTHREAD_ESP_OFFSET): New define.
675 (i386obsd_supply_uthread, i386obsd_collect_uthread): New
676 functions.
677 (i386obsd_init_abi): Set supply_uthread and collect_uthread.
678 * Makefile.in (i386obsd-tdep.o): Update dependencies.
679 * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
680
059198c1
CF
6812005-01-23 Christopher Faylor <cgf@timesys.com>
682
683 * win32-nat.c: Update copyright year.
684 (child_init_thread_list): Set thread linked list point to NULL so that
685 it won't be reused after clearing.
686
5c45e068
MK
6872005-01-21 Mark Kettenis <kettenis@gnu.org>
688
689 * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
690 undefs.
691 * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
692 thread' has a td_pcb member and whether `struct reg' has r_fs and
693 r_gs members.
694 * configure, config.in: Regenerate.
695
666ec76f
MK
6962005-01-21 Mark Kettenis <kettenis@gnu.org>
697
b8667b61
MK
698 * configure.ac: Remove ia64-*-aix* junk.
699 * configure: Regenerate.
700
a3828db0
MK
701 * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
702 and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
703 is necessary.
704 * configure, config.in: Regenerate.
705 * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
706 BFD_NEED_DECLARATION. Never provide a prototype for
707 caninicalize_file_name.
708 * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
709 BFD_NEED_DECLARATION.
710
666ec76f
MK
711 * configure.ac (targ_archs): Use standard autoconf check for
712 "struct stat.st_blocks" instead of rolling our own.
713 * configure: Regenerated.
714 * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
715 * config.in: Regenerated.
716
bc8bcb4b
MK
7172005-01-21 Mark Kettenis <kettenis@gnu.org>
718
719 * configure.ac: Modernize checks for `long long' and `long double'
720 support.
721 * configure: Regenerated.
722 * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
723 (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
724 * config.in: Regenerated.
725
30adeb3a
MK
7262005-01-20 Mark Kettenis <kettenis@gnu.org>
727
728 * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
729 (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
730 * configure.ac: Remove checks for HP-UX save_state structure.
731 * configure: Regenerated.
732
e06e2353
AC
7332005-01-19 Andrew Cagney <cagney@gnu.org>
734
735 * utils.c (quit): Simplify, call fatal.
736 * exceptions.c: Include "serial.h"
737 (print_flush): Mimic flush code found in utils.c:quit.
738 * Makefile.in: Update dependencies.
739
1c44323f
JB
7402005-01-19 Jim Blandy <jimb@redhat.com>
741
065a1afc
JB
742 * configure.tgt: Set build_rdi_share to "yes" on those targets
743 that use that debugging protocol.
744 Set build_nlm to yes to build NLM stub for Netware targets.
745 * configure.ac: If build_rdi_share is "yes", then configure the
746 rdi-share subdirectory.
747 If build_nlm is "yes", the configure the "nlm" subdirectory.
748 * configure: Regenerated.
749
1c44323f
JB
750 * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
751 autoconf 2.59 and automake 1.9.3.
752
8a9de0e4
AC
7532005-01-19 Andrew Cagney <cagney@gnu.org>
754
315a522e
AC
755 * exceptions.h (deprecated_throw_reason): Rename throw_reason.
756 * exceptions.c (deprecated_throw_reason): Rename throw_reason.
757 * utils.c (internal_verror, quit): Update.
758 * remote-sds.c (interrupt_query): Update.
759 * remote-mips.c (mips_error, mips_kill): Update.
760 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
761 * remote.c (interrupt_query): Update.
762 * ocd.c (interrupt_query): Update.
763 * nto-procfs.c (interrupt_query): Update.
764 * monitor.c (monitor_interrupt_query): Update.
765 * breakpoint.c (break_command_1): Update.
766
8a9de0e4
AC
767 * infrun.c: (resume, proceed, wait_for_inferior)
768 (handle_inferior_event, stop_stepping)
769 (prepare_to_wait): Write debug output to gdb_stdlog.
770
53283f86
MK
7712005-01-19 Mark Kettenis <kettenis@gnu.org>
772
773 * inf-ptrace.c (inf_ptrace_prepare_to_store)
774 (inf_ptrace_post_startup_inferior)
775 (inf_ptrace_acknowledge_created_inferior)
776 (inf_ptrace_insert_fork_catchpoint)
777 (inf_ptrace_remove_fork_catchpoint)
778 (inf_ptrace_insert_vfork_catchpoint):
779 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
780 (inf_ptrace_insert_exec_catchpoint)
781 (inf_ptrace_remove_exec_catchpoint): Remove functions.
782 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
783 (inf_ptrace_target): Don't set to_prepare_to_store,
784 to_post_startup_inferior, to_acknowledge_created_inferior,
785 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
786 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
787 to_follow_fork, to_insert_exec_catchpoint,
788 to_remove_exec_catchpoint.
789
9ee907e0
AC
7902005-01-18 Andrew Cagney <cagney@gnu.org>
791
fa113d1a
AC
792 * target.h (struct target_ops): Change return type of
793 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
794 to_insert_exec_catchpoint to void.
795 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
796 (child_insert_exec_catchpoint): Change return type to void.
797 * target.c (update_current_target): Update.
798 (debug_to_insert_fork_catchpoint)
799 (debug_to_insert_vfork_catchpoint)
800 (debug_to_insert_exec_catchpoint): Update.
801 * inf-child.c (inf_child_insert_fork_catchpoint)
802 (inf_child_insert_vfork_catchpoint)
803 (inf_child_insert_exec_catchpoint): Update.
804 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
805 * linux-nat.c (child_insert_fork_catchpoint)
806 (child_insert_vfork_catchpoint)
807 (child_insert_exec_catchpoint): Update.
808 * inftarg.c (child_insert_fork_catchpoint)
809 (child_insert_vfork_catchpoint,)
810 (child_insert_exec_catchpoint): Update.
811
9ee907e0
AC
812 * remote.c (remote_open_1): Use throw_exception.
813
295093a4
MS
8142005-01-17 Michael Snyder <msnyder@redhat.com>
815
816 * mips-linux-tdep.c: Whitespace tweaks.
817
4bcff7eb
CV
8182005-01-17 Corinna Vinschen <vinschen@redhat.com>
819
820 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
821
637537d0
AC
8222005-01-17 Andrew Cagney <cagney@gnu.org>
823
824 * top.h (source_error, source_pre_error): Delete declaration.
825 * cli/cli-script.c (source_error_allocated, source_error): Delete.
826 (script_from_file, source_cleanup_lines): Do not manipulate
827 source_error_allocated, error_pre_print and source_error.
828 (struct source_cleanup_lines_args): Delete fields old_pre_error,
829 and old_error_pre_print.
830 * top.c (source_error_allocated, source_error)
831 (source_pre_error): Delete.
832 (command_line_input): Do not set error_pre_print.
833 * event-top.c (command_line_handler): Do not set error_pre_print.
834
12b21d12
JT
8352005-01-16 Jason Thorpe <thorpej@netbsd.org>
836
837 * MAINTAINERS: Update my email address.
838
1c02b2a5
MK
8392005-01-16 Mark Kettenis <kettenis@gnu.org>
840
c401b55a
MK
841 * configure.ac: Provide prerequisite headers when checking
842 <term.h>.
843 * configure: Regenerate.
844
1c02b2a5
MK
845 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
846 and "bsd-uthread.h".
847 (amd64fbsd_jmp_buf_reg_offset): New variable.
848 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
849 functions.
850 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
851 * i386fbsd-tdep.c: Fix typo.
852 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
853 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
854
17d92a02
AC
8552005-01-16 Andrew Cagney <cagney@gnu.org>
856
857 * cli/cli-script.c: Include "exceptions.h".
858 (struct wrapped_read_command_file_args): Define.
859 (wrapped_read_command_file): New function.
860 (script_from_file): Replace direct call to read_command_file by
861 one wrapped by an exception handler.
862 * exceptions.c (throw_it): Free the old message after creating the
863 new.
864 * Makefile.in: Update dependencies.
865
80ad1639
MK
8662005-01-16 Mark Kettenis <kettenis@gnu.org>
867
ae036357
MK
868 * sparc64fbsd-tdep.c: Update copyright year.
869 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
870 functions.
871 (sparc64fbsd_init_abi): Create register sets with collect
872 functions.
873
ca5807d9
MK
874 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
875 (_initialize_sparc64fbsd_nat): Add some extra features to the
876 generic SPARC target.
877 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
878 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
879 (NAT_FILE): Set to solib.h.
880 * config/sparc/nm-fbsd.h: Remove file.
881
c4f2d4d7
MK
882 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
883
80ad1639
MK
884 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
885
6212a5e9
AC
8862005-01-16 Andrew Cagney <cagney@gnu.org>
887
888 * exceptions.c (struct catcher): Delete saved_error_pre_print and
889 saved_quit_pre_print.
890 (catcher_init): Delete parameter errstring, do not override the
891 pre_print strings.
892 (catcher_pop): Do not restore the pre_print strings.
893 (catch_exception, catch_exceptions_with_msg, catch_errors)
894 (catch_command_errors): Update catch_init calls.
895
936df4b3
MK
8962005-01-16 Mark Kettenis <kettenis@gnu.org>
897
898 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
899 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
900
3af1e0e3
AC
9012005-01-15 Andrew Cagney <cagney@gnu.org>
902
85981d60
AC
903 * acinclude.m4: Include ../bfd/bfd.m4 instead of
904 ../bfd/acinclude.m4. Include ../gettext.m4.
905 * aclocal.m4, configure: Re-generate.
906
5a14cc1a
AC
907 * exceptions.c (do_captured_command)
908 (struct captured_command_args): Delete.
909 (catch_command_errors): Simplify by inlining call to catch_errors.
910
3af1e0e3
AC
911 * exceptions.c (struct catcher): Delete field print_message.
912 (catcher_init): Delete print_message parameter.
913 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
914 (throw_it): Delete prefix parameter.
915 (throw_verror, throw_vfatal, throw_error): Update.
916
d0555901
AC
9172005-01-14 Andrew Cagney <cagney@gnu.org>
918
e48f5bee
AC
919 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
920 (throw_reason): Leave the exception's message field blank.
921 (throw_it): New function, create the exception and throw it.
922 (throw_verror, throw_vfatal, throw_error): Call throw_it.
923 (print_any_exception): New function.
924 (catch_errors, catch_exceptions_with_msg): Call
925 print_any_exception.
926 (throw_exception): Move code calling annotate_error and
927 annotate_quit from here ...
928 (print_exception): ... to here.
929
c6da7a6d
AC
930 * exceptions.c (exception_fprintf, exception_print): Move printing
931 of \n from here ...
932 (print_exception): ... to here.
933 (print_flush): New function.
934 (exception_print, exception_fprintf): Replace duplicated flush and
935 wrap code with call to print_flush.
936 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
937 and print_exception.
938 (do_write): Delete.
939
d0555901
AC
940 * remote-sds.c (interrupt_query): Call throw_reason instead of
941 throw_exception.
942 * remote-mips.c (mips_error, mips_kill): Ditto
943 * ocd.c (interrupt_query): Ditto.
944 * nto-procfs.c (interrupt_query): Ditto.
945 * monitor.c (monitor_interrupt_query): Ditto.
946
949df321
JJ
9472005-01-14 Jeff Johnston <jjohnstn@redhat.com>
948
949 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
950
bc8332bb
AC
9512005-01-14 Andrew Cagney <cagney@gnu.org>
952
1c3c7ee7
AC
953 * exceptions.h (catch_exceptions): Delete errstring parameter.
954 (catch_exceptions_with_msg): Ditto.
955 * exceptions.c (catch_exceptions_with_msg): Update.
956 (catch_exceptions): Update.
957 * symfile-mem.c (add_vsyscall_page): Update.
958 * frame.c (get_current_frame): Update.
959 * wrapper.c (gdb_value_struct_elt): Update.
960 * exceptions.c (catch_exceptions): Update.
961 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
962 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
963 * remote-fileio.c (remote_fileio_request): Update.
964
9cbc821d
AC
965 * exceptions.h (exception_fprintf): Declare.
966 (exception_print): Drop pre_print parameter.
967 * mi/mi-main.c (mi_execute_command): Update exception_print call.
968 * cli/cli-interp.c (safe_execute_command): Update exception_print
969 call.
970 * remote.c (remote_open_1): Instead of passing an error prefix to
971 catch_exceptions, use catch_exceptions and exception_fprintf.
972 (remote_start_remote): Change return type to void.
973 * breakpoint.c (insert_bp_location): Instead of passing an error
974 prefix to catch_exceptions, use catch_exceptions and
975 exception_fprintf.
976 (insert_catchpoint): Change return type to void.
977 (break_command_1): Update exception_print call.
978 * exceptions.c (exception_fprintf): New function.
979 (print_exception): New function.
980 (exception_print): Use print_exception.
981
22e9b0f1
AC
982 * utils.c (error_output_message): Delete function.
983 * defs.h (error_output_message): Delete declaration.
984
05ff989b
AC
985 * linespec.c (symtab_from_filename, decode_variable): Use
986 throw_error instead of error_silent.
987 * breakpoint.c (do_captured_parse_breakpoint): Change return type
988 to void.
989 (break_command_1): Use catch_exception and check the error return
990 status.
991 * exceptions.c (throw_error): New function.
992 (throw_vsilent): Delete function.
993 * exceptions.h (throw_error): Declare.
994 (throw_vsilent): Delete declaration.
995 * utils.c (error_silent): Delete function.
996 * defs.h (error_silent): Delete declaration.
997
8a076db9
AC
998 * mi/mi-main.c (mi_execute_command): Print the exception.
999 * cli/cli-interp.c (safe_execute_command): Print the exception.
1000 * exceptions.h (exception_print): Declare.
1001 * exceptions.c (struct catcher): Add field print_message.
1002 (catcher_init): Add parameter print_message, store in the catcher
1003 struct.
1004 (print_and_throw): Only print the message when print_message.
1005 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
1006 catcher_init.
1007 (catch_exception): Pass print_message=0 to catcher_init.
1008
bc8332bb
AC
1009 * varobj.c (varobj_create): Add missing \n.
1010
d183932d
MS
10112005-01-13 Michael Snyder <msnyder@redhat.com>
1012
4e18e2de 1013 * cli/cli-decode.h: Whitespace tweaks.
ca0b4d12 1014 * wince.c: Whitespace tweaks.
887a3a14 1015 * uw-thread.c: Whitespace tweaks.
0a4a0819 1016 * utils.c: Whitespace tweaks.
d183932d
MS
1017 * tracepoint.[ch]: Whitespace tweaks.
1018 * solist.h: Whitespace tweaks.
1019
6b1b7650
AC
10202005-01-13 Andrew Cagney <cagney@gnu.org>
1021
b315da38
AC
1022 * exceptions.h (struct exception): Make message const.
1023 * mi/mi-main.c (mi_execute_command): Pass result.message directly
1024 to fputstr_unfiltered.
1025
79e714b4
AC
10262005-01-13 Michael Snyder <msnyder@redhat.com>
1027
1028 * stack.c: Whitespace tweaks.
1029 * somsolib.[ch]: Whitespace tweaks.
1030 * solib-aix.c: Whitespace tweaks.
1031 * solib.c: Whitespace tweaks.
1032 * solib-frv.c: Whitespace tweaks.
1033 * solib.h: Whitespace tweaks.
1034 * solib-irix.c: Whitespace tweaks.
1035 * solib-som.c: Whitespace tweaks.
1036 * solib-sunos.c: Whitespace tweaks.
1037 * solib-svr4.[ch]: Whitespace tweaks.
1038 * ser-tcp.c: Whitespace tweaks.
1039 * ser-unix.c: Whitespace tweaks.
1040 * serial.h: Whitespace tweaks.
1041 * scm-valprint.c: Whitespace tweaks.
1042 * rs6000-tdep.c: Whitespace tweaks.
1043 * rs6000-nat.c: Whitespace tweaks.
1044 * remote.c: Whitespace tweaks.
1045
10462005-01-13 Andrew Cagney <cagney@gnu.org>
1047
6b1b7650
AC
1048 * defs.h (error_last_message, error_init): Delete declaration.
1049 * utils.c (fatal, vfatal): Call throw_vfatal.
1050 (error, verror): Call throw_verror;
1051 (do_write, error_stream_1): Delete function.
1052 (error_stream): Simplify, call error.
1053 (error_last_message, error_init, gdb_lasterr): Delete.
1054 (error_silent): Simplify, call throw_vsilent.
1055 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
1056 * main.c (captured_main): Delete call to error_init.
1057 * exceptions.c (throw_verror, throw_verror)
1058 (throw_vsilent): New functions.
1059 (do_write, print_and_throw): New functions.
1060 (last_message): New global.
1061 (throw_reason): Replace error_last_message with last_message.
1062 (catch_exceptions_with_msg): Dup the message.
1063 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
1064 Declare.
1065
4791eb66
MS
10662005-01-13 Michael Snyder <msnyder@redhat.com>
1067
90c065fb 1068 * remote-st.c: Whitespace tweaks.
8a0ce09a 1069 * remote-sim.c: Whitespace tweaks.
1fa79fac 1070 * remote-mips.c: Whitespace tweaks.
beda9597 1071 * pa64solib.[ch]: Whitespace tweaks.
28397f59 1072 * mdebugread.c: Whitespace tweaks.
ba5e7e8d 1073 * main.c: Whitespace tweaks.
907d819a 1074 * interps.c: Whitespace tweaks.
9d1ff73f 1075 * infrun.c: Whitespace tweaks.
1f5d0fc9 1076 * infcmd.c: Whitespace tweaks.
d9788fe8 1077 * hpux-thread.c: Whitespace tweaks.
3b951200 1078 * hppa-hpux-tdep.c: Whitespace tweaks.
3a9a986f 1079 * gdbcore.h: Whitespace tweaks.
d3f17821 1080 * gdbcmd.h: Whitespace tweaks.
30867156 1081 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
de6854b5 1082 * corefile.c: Whitespace tweaks.
03717487 1083 * completer.c: Whitespace tweaks.
9b5c5aad
MS
1084 * coff-solib.c: Whitespace tweaks.
1085 * coff-solib.h: Whitespace tweaks.
30fdc99f 1086 * cli-out.c: Whitespace tweaks.
1272ad14 1087 * breakpoint.c: Whitespace tweaks.
4791eb66
MS
1088 * cli/cli-interp.c: Tweak comments, per coding standard.
1089
f30f06b8
AC
10902005-01-13 Andrew Cagney <cagney@gnu.org>
1091
ce43223b
AC
1092 * breakpoint.c (gdb_breakpoint_query): Update, use
1093 catch_exceptions_with_msg.
1094 (do_captured_breakpoint): Add uiout parameter.
1095 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
1096 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
1097 gdb_thread_select. Return MI_CMD_ERROR instead of
1098 MI_CMD_CAUGHT_ERROR.
1099 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
1100 (enum captured_mi_execute_command_actions): Delete
1101 EXECUTE_COMMAND_DISPLAY_ERROR.
1102 (captured_mi_execute_command): Delete code handling
1103 MI_CMD_CAUGHT_ERROR.
1104 (mi_execute_command): Don't check for
1105 EXECUTE_COMMAND_DISPLAY_ERROR.
1106 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
1107 gdb_breakpoint_query.
1108 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
1109 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
1110 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
1111 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
1112 parameter.
1113 * thread.c (thread_command): Update call.
1114 (gdb_thread_select, gdb_list_thread_ids): Update, call
1115 catch_exceptions_with_msg.
1116
f30f06b8
AC
1117 * mi/mi-main.c (mi_execute_command): Use catch_exception,
1118 eliminate call to error_last_message.
1119 (captured_mi_execute_command): Change return type to void.
1120
2a78bfb5
AC
11212005-01-12 Andrew Cagney <cagney@gnu.org>
1122
c1043fc2
AC
1123 * exceptions.c (exception_none): New variable.
1124 * Makefile.in: Update dependencies.
1125 * interps.c: Include "exceptions.h".
1126 (interpreter_exec_cmd, interp_exec): Update to return "struct
1127 exception"
1128 * exceptions.h (no_exception): Declare.
1129 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
1130 * mi/mi-interp.c: Include "exceptions.h".
1131 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
1132 'struct exception".
1133 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
1134 (do_captured_execute_command): Update to use catch_exception.
1135 * interps.h: Include "exceptions.h".
1136 (interp_exec_ftype, interp_exec): Return "struct exception".
1137
2a78bfb5
AC
1138 * exceptions.h (throw_reason): Rename throw_exception.
1139 (enum errors, struct exception): Define.
1140 (catch_exception_ftype): Define.
1141 (catch_exception, throw_exception): Declare.
1142 * exceptions.c (throw_exception): Rewrite.
1143 (throw_reason): New function.
1144 (struct catcher, catcher_state_machine): Replace "reason" with
1145 "exception", delete "gdberrmsg".
1146 (catch_exception): New function.
1147 (catcher_init): Replace "gdberrmsg" parameter with "exception".
1148 (catch_errors, catch_exceptions_with_msg): Re-implement passing
1149 exception to catcher_init.
1150 * utils.c (error_silent, error_stream_1): Use throw_reason.
1151 (internal_verror, quit): Ditto.
1152 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
1153 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
1154 * remote.c (remote_open_1, interrupt_query): Ditto.
1155
8b1ca062
MK
11562005-01-12 Mark Kettenis <kettenis@gnu.org>
1157
fa565c2b
MK
1158 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
1159 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
1160 (i386fbsd_jmp_buf_reg_offset): New variable.
1161 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
1162 functions.
1163 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
1164 * Makefile.in (i386fbsd-tdep.o): Update dependency.
1165 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
1166
82f5c14f
MK
1167 * bsd-uthread.h: New file.
1168 * bsd-uthread.c: New file.
1169 * Makefile.in (bsd_uthread_h): New variable.
1170 (ALLDEPFILES): Add bsd-uthread.c.
1171 (bsd-uthread.o): New dependency.
1172
42a6e6a0
MK
1173 * solib.h Update copyright year.
1174 (struct so_list): Forward declaration.
1175 (solib_read_symbols): New prototype.
1176 * solib.c (solib_read_symbols): New function.
1177 (solib_add): Call solib_read_symbols to read in symbols.
1178 (update_solib_list): Call observer_notify_solib_loaded.
1179
8b1ca062
MK
1180 * i386bsd-nat.c: Update copyright year. Don't include
1181 <sys/param.h> and <sys/user.h>.
1182 (register_u_addr, kernel_u_size): Remove functions.
1183 * config/i386/obsd.mh (NAT_FILE): Remove.
1184 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
1185 * config/i386/nm-obsd.h: Remove file.
1186
60250e8b
AC
11872005-01-12 Andrew Cagney <cagney@gnu.org>
1188
db5f402d
AC
1189 * exceptions.c: Include "gdb_string.h".
1190 (enum catcher_state, struct catcher): Define.
1191 (current_catcher): New global, replaces catch_return;
1192 (catch_return): Delete.
1193 (throw_exception): Use current_catcher->buf;
1194 (catcher_init, catcher_pop, catcher_state_machine): New functions.
1195 (catcher): Delete.
1196 (struct catch_errors_args): Delete.
1197 (do_catch_errors): Delete.
1198 (catch_exceptions): Replace body with call to
1199 catch_exceptions_with_msg.
1200 (catcher): Delete.
1201 (catch_exceptions_with_msg, catch_errors): Re-implement using
1202 catcher_state_machine.
1203
60250e8b
AC
1204 * exceptions.h (enum return_reason, RETURN_MASK)
1205 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
1206 (return_mask, throw_exception, catch_exceptions_ftype)
1207 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
1208 (catch_command_errors_ftype, catch_command_errors): Move to
1209 exceptions.h.
1210 * exceptions.c, exceptions.h: New files.
1211 * top.c: Do not include <setjmp.h>.
1212 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
1213 (throw_exception, catcher, catch_exceptions)
1214 (catch_exceptions_with_msg, struct catch_errors_args)
1215 (do_catch_errors, catch_errors, struct captured_command_args)
1216 (do_captured_command, catch_command_errors): Move to exceptions.c.
1217 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
1218 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
1219 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
1220 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
1221 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
1222 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
1223 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
1224 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
1225 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
1226 * ada-valprint.c, ada-lang.c: Ditto.
1227 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
1228 exceptions.o. Update all dependencies.
1229
ca14ead7
MK
12302005-01-11 Mark Kettenis <kettenis@gnu.org>
1231
eafc7eea
MK
1232 * config/i386/nm-fbsd.h: Update copyright year.
1233 Don't include "config/nm-bsd.h".
1234 (KERNEL_U_SIZE): Remove macro.
1235 (kernel_u_size): Remove prototype.
1236
ca14ead7
MK
1237 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
1238 * config/vax/nm-nbsdaout.h: Remove file.
1239
4a39d934
EZ
12402005-01-10 Elena Zannoni <ezannoni@redhat.com>
1241
1242 * MAINTAINERS: Remove self from sh/sh64 maintainership.
1243
93f0f986
AC
12442005-01-10 Andrew Cagney <cagney@gnu.org>
1245
c4f9e2bf
AC
1246 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
1247 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
1248 maintainer.
1249
6b71dd74
AC
1250 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
1251 changes to CRIS.
1252
93f0f986
AC
1253 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
1254 COMMIT means can approve).
1255
8785ced0
MK
12562005-01-10 Mark Kettenis <kettenis@gnu.org>
1257
2a2de4ce
MK
1258 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
1259 (vax_register_u_offset): Make statuc.
1260 (_initialize_vax_nat): Construct and add target vector.
1261 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
1262 inftarg.o. Add inf-ptrace.o.
1263 * Makefile.in (vax-nat.o): Update dependencies.
1264
8785ced0
MK
1265 * inf-ptrace.h: Update copyright year. Sync comment with
1266 inf-ptrace.c.
1267 (inf_ptrace_trad_target): New prototype.
1268 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
1269 "gdb_assert.h"
1270 (inf_ptrace_target): Add comment.
1271 (inf_ptrace+register_u_offset): New variable.
1272 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
1273 (inf_ptrace_store_register, inf_ptrace_store_registers)
1274 (inf_ptrace_trad_target): New functions.
1275 * Makefile.in (inf-ptrace.o): Update dependencies.
1276
7cb9022a
MK
12772005-01-09 Mark Kettenis <kettenis@gnu.org>
1278
1279 * configure.ac: Provide prerequisite headers when checking
1280 <link.h>, <sys/proc.h> and <sys/user.h>.
1281 * configure: Regenerate.
1282
c534d641
MK
12832005-01-08 Mark Kettenis <kettenis@gnu.org>
1284
1285 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
1286 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
1287
4b48ac22
MK
12882005-01-07 Mark Kettenis <kettenis@gnu.org>
1289
1290 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
1291 Don't include "tm-ia64.h".
1292 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
1293 * config/ia64/tm-ia64.h: Remove. Move contents ...
1294 * ia64-tdep.h: ... here. Update copyright year.
1295
3ace7edb
AC
12962005-01-07 Andrew Cagney <cagney@gnu.org>
1297
bec39cab
AC
1298 * configure.ac: Rename configure.in, require autoconf 2.59.
1299 * configure: Re-generate.
1300
e14ecb8f
AC
1301 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
1302 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
1303 to configdirs.
1304
3ace7edb
AC
1305 * configure.in: Replace configdirs with multiple references to
1306 AC_CONFIG_SUBDIRS.
1307 * configure: Re-generate.
1308
b33e8514
AS
13092005-01-05 Andreas Schwab <schwab@suse.de>
1310
1311 * ia64-tdep.c: Include "osabi.h".
1312 (native_find_global_pointer): Delete.
1313 (ia64_find_global_pointer): Renamed from
1314 generic_elf_find_global_pointer.
1315 (FIND_GLOBAL_POINTER): Delete. Change all users to call
1316 ia64_find_global_pointer instead.
1317 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
1318 to ia64_linux_sigcontext_register_address and
1319 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
1320 (_initialize_ia64_tdep): Call gdbarch_register instead of
1321 deprecated register_gdbarch_init.
1322 (struct gdbarch_tdep): Remove find_global_pointer field and move
1323 to ...
1324 * ia64-tdep.h (struct gdbarch_tdep): ... here.
1325 (ia64_linux_sigcontext_register_address): Remove declaration.
1326 (ia64_linux_getunwind_table): Likewise.
1327 (ia64_linux_write_pc): Likewise.
1328 * ia64-linux-tdep.c: Include "osabi.h".
1329 (ia64_linux_sigcontext_register_address): Make static.
1330 (ia64_linux_write_pc): Likewise.
1331 (ia64_linux_init_abi): New.
1332 (_initialize_ia64_linux_tdep): New.
1333 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
1334 $(osabi_h).
1335
0ea390ed
KB
13362005-01-05 Kevin Buettner <kevinb@redhat.com>
1337
1338 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
1339 functions in ia64-aix-tdep.c.
1340 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
1341 function defined in ia64-aix-tdep.c.
1342 * ia64-aix-tdep.c: Remove file.
1343 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
1344 this list.
1345 * Makefile.in (ia64-aix-tdep.o): Delete.
1346
edefbb7c
AC
13472005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
1348
1349 Committed by Andrew Cagney.
1350 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
1351 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
1352 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
1353 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
1354 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
1355 * aix-thread.c (_initialize_aix_thread): Get rid of the
1356 deprecated_add_show_from_set call.
1357 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
1358 * arm-tdep.c (_initialize_arm_tdep): Ditto.
1359 * command.h (add_setshow_enum_cmd): Add arguments for returning
1360 new list elements.
1361 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
1362 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
1363 add_setshow_enum_cmd.
1364
a260932f
MK
13652005-01-04 Mark Kettenis <kettenis@gnu.org>
1366
34cf1994
MK
1367 * configure.host (ia64-*-aix*): Remove.
1368 * configure.tgt (ia64-*-aix*): Remove.
1369 * config/ia64/aix.mh: Remove file.
1370 * config/ia64/aix.mt: Remove file.
1371 * config/ia64/tm-aix.h: Remove file.
1372 * ia64-aix-nat.c: Remove file.
1373 * Makefile.in (ia64-aix-nat.o): Remove dependency.
1374
a260932f
MK
1375 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
1376 Add back inf-ptrace.o.
1377
5ed102a1
AC
13782005-01-04 Andrew Cagney <cagney@gnu.org>
1379
1380 * version.in: Change format from 6.3.50_2005-01-04-cvs to
1381 6.3.50.20050104-cvs.
1382
3a63c4b7
AS
13832005-01-04 Andreas Schwab <schwab@suse.de>
1384
1385 * breakpoint.c (break_command_1): Always free err_msg before
1386 returning when an exception was caught.
1387
e22b26cb
JB
13882005-01-01 Joel Brobecker <brobecker@gnat.com>
1389
1390 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
1391 in register number for addil instruction.
1392
151c5df6 1393For older changes see ChangeLog-2004.
c906108c
SS
1394\f
1395Local Variables:
1396mode: change-log
1397left-margin: 8
1398fill-column: 74
1399version-control: never
1400End: