f66137bd7842e4ff272f875f7b776cfc70959203
[binutils-gdb.git] / gdb / ChangeLog
1 2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
2
3 * thread-db.c: Reindented.
4
5 2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
6
7 * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t,
8 td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t
9 as types.
10
11 2003-04-16 Kevin Buettner <kevinb@redhat.com>
12
13 * rs6000-tdep.c (rs6000_gdbarch_init): For the SysV ABI, set
14 the size of ``long double'' to 16, instead of 8.
15
16 2003-04-16 Mark Kettenis <kettenis@gnu.org>
17
18 * i386-linux-nat.c: Add some whitespace to make things more
19 readable.
20 (fetch_register, store_register, fetch_inferior_registers,
21 store_inferior_registers): Get rid of assignment in if-statement.
22 (store_register): Fix typo in error message.
23
24 2003-04-16 Andrew Cagney <cagney@redhat.com>
25
26 * utils.c (xmmalloc): Always allocate something, matches
27 libiberty/xmalloc's semantics.
28 (xmrealloc, xmcalloc): Ditto.
29
30 2003-04-16 Andrew Cagney <cagney@redhat.com>
31
32 * frame.c (get_prev_frame): Do not initialize "unwind" or "type",
33 update comments.
34 (get_frame_type): Initialize unwind and type when needed.
35 (get_frame_id, frame_register_unwind): Ditto.
36
37 2003-04-16 Andrew Cagney <cagney@redhat.com>
38
39 * NEWS: Mention that sparclet-*-* and sparclite-*-* have been made
40 obsolete.
41 * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code.
42 * sparcl-stub.c: Obsolete file.
43 * config/sparc/tm-sparclet.h: Obsolete file.
44 * sparclet-stub.c: Obsolete file.
45 * sparclet-rom.c: Obsolete file.
46 * sparcl-tdep.c: Obsolete file.
47 * config/sparc/tm-sparclite.h: Obsolete file.
48 * config/sparc/sparclite.mt: Obsolete file.
49 * config/sparc/sparclet.mt: Obsolete file.
50 * configure.tgt: Make sparclet-*-*, sparclite-*-*, and
51 sparc86x-*-* obsolete.
52
53 2003-04-15 David Carlton <carlton@math.stanford.edu>
54
55 * Makefile.in (SFILES): Add cp-namespace.c.
56 (COMMON_OBS): Add cp-namespace.o.
57 (block.o): Depend on gdb_obstack_h and cp_support_h.
58 (buildsym.o): Depend on cp_support_h.
59 (cp-namespace.o): New.
60 (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
61 gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
62 (dwarf2read.o): Depend on cp_support_h.
63 * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
64 * dwarf2read.c (process_die): Set processing_has_namespace_info,
65 processing_current_namespace.
66 (read_namespace): Update processing_current_namespace; check for
67 anonymous namespaces.
68 (dwarf2_name): New function.
69 (dwarf2_extension): Ditto.
70 * cp-support.h: Update copyright, contributors.
71 Add inclusion guards.
72 Add opaque declaration for structs obstack, block, symbol.
73 (struct using_direct): New struct.
74 Add declarations for cp_find_first_component,
75 cp_entire_prefix_len, processing_has_namespace_info,
76 processing_current_namespace, cp_is_anonymous,
77 cp_add_using_directive, cp_initialize_namespace,
78 cp_finalize_namespace, cp_set_block_scope,
79 cp_scan_for_anonymous_namespaces.
80 * cp-namespace.c: New file.
81 * cp-support.c: Update copyright.
82 Include ctype.h, gdb_assert.h, gdbcmd.h.
83 New variable maint_cplus_cmd_list.
84 (cp_find_first_component): New function.
85 (cp_entire_prefix_len, maint_cplus_command)
86 (first_component_command, _initialize_cp_support): Ditto.
87 * buildsym.c: Include cp-support.h.
88 New variable using_list.
89 (add_symbol_to_list): Check for anonymous namespaces.
90 (finish_block): Set block's scope.
91 (start_symtab): Initialize C++ namespace support.
92 (end_symtab): Finalize C++ namespace support.
93 * block.h: Add opaque declarations for structs
94 block_namespace_info, using_direct, and obstack.
95 Add declarations for block_set_scope and block_set_using.
96 (struct block): Add 'language_specific' member.
97 (BLOCK_NAMESPACE): New macro.
98 * block.c: Include gdb_obstack.h and cp-support.h.
99 (struct block_namespace_info): New struct.
100 (block_set_scope): New function.
101 (block_set_using, block_initialize_namespace): Ditto.
102
103 2003-04-14 Kevin Buettner <kevinb@redhat.com>
104
105 * solib-svr4.c (svr4_have_link_map_offsets): New function.
106 (locate_base): Return early if there aren't any link map offsets.
107 (svr4_solib_create_inferior_hook): Warn if shared library support
108 is unavailable.
109
110 2003-04-14 David Carlton <carlton@math.stanford.edu>
111
112 * symtab.c (symbol_set_names): Add prefix when storing Java names
113 in hash table. Fix for PR java/1039.
114
115 2003-04-14 David Carlton <carlton@math.stanford.edu>
116
117 * symtab.c (symbol_set_names): Rename 'name' arg to
118 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'.
119 * symtab.h: Change 'name' argument in declaration of
120 symbol_set_names to 'linkage_name'.
121 (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'.
122
123 2003-04-14 Andrew Cagney <cagney@redhat.com>
124
125 * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE,
126 return the fully sign-extended register value.
127 (get_frame_pointer): Ditto.
128 (mips_pop_frame): Initialize "proc_desc" after checking for a
129 dummy frame.
130
131 2003-04-14 Andrew Cagney <cagney@redhat.com>
132
133 * mips-tdep.c (mips_push_dummy_frame): Delete function.
134 (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros.
135 (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro.
136 (mips_push_register): Delete function.
137 (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and
138 PUSH_FP_REGNUM.
139
140 2003-04-14 Jim Blandy <jimb@redhat.com>
141
142 * symmisc.c: #include "gdb_regex.h".
143 (maintenance_list_symtabs, maintenance_list_psymtabs): New
144 functions.
145 * maint.c (maintenance_list_command): New function.
146 (_initialize_maint_cmds): Register the above as commands.
147 * symtab.h (maintenance_list_symtabs,
148 maintenance_list_psymtabs): New declarations.
149 * cli/cli-cmds.c (maintenancelistlist): New variable.
150 (init_cmd_lists): Initialize it.
151 * cli/cli-cmds.h (maintenancelistlist): New declaration.
152 * gdbcmd.h (maintenancelistlist): New declaration.
153 * Makefile.in (symmisc.o): Update dependencies.
154
155 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
156
157 * s390-nat.c: Include asm/types.h for addr_t.
158
159 2003-04-14 Corinna Vinschen <vinschen@redhat.com>
160
161 * cp-valprint.c (cp_print_class_method): Call unpack_pointer() with
162 actually incoming type.
163
164 2003-04-13 Andrew Cagney <cagney@redhat.com>
165
166 * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc,
167 get_next_frame and get_frame_saved_regs.
168
169 2003-04-13 Andrew Cagney <cagney@redhat.com>
170
171 * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead
172 of gdbarch_num_regs.
173
174 2003-04-13 Andrew Cagney <cagney@redhat.com>
175
176 * frame.h: Mention what replaced what in "struct frame_info".
177 * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and
178 deprecated_update_frame_base_hack and
179 deprecated_update_frame_pc_hack.
180 * hppa-tdep.c: Ditto.
181
182 2003-04-13 Daniel Jacobowitz <drow@mvista.com>
183
184 * dwarf2expr.h (struct dwarf_expr_context): Remove extra arguments
185 to read_reg and update its comment. Remove regnum member.
186 * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval.
187 Don't call read_reg when setting in_reg. Call read_reg to get
188 the frame base if it's in a register. Return the register number
189 on the stack instead of in the context. Remove extra arguments
190 to read_reg.
191 * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments.
192 (dwarf2_evaluate_loc_desc): Call value_from_register. Expect
193 the register number on the expression stack.
194 (needs_frame_read_reg): Remove extra arguments.
195
196 2003-04-13 Daniel Jacobowitz <drow@mvista.com>
197
198 * dwarf2expr.c (dwarf2_read_address): Renamed from read_address;
199 made non-static.
200 (execute_stack_op): All callers updated.
201 * dwarf2expr.h: Add prototype for dwarf2_read_address.
202 * dwarf2loc.c (find_location_expression): New function.
203 (dwarf_expr_frame_base): Call it.
204 (dwarf2_evaluate_loc_desc): Handle 0-length location expressions.
205 (dwarf2_tracepoint_var_ref): New function, broken out from
206 locexpr_tracepoint_var_ref.
207 (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref.
208 Make static.
209 (loclist_read_variable, loclist_read_needs_frame): New functions.
210 (loclist_describe_location, loclist_tracepoint_var_ref): New
211 functions.
212 (dwarf2_loclist_funcs): New struct location_funcs.
213 * dwarf2loc.h (struct dwarf2_loclist_baton): New type.
214 (struct dwarf2_locexpr_baton): Add comments.
215 (dwarf2_loclist_funcs): New extern.
216 * dwarf2read.c (struct comp_unit_head): Remove DIE member, add
217 base_address and base_known.
218 (dwarf_loc_buffer): New variable.
219 (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size.
220 (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros.
221 (dwarf2_has_info): Initialize dwarf_loc_offset.
222 (dwarf2_build_psymtabs): Read in .debug_loc.
223 (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and
224 DWARF_LOC_SIZE.
225 (psymtab_to_symtab_1): Likewise. Move base address calculation
226 here, from...
227 (dwarf2_get_pc_bounds): ... here. Use the base address from
228 cu_header.
229 (dwarf2_symbol_mark_computed): Handle location lists.
230
231 2003-04-13 Daniel Jacobowitz <drow@mvista.com>
232
233 * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 mode
234 if the linkage name demangled successfully.
235
236 2003-04-13 Mark Kettenis <kettenis@gnu.org>
237
238 * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours,
239 disassmbly_flavour): Removed.
240
241 * x86-64-tdep.c (gdb_print_insn_x86_64): Removed.
242
243 2003-04-13 Mark Kettenis <kettenis@gnu.org>
244
245 * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed.
246
247 2003-04-12 Andrew Cagney <cagney@redhat.com>
248
249 * frame.h (struct frame_info): Move definition from here ...
250 * frame.c (struct frame_info): ... to here.
251
252 2003-04-12 Andrew Cagney <cagney@redhat.com>
253
254 * gdbthread.h (save_infrun_state): Delete parameter
255 "prev_func_start".
256 (struct thread_info): Delete field "prev_func_start".
257 (load_infrun_state): Ditto.
258 * thread.c (load_infrun_state, save_infrun_state): Update.
259 * infrun.c (prev_func_start): Delete variable.
260 (context_switch, init_wait_for_inferior): Update.
261 (stop_stepping, keep_going): Update.
262
263 2003-04-12 Andrew Cagney <cagney@redhat.com>
264
265 * gdbarch.sh: Add missing opaque declarations.
266 * gdbarch.h: Regnerate.
267 * symtab.h: Add missing opaque declarations.
268 * value.h, target.h, symfile.h, stabsread.h: Ditto.
269 * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto.
270 * srec.h, solib-svr4.h, source.h, inferior.h: Ditto.
271 * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto.
272 * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto.
273 * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto.
274 * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto.
275 * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto.
276 * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto.
277 * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto.
278 * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto.
279 * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto.
280 * cli/cli-setshow.h, cli/cli-script.h: Ditto.
281
282 2003-04-11 Andrew Cagney <cagney@redhat.com>
283
284 * frame.c (get_frame_id): Return this frame's "id".
285 (legacy_get_prev_frame): Set prev's frame ID code_addr to the
286 function start.
287 (legacy_saved_regs_this_id): Replace function body with
288 internal-error.
289 (deprecated_frame_xmalloc): Mark the frame ID as valid, use
290 FRAME_OBSTACK_ZALLOC.
291 (create_new_frame): Mark the frame ID as valid.
292
293 2003-04-11 Alexandre Oliva <aoliva@redhat.com>
294
295 * Makefile.in (libbfd_h): Added missing setting.
296 * mips-tdep.c (mips_gdbarch_init): Set disassembler_options
297 according to the selected ABI.
298
299 2003-04-11 Jeff Johnston <jjohnstn@redhat.com>
300
301 * gdb_indent.sh: Recognize pid_t and sigset_t as types.
302
303 2003-04-11 Andrew Cagney <cagney@redhat.com>
304
305 * gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate
306 SAVED_PC_AFTER_CALL.
307 * gdbarch.h, gdbarch.c: Regenerate.
308 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
309 * x86-64-tdep.c (x86_64_init_abi): Update.
310 * vax-tdep.c (vax_gdbarch_init): Update.
311 * v850-tdep.c (v850_gdbarch_init): Update.
312 * sparc-tdep.c (sparc_gdbarch_init): Update.
313 * sh-tdep.c (sh_gdbarch_init): Update.
314 * s390-tdep.c (s390_gdbarch_init): Update.
315 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
316 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
317 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
318 * mips-tdep.c (mips_gdbarch_init): Update.
319 * mcore-tdep.c (mcore_gdbarch_init): Update.
320 * m68k-tdep.c (m68k_gdbarch_init): Update.
321 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
322 * ia64-tdep.c (ia64_gdbarch_init): Update.
323 (ia64_saved_pc_after_call): Update declaration.
324 * i386ly-tdep.c (i386lynx_init_abi): Update.
325 * i386-tdep.c (i386_gdbarch_init): Update.
326 * hppa-tdep.c (hppa_gdbarch_init): Update.
327 * h8300-tdep.c (h8300_gdbarch_init): Update.
328 * frv-tdep.c (frv_gdbarch_init): Update.
329 * cris-tdep.c (cris_gdbarch_init): Update.
330 * avr-tdep.c (avr_gdbarch_init): Update.
331 * arm-tdep.c (arm_gdbarch_init): Update.
332 * alpha-tdep.c (alpha_gdbarch_init): Update.
333 * ns32knbsd-nat.c (frame_num_args): Update.
334 * ns32k-tdep.c (umax_frame_num_args): Update.
335 * mips-tdep.c (mips_init_frame_pc_first): Update.
336 * infrun.c (step_over_function): Update.
337 * i386-linux-tdep.c (skip_hurd_resolver): Update.
338 * i386-interix-tdep.c (i386_interix_back_one_frame): Update.
339 * config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
340 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
341 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
342 * config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
343 * arm-linux-tdep.c (skip_hurd_resolver): Update.
344 * arch-utils.c (init_frame_pc_default): Update.
345 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
346 * x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update
347 declaration.
348
349 2003-04-11 Andrew Cagney <cagney@redhat.com>
350
351 * i387-tdep.c: Update copyright.
352 (i387_to_double): Delete function.
353 (double_to_i387): Delete function.
354
355 2003-04-10 Andrew Cagney <cagney@redhat.com>
356
357 * d10v-tdep.c (d10v_frame_this_id): Set the code addr to the
358 frame's function's address. Simplify.
359 (d10v_frame_unwind_cache): Check that the frame's function is
360 non-zero.
361
362 2003-04-10 Jim Blandy <jimb@redhat.com>
363
364 * s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
365 call to set_gdbarch_deprecated_push_arguments.
366
367 2003-04-10 Andrew Cagney <cagney@redhat.com>
368
369 * frame.c (fprint_frame_id): New function.
370 (fprint_frame_type, fprint_frame): New function.
371 (frame_pc_unwind, frame_func_unwind): Add/update trace code.
372 (create_sentinel_frame, get_frame_id): Ditto.
373 (frame_id_p, frame_id_eq): Ditto.
374 (frame_id_inner, create_new_frame): Ditto.
375 (legacy_get_prev_frame, get_prev_frame): Ditto.
376 (deprecated_update_frame_pc_hack): Ditto.
377 (frame_register_unwind): Ditto.
378 (deprecated_update_frame_base_hack): Ditto.
379
380 2003-04-10 Corinna Vinschen <vinschen@redhat.com>
381
382 * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
383 (i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
384 frame_chain function.
385 * Makefile.in: Add dependencies due to above change.
386
387 2003-04-10 Corinna Vinschen <vinschen@redhat.com>
388
389 * blockframe.c (legacy_frame_chain_valid): Move call to
390 DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
391 inside_entry_file.
392
393 2003-04-09 Andrew Cagney <cagney@redhat.com>
394
395 * frame.h (struct frame_id): Replace "pc" and "base" with
396 "stack_addr" and "code_addr". Update comments.
397 (frame_id_build): Update parameter names and comment.
398 (struct frame_info): Replace "id_p" and "id" with "this_id".
399 * dummy-frame.c (dummy_frame_this_id): Update.
400 * breakpoint.c (print_one_breakpoint): Update.
401 * frame.c (get_frame_id): Update.
402 (get_frame_base, frame_id_build): Update.
403 (create_sentinel_frame, legacy_get_prev_frame): Update.
404 (deprecated_update_frame_base_hack): Update.
405 (frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
406 (frame_id_inner): Ditto.
407
408 2003-04-09 Andrew Cagney <cagney@redhat.com>
409
410 * defs.h (gdb_print_host_address): Make "addr" parameter a
411 pointer constant.
412 * utils.c (gdb_print_host_address): Update.
413
414 2003-04-09 Kevin Buettner <kevinb@redhat.com>
415
416 * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
417 register number for R0 is 0.
418
419 2003-04-09 J. Brobecker <brobecker@gnat.com>
420
421 * frame.h (struct gdbarch): Add opaque structure definition
422 to avoid a compilation warning on LynxOS 4.0.
423
424 2003-04-09 Andrew Cagney <cagney@redhat.com>
425
426 * frame.h (struct frame_info): Delete field "pc". Replace
427 "pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
428 structure.
429 * frame.c (frame_pc_unwind): Update.
430 (create_sentinel_frame): Do not set "pc".
431 (get_prev_frame): Do not set "pc". Use frame_pc_unwind.
432 (get_frame_pc): Call frame_pc_unwind.
433 (deprecated_update_frame_pc_hack): Update.
434 (create_new_frame): Use "pc" not "->pc".
435
436 2003-04-09 Andrew Cagney <cagney@redhat.com>
437
438 * frame.c (get_frame_id): Eliminate code updating "frame".
439 (legacy_get_prev_frame): Ditto.
440 (get_frame_base): Return id.base directly.
441 (deprecated_update_frame_base_hack): Update "id.base".
442 * frame.h (struct frame_info): Delete field "frame".
443
444 2003-04-09 Andrew Cagney <cagney@redhat.com>
445
446 * NEWS: Mention that the "Sequent family" is obsolete.
447 * configure.tgt: Obsolete i[3456]86-sequent-bsd*,
448 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
449 * configure.host: Obsolete i[3456]86-sequent-bsd*,
450 i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
451 * config/i386/tm-ptx4.h: Obsolete file.
452 * config/i386/tm-ptx.h: Obsolete file.
453 * symm-tdep.c: Obsolete file.
454 * config/i386/symmetry.mt: Obsolete file.
455 * config/i386/tm-symmetry.h: Obsolete file.
456 * symm-nat.c: Obsolete file.
457 * config/i386/nm-symmetry.h: Obsolete file.
458 * config/i386/xm-symmetry.h: Obsolete file.
459 * config/i386/symmetry.mh: Obsolete file.
460 * config/i386/nm-ptx4.h: Obsolete file.
461 * config/i386/ptx4.mh: Obsolete file.
462 * config/i386/ptx.mt: Obsolete file.
463 * config/i386/ptx.mh: Obsolete file.
464 * config/i386/xm-ptx4.h: Obsolete file.
465 * config/i386/xm-ptx.h: Obsolete file.
466
467 2003-04-09 Andrew Cagney <cagney@redhat.com>
468
469 Obsolete mips*-*-mach3*.
470 * NEWS: Mention that mips*-*-mach3* is obsolete.
471 * m3-nat.c: Obsolete file.
472 * config/nm-m3.h: Obsolete file.
473 * config/mips/tm-mipsm3.h: Obsolete file.
474 * config/mips/mipsm3.mt: Obsolete file.
475 * config/mips/mipsm3.mh: Obsolete file.
476 * config/mips/xm-mipsm3.h: Obsolete file.
477 * mipsm3-nat.c: Obsolete file.
478 * configure.host: Obsolete mips-dec-mach3*.
479 * configure.tgt: Obsolete mips*-*-mach3*.
480
481 2003-04-09 Andrew Cagney <cagney@redhat.com>
482
483 * doublest.h: Update copyright.
484 (deprecated_store_floating, deprecated_extract_floating): Rename
485 store_floating and extract_floating. Update comments.
486 * doublest.c: Update copyright.
487 (extract_floating_by_length): Replace extract_floating.
488 (store_floating_by_length): Replace store_floating.
489 (deprecated_extract_floating): New function.
490 (deprecated_store_floating): New function.
491 (extract_typed_floating): Call extract_floating_by_length.
492 (store_typed_floating): Call store_floating_by_length.
493 * x86-64-tdep.c (x86_64_store_return_value): Update.
494 * sh-tdep.c (sh3e_sh4_extract_return_value): Update.
495 (sh64_extract_return_value): Update.
496 (sh_sh4_register_convert_to_virtual): Update.
497 (sh_sh64_register_convert_to_virtual): Update.
498 (sh_sh4_register_convert_to_raw): Update.
499 (sh_sh64_register_convert_to_raw): Update.
500 * rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
501 (rs6000_register_convert_to_raw): Update.
502 * ia64-tdep.c (ia64_register_convert_to_virtual): Update.
503 (ia64_register_convert_to_raw): Update.
504 * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
505 (REGISTER_CONVERT_TO_VIRTUAL): Update.
506 * arm-linux-tdep.c (arm_linux_push_arguments): Update.
507 * alpha-tdep.c (alpha_register_convert_to_virtual): Update.
508 (alpha_register_convert_to_raw): Update.
509
510 2003-04-08 Andrew Cagney <cagney@redhat.com>
511
512 * gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
513 * gdbarch.h, gdbarch.c: Re-generate.
514 * d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
515 (d10v_gdbarch_init): Do not set saved_pc_after_call.
516 * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
517 conditionally, use frame_pc_unwind as an alternative. Add
518 comments.
519 * arch-utils.c (init_frame_pc_default): Only call
520 SAVED_PC_AFTER_CALL when available.
521
522 2003-04-08 Elena Zannoni <ezannoni@redhat.com>
523
524 * infrun.c (stop_soon): Rename from stop_soon_quietly.
525 (struct inferior_status): Rename stop_soon_quietly field to stop_soon.
526 (clear_proceed_status): Rename stop_soon_quietly to stop_soon.
527 (start_remote): Ditto.
528 (handle_inferior_event): Ditto.
529 (save_inferior_status): Ditto.
530 (restore_inferior_status): Ditto.
531 * infcmd.c (attach_command): Ditto.
532 * fork-child.c (startup_inferior): Ditto.
533 * inferior.h (stop_soon): Rename from stop_soon_quietly.
534 * alpha-tdep.c (heuristic_proc_start): Ditto.
535 * mips-tdep.c (heuristic_proc_start): Ditto.
536 * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
537 * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
538 * solib-osf.c (osf_solib_create_inferior_hook): Ditto.
539 * solib-irix.c (irix_solib_create_inferior_hook): Ditto.
540 * remote-vx.c (vx_create_inferior): Ditto.
541
542 2003-04-08 Elena Zannoni <ezannoni@redhat.com>
543
544 * infrun.c (stop_soon_quietly): Make it an enum, to better
545 override the default behavior of handle_inferior_event.
546 (clear_proceed_status): Update uses of stop_soon_quietly to
547 reflect that it is now an enum.
548 (start_remote): Ditto.
549 (handle_inferior_event): Change logic a bit if stop_soon_quietly
550 is set to handle the new GNU/Linux kernel behavior for
551 attach/sigstop. Update uses of stop_soon_quietly.
552 * inferior.h (enum stop_kind): New enum.
553 * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
554 Reset normal handle_inferior_event behavior, afterwards.
555 * fork-child.c (startup_inferior): Update.
556 * alpha-tdep.c (heuristic_proc_start): Update.
557 * solib-svr4.c (svr4_solib_create_inferior_hook): Update.
558 * solib-sunos.c (sunos_solib_create_inferior_hook): Update.
559 * solib-osf.c (osf_solib_create_inferior_hook): Update.
560 * solib-irix.c (irix_solib_create_inferior_hook): Update.
561 * remote-vx.c (vx_create_inferior): Update.
562 * mips-tdep.c (heuristic_proc_start): Update.
563
564 2003-04-07 Elena Zannoni <ezannoni@redhat.com>
565
566 * disasm.c (dump_insns): Move variables inside loop, or they will
567 be freed more than once, causing wild memory corruptions.
568 (gdb_disassembly): Look for the substring "-thread",
569 instead of "-threads" in the target name, to make sure to find
570 the 'multi-thread' target. Also, make sure we do the right thing
571 with the "core" target.
572
573 2003-04-07 Kevin Buettner <kevinb@redhat.com>
574
575 * mips-tdep.c (mips_print_fp_register): New function, created from
576 do_fp_register_row(). Registers are now (also) printed as hex.
577 Only one register is printed per row.
578 (mips_print_register, do_fp_register_row): Print floating point
579 registers with mips_print_fp_register().
580
581 2003-04-06 Andrew Cagney <cagney@redhat.com>
582
583 * valprint.h (inspect_it): Add extern declaration.
584 * objc-lang.c (value_nsstring): Avoid assignment inside of "if".
585 (selectors_info, classes_info): Ditto.
586 (find_objc_msgcall): Fix indentation.
587 (objc_printstr): Delete extern declarations.
588
589 * arm-tdep.c (arm_frameless_function_invocation): Fix typo.
590
591 2003-04-06 Andrew Cagney <cagney@redhat.com>
592
593 * frame.h (legacy_frame_chain_valid): Rename frame_chain_valid.
594 Update comment.
595 * frame.c (legacy_saved_regs_this_id): Update.
596 (legacy_get_prev_frame): Update.
597 * xstormy16-tdep.c: Update comment.
598 * sparc-tdep.c (sparc_frame_chain): Update comment.
599 * blockframe.c (legacy_frame_chain_valid): Update.
600
601 2003-04-06 Andrew Cagney <cagney@redhat.com>
602
603 * valprint.c (val_print_type_code_int): Delete #ifdef
604 PRINT_TYPELESS_INTEGER code.
605
606 * gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
607 (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
608 multi-arch definition.
609 * gdbarch.h: Re-generate.
610
611 2003-04-05 Andrew Cagney <cagney@redhat.com>
612
613 Eliminate FRAME_FIND_SAVED_REGS.
614 * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp):
615 Change FSR parameter to a pointer.
616 * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP):
617 Assume FSR parameter is a pointer.
618 * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp):
619 Make fsr a pointer.
620 * hppa-tdep.c (hppa_frame_find_saved_regs): New function.
621 (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make
622 saved_regs a pointer.
623 (hppa_frame_saved_pc): Ditto.
624 (find_dummy_frame_regs): Make frame_saved_regs a pointer
625 (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a
626 pointer.
627 (restore_pc_queue): Make fsr a pointer.
628 (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer.
629 (hppa_frame_chain): Make saved_regs a pointer, call
630 hppa_frame_init_saved_regs.
631 * sparc-tdep.c: Include "gdb_assert.h".
632 (sparc_frame_find_saved_regs): Replace internal_error with
633 gdb_assert.
634 * remote-vxsparc.c (vx_read_register): Delete reference to
635 FRAME_FIND_SAVED_REGS.
636 * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS.
637 * gdbarch.h: Regenerate.
638 * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
639 (deprecated_get_frame_saved_regs): Delete declaration.
640 (struct frame_saved_regs): Delete definition.
641 * frame.c (deprecated_get_frame_saved_regs): Delete function.
642 * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare.
643 (hppa_frame_find_saved_regs): Delete declaration.
644 (FRAME_FIND_SAVED_REGS): Delete macro.
645 (DEPRECATED_FRAME_INIT_SAVED_REGS): Define.
646 * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete
647 FRAME_FIND_SAVED_REGS in comment.
648
649 2003-04-05 Andrew Cagney <cagney@redhat.com>
650
651 * frame.c (frame_func_unwind, get_frame_func): New functions.
652 * frame.h (get_frame_func, frame_func_unwind): Declare.
653 (struct frame_info): Add field "prev_func" for caching the
654 previous frame's function address.
655 * arm-tdep.c (arm_frameless_function_invocation): Combine
656 get_pc_function_start and get_frame_pc into get_frame_func.
657 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
658 (sh64_nofp_frame_init_saved_regs): Ditto.
659 * s390-tdep.c (s390_function_start): Ditto.
660 * rs6000-tdep.c (rs6000_pop_frame): Ditto.
661 (rs6000_frameless_function_invocation): Ditto.
662 (rs6000_frame_saved_pc): Ditto.
663 * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto.
664 * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto.
665 * i386-tdep.c (i386_frameless_signal_p): Ditto.
666 (i386_frame_init_saved_regs): Ditto.
667 * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto.
668 * d10v-tdep.c (d10v_frame_unwind_cache): Combine
669 get_pc_function_start and frame_pc_unwind into frame_func_unwind.
670 * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
671 * blockframe.c (frameless_look_for_prologue): Ditto.
672
673 2003-04-05 Andrew Cagney <cagney@redhat.com>
674
675 * frame.c (legacy_get_prev_frame): Link prev to next at the
676 function start. Update comments.
677
678 2003-04-05 Andrew Cagney <cagney@redhat.com>
679
680 * frame.c (get_frame_id): Update comment.
681 (legacy_get_prev_frame): Update comment.
682 * gdbarch.sh: Delete check for EXTRA_FRAME_INFO.
683 * gdbarch.h: Regenerate.
684 * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete.
685 * frame.h: Delete #ifdef EXTRA_FRAME_INFO code.
686
687 2003-04-05 Andrew Cagney <cagney@redhat.com>
688
689 * stack.c (print_frame_info): Use get_frame_pc.
690
691 2003-04-04 Andrew Cagney <cagney@redhat.com>
692
693 * frame.c (get_prev_frame): Do not call frame_type_from_pc. Set
694 the frame's type from the unwinder.
695 (get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME.
696 (create_new_frame, legacy_get_prev_frame): When the unwinder's
697 type isn't UNKNOWN_FRAME, initalize "type" from the unwinder.
698 (get_frame_base_address): Use get_frame_type.
699 (get_frame_locals_address, get_frame_args_address): Ditto.
700 (legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE.
701 * frame.h (enum frame_type): Add UNKNOWN_FRAME.
702 (struct frame_info): Add comment explaining why the frame contains
703 a "type" field.
704 * dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME.
705 * d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME.
706 * sentinel-frame.c (sentinel_frame_unwinder): Set the type to
707 NORMAL_FRAME.
708 * frame-unwind.h: Include "frame.h".
709 (struct frame_unwind): Add "type" field.
710 * Makefile.in (frame_unwind_h): Add $(frame_h).
711
712 2003-04-04 Andrew Cagney <cagney@redhat.com>
713
714 * x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
715 * dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
716 * d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
717 get_frame_base.
718 (d10v_unwind_dummy_id): Use frame_id_build.
719 * frame.c (find_frame_sal): Use get_frame_pc.
720 (create_new_frame): Use deprecated_update_frame_pc_hack and
721 deprecated_update_frame_base_hack.
722 (create_sentinel_frame): Add comment about ->pc going away.
723 (get_prev_frame): Add comment about ->pc going away.
724 (legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
725 frame_id_build, deprecated_update_frame_pc_hack and
726 deprecated_update_frame_base_hack.
727 (select_frame): Use get_frame_pc.
728 (legacy_saved_regs_this_id): Use frame_id_build.
729
730 2003-04-04 Elena Zannoni <ezannoni@redhat.com>
731
732 * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
733 signed integer case.
734 (classify_argument): Handle enumerations and references.
735
736 2003-04-04 Andrew Cagney <cagney@redhat.com>
737
738 * frame.c (create_sentinel_frame): Initialize the sentinel frame's
739 ID to NULL.
740
741 2003-04-01 Adam Fedor <fedor@gnu.org>
742
743 * gdb/objc-lang.c (selectors_info): Replace calls to
744 SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
745 SYMBOL_NATURAL_NAME.
746 (classes_info, find_methods): Likewise.
747
748 2003-04-03 Kevin Buettner <kevinb@redhat.com>
749
750 * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
751 ``mach'' to the value determined by bfd_default_set_arch_mach().
752
753 2003-04-02 Bob Rossi <bob_rossi@cox.net>
754
755 * Makefile.in (SUBDIR_MI_OBS): Add "mi-cmd-file.o".
756 (SUBDIR_MI_SRCS): Add "mi-cmd-file.c".
757 (mi-cmd-file.o): Update dependencies.
758
759 2003-04-01 Kevin Buettner <kevinb@redhat.com>
760
761 * mips-tdep.c (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
762 (mips_stab_reg_to_regnum): Add mappings for HI_REGNUM and LO_REGNUM.
763
764 2003-04-01 Adam Fedor <fedor@gnu.org>
765
766 * Makefile.in (c_lang.o, jv_lang.o, language.o): Add $(demangle_h).
767 * language.h (struct language_defn): Add la_demangle.
768 (language_demangle): Declare.
769 * language.c (language_demangle): New function.
770 (unk_lang_demangle): Likewise.
771 (unknown_language_defn, auto_language_defn, local_language_defn):
772 Add ukn_lang_demangle.
773 * ada-lang.c (ada_language_defn): Add NULL for la_demangle element.
774 * f-lang.c, m2-lang.c, p-lang.c, scm-lang.c: Likewise.
775 * c-lang.c (c_language_defn, asm_language_defn): Likewise.
776 (cplus_language_defn): Add cplus_demangle for la_demangle element.
777 * jv-lang.c (java_demangle): New function
778 (java_language_defn): Use it for la_demangle element.
779 * objc-lang.c (objc_demangle): Add options argument
780 (objc_language_defn): Use objc_demangle for la_demangle element.
781 * maint.c (maintenance_demangle): Replace switch with
782 call to language_demangle.
783 * utils.c (fprintf_symbol_filtered): Likewise.
784
785 2003-04-01 Andrew Cagney <cagney@redhat.com>
786
787 * printcmd.c (print_frame_nameless_args): Delete #ifdef
788 NAMELESS_ARG_VALUE, PRINT_NAMELESS_INTEGER and
789 PRINT_TYPELESS_INTEGER.
790 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_RETURN_ADDRESS): Rename
791 PUSH_RETURN_ADDRESS.
792
793 2003-04-01 Andrew Cagney <cagney@redhat.com>
794
795 * Makefile.in (d10v-tdep.o): Update dependencies.
796 * d10v-tdep.c: Include "frame-base.h".
797 (d10v_frame_unwind): Make constant.
798 (d10v_frame_base_address): New function.
799 (d10v_frame_base): New variable.
800 (d10v_gdbarch_init): Set frame_base default.
801 (struct d10v_unwind_cache): Add the field "prev_sp". Update
802 comment for base.
803 (d10v_frame_unwind_cache): Set and use "prev_sp".
804 (d10v_frame_this_id): Use the previous frame's inner most stack
805 address and this frame's func address for the frame ID. Use
806 frame_id_build. Don't analyze beyond the current instruction.
807
808 2003-04-01 Andrew Cagney <cagney@redhat.com>
809
810 * frame.h (get_frame_locals_address, get_frame_args_address):
811 Refer to the base address, instead of the address of the first
812 local or parameter.
813
814 2003-04-01 Andrew Cagney <cagney@redhat.com>
815
816 Add frame debug info addresses:
817 * frame-base.c: New file.
818 * frame-base.h: New file.
819 * frame.h (struct frame_base): Add opaque declaration.
820 (get_frame_base): Update comment.
821 (get_frame_base_address): Declare.
822 (get_frame_locals_address): Declare.
823 (get_frame_args_address): Declare.
824 (struct frame_info): Add "base" and "base_cache". Update
825 comments on the unwinder.
826 * frame.c: Include "frame-base.h".
827 (get_frame_locals_address): New function.
828 (get_frame_base_address): New function.
829 (get_frame_args_address): New function.
830 * findvar.c (read_var_value): Use get_frame_locals_address and
831 get_frame_args_address.
832 * stack.c (frame_info): Use get_frame_locals_address and
833 get_frame_args_address.
834 (FRAME_ARGS_ADDRESS_CORRECT): Delete conditionally defined macro,
835 moved to "frame-base.c".
836 * printcmd.c (print_frame_nameless_args): Ditto.
837 * symtab.h (address_class): Update comments.
838 * dwarf2loc.c (dwarf_expr_frame_base): Add note about
839 get_frame_base_address.
840 * dwarf2expr.c (execute_stack_op): Ditto.
841 * Makefile.in (frame_base_h): Define.
842 (frame.o): Update dependencies.
843 (frame-base.o): Add dependencies.
844 (SFILES): Add frame-base.c.
845 (COMMON_OBS): Add frame-base.o.
846
847 2003-04-01 Andrew Cagney <cagney@redhat.com>
848
849 * gdbarch.sh (CALL_DUMMY_START_OFFSET): Default to zero.
850 CALL_DUMMY_LENGTH): Ditto.
851 * gdbarch.c: Re-generate.
852 * inferior.h (CALL_DUMMY_START_OFFSET): Delete macro.
853 (CALL_DUMMY_LENGTH): Delete macro.
854 * alpha-tdep.c (alpha_gdbarch_init): Do not set above when zero.
855 * arm-tdep.c (arm_gdbarch_init): Ditto.
856 * avr-tdep.c (avr_gdbarch_init): Ditto.
857 * cris-tdep.c (cris_gdbarch_init): Ditto.
858 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
859 * frv-tdep.c (frv_gdbarch_init): Ditto.
860 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
861 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
862 * i386-tdep.c (i386_gdbarch_init): Ditto.
863 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
864 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
865 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
866 * mips-tdep.c (mips_gdbarch_init): Ditto.
867 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
868 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
869 * s390-tdep.c (s390_gdbarch_init): Ditto.
870 * sh-tdep.c (sh_gdbarch_init): Ditto.
871 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
872 * v850-tdep.c (v850_gdbarch_init): Ditto.
873 * vax-tdep.c (vax_gdbarch_init): Ditto.
874 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
875
876 2003-04-01 Corinna Vinschen <vinschen@redhat.com>
877
878 * frame.c (get_prev_frame): Disable call to inside_entry_file().
879
880 2003-04-01 Andrew Cagney <cagney@redhat.com>
881
882 * gdbarch.sh (CALL_DUMMY_BREAKPOINT_OFFSET): Default to zero.
883 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
884 * gdbarch.h, gdbarch.c: Re-generate.
885 * config/sparc/tm-sp64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
886 (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
887 * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
888 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Delete.
889 (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
890 * infcmd.c (run_stack_dummy): Simplify assuming
891 CALL_DUMMY_BREAKPOINT_OFFSET_P.
892 * infrun.c (handle_inferior_event): Ditto.
893 * alpha-tdep.c (alpha_gdbarch_init): Do not set
894 call_dummy_breakpoint_offset or call_dummy_breakpoint_offset_p.
895 * arm-tdep.c (arm_gdbarch_init): Ditto.
896 * avr-tdep.c (avr_gdbarch_init): Ditto.
897 * cris-tdep.c (cris_gdbarch_init): Ditto.
898 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
899 * frv-tdep.c (frv_gdbarch_init): Ditto.
900 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
901 * i386-tdep.c (i386_gdbarch_init): Ditto.
902 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
903 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
904 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
905 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
906 * mips-tdep.c (mips_gdbarch_init): Ditto.
907 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
908 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
909 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
910 * s390-tdep.c (s390_gdbarch_init): Ditto.
911 * sh-tdep.c (sh_gdbarch_init): Ditto.
912 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
913 * v850-tdep.c (v850_gdbarch_init): Ditto.
914 * vax-tdep.c (vax_gdbarch_init): Ditto.
915 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
916
917 2003-04-01 Daniel Jacobowitz <drow@mvista.com>
918
919 * symfile.c (symfile_relocate_debug_section): Update call to
920 bfd_simple_get_relocated_section_contents.
921
922 2003-03-31 Andrew Cagney <cagney@redhat.com>
923
924 * gdbarch.sh (FIX_CALL_DUMMY): Change to function with predicate.
925 * gdbarch.h, gdbarch.c: Regenerate.
926 * inferior.h (FIX_CALL_DUMMY): Delete macro.
927 * valops.c (hand_function_call): Only call FIX_CALL_DUMMY when
928 available.
929 * frame.h (generic_fix_call_dummy): Delete declaration.
930 * dummy-frame.h: Update comment.
931 * dummy-frame.c (generic_fix_call_dummy): Delete function.
932 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
933 fix_call_dummy.
934 * sh-tdep.c (sh_gdbarch_init): Ditto.
935 * s390-tdep.c (s390_gdbarch_init): Ditto.
936 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
937 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
938 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
939 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
940 * i386-tdep.c (i386_gdbarch_init): Ditto.
941 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
942 * frv-tdep.c (frv_gdbarch_init): Ditto.
943 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
944 * cris-tdep.c (cris_gdbarch_init): Ditto.
945 * avr-tdep.c (avr_gdbarch_init): Ditto.
946 * arm-tdep.c (arm_gdbarch_init): Ditto.
947
948 2003-03-31 J. Brobecker <brobecker@gnat.com>
949
950 * config/pa/tm-hppa64.h (FRAME_ARGS_ADDRESS): Delete macro, not useful.
951 (INIT_FRAME_AP): Likewise.
952 (EXTRA_FRAME_INFO): Likewise.
953
954 2003-03-31 Andrew Cagney <cagney@redhat.com>
955
956 * gdbarch.sh: Include "symfile.h".
957 (CALL_DUMMY_ADDRESS): Default to entry_point_address.
958 * gdbarch.h, gdbarch.c: Re-generate.
959 * inferior.h (CALL_DUMMY_ADDRESS): Delete macro.
960 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
961 call_dummy_address, the default is at entry_point_address.
962 * v850-tdep.c (v850_gdbarch_init): Ditto.
963 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
964 * sh-tdep.c (sh_gdbarch_init): Ditto.
965 * s390-tdep.c (s390_gdbarch_init): Ditto.
966 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
967 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
968 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
969 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
970 * i386-tdep.c (i386_gdbarch_init): Ditto.
971 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
972 * frv-tdep.c (frv_gdbarch_init): Ditto.
973 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
974 * cris-tdep.c (cris_gdbarch_init): Ditto.
975 * arm-tdep.c (arm_gdbarch_init): Ditto.
976
977 2003-03-31 Andrew Cagney <cagney@redhat.com>
978
979 * gdbarch.sh (CALL_DUMMY_P): Delete.
980 * gdbarch.h, gdbarch.c: Re-generate.
981 * inferior.h (CALL_DUMMY_P): Delete macro.
982 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
983 * vax-tdep.c (vax_gdbarch_init): Update.
984 * v850-tdep.c (v850_gdbarch_init): Update.
985 * sparc-tdep.c (sparc_gdbarch_init): Update.
986 * sh-tdep.c (sh_gdbarch_init): Update.
987 * s390-tdep.c (s390_gdbarch_init): Update.
988 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
989 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
990 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
991 * mips-tdep.c (mips_gdbarch_init): Update.
992 * mcore-tdep.c (mcore_gdbarch_init): Update.
993 * m68k-tdep.c (m68k_gdbarch_init): Update.
994 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
995 * ia64-tdep.c (ia64_gdbarch_init): Update.
996 * i386-tdep.c (i386_gdbarch_init): Update.
997 * h8300-tdep.c (h8300_gdbarch_init): Update.
998 * frv-tdep.c (frv_gdbarch_init): Update.
999 * d10v-tdep.c (d10v_gdbarch_init): Update.
1000 * cris-tdep.c (cris_gdbarch_init): Update.
1001 * breakpoint.c (deprecated_frame_in_dummy): Update.
1002 * avr-tdep.c (avr_gdbarch_init): Update.
1003 * alpha-tdep.c (alpha_gdbarch_init): Update.
1004 * arm-tdep.c (arm_gdbarch_init): Update.
1005 * dummy-frame.c (dummy_frame_this_id): Update comments.
1006 * rs6000-tdep.c (rs6000_extract_struct_value_address): Ditto.
1007 * frame.c (legacy_get_prev_frame): Ditto.
1008 * valops.c (call_function_by_hand): Delete function.
1009 (hand_function_call): Rename to call_function_by_hand
1010
1011 2003-03-30 Andrew Cagney <cagney@redhat.com>
1012
1013 2002-11-10 Klee Dienes <kdienes@apple.com>
1014 * value.h (struct value): Update comment.
1015
1016 2003-03-30 Andrew Cagney <cagney@redhat.com>
1017
1018 * d10v-tdep.c: Replace _FP_REGNUM and FP_REGNUM with
1019 D10V_FP_REGNUM.
1020 (d10v_gdbarch_init): Do not set fp_regnum.
1021
1022 * frame.c (get_frame_base): Force ID initialization.
1023 (get_prev_frame): Move computation of the frame ID from here ...
1024 (get_frame_id): ... to here.
1025 (legacy_get_prev_frame): Mark the frame ID as valid.
1026 * frame.h (struct frame_info): Add field "id_p".
1027
1028 2003-03-30 Mark Kettenis <kettenis@gnu.org>
1029
1030 * i386-tdep.c (i386_store_struct_return): Removed.
1031 (i386_gdbarch_init): Don't set deprecated_store_struct_return.
1032
1033 2003-03-30 Andrew Cagney <cagney@redhat.com>
1034
1035 * gdbarch.sh (DEPRECATED_DUMMY_WRITE_SP): Replace TARGET_WRITE_SP.
1036 * gdbarch.h, gdbarch.c: Regenerate.
1037 * v850-tdep.c (v850_gdbarch_init): Set deprecated_dummy_write_sp.
1038 * xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
1039 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1040 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1041 * i386-tdep.c (i386_gdbarch_init): Ditto.
1042 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1043 * cris-tdep.c (cris_gdbarch_init): Ditto.
1044 * vax-tdep.c (vax_gdbarch_init): Ditto.
1045 * s390-tdep.c (s390_gdbarch_init): Ditto.
1046 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1047 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1048 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1049 * sparc-tdep.c (sparc_push_dummy_frame, sparc_pop_frame): Update.
1050 * config/sparc/tm-sp64.h (DEPRECATED_DUMMY_WRITE_SP): Update.
1051 * config/pa/tm-hppa.h (DEPRECATED_DUMMY_WRITE_SP): Define.
1052 * sparc-tdep.c (sparc_gdbarch_init): Update.
1053 * sh-tdep.c (sh_gdbarch_init): Update.
1054 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1055 * mips-tdep.c (mips_gdbarch_init): Update.
1056 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1057 * ia64-tdep.c (ia64_gdbarch_init): Update.
1058 * frv-tdep.c (frv_gdbarch_init): Update.
1059 * avr-tdep.c (avr_gdbarch_init): Update.
1060 * valops.c (hand_function_call): Replace TARGET_WRITE_SP with
1061 DEPRECATED_DUMMY_WRITE_SP. Call when the method is available,
1062 instead of when push_dummy_call is not available.
1063
1064 2003-03-30 Andrew Cagney <cagney@redhat.com>
1065
1066 * infttrace.c: Include "gdbthread.h".
1067 (parent_attach_all): Fix function signature.
1068 (call_ptrace): Update call.
1069 * Makefile.in (infttrace.o): Update dependencies.
1070
1071 2003-03-30 Andrew Cagney <cagney@redhat.com>
1072
1073 * gdbarch.sh (DEPRECATED_PUSH_RETURN_ADDRESS): Replace
1074 PUSH_RETURN_ADDRESS.
1075 * gdbarch.h, gdbarch.c: Regenerate.
1076 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1077 * x86-64-tdep.c (x86_64_init_abi): Update.
1078 * v850-tdep.c (v850_gdbarch_init): Update.
1079 * sparc-tdep.c (sparc_gdbarch_init): Update.
1080 * sh-tdep.c (sh_gdbarch_init): Update.
1081 * s390-tdep.c (s390_gdbarch_init): Update.
1082 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1083 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1084 * mips-tdep.c (mips_gdbarch_init): Update.
1085 * mcore-tdep.c (mcore_gdbarch_init): Update.
1086 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1087 * ia64-tdep.c (ia64_gdbarch_init): Update.
1088 * i386-tdep.c (i386_gdbarch_init): Update.
1089 * h8300-tdep.c (h8300_gdbarch_init): Update.
1090 * frv-tdep.c (frv_gdbarch_init): Update.
1091 * cris-tdep.c (cris_gdbarch_init): Update.
1092 * avr-tdep.c (avr_gdbarch_init): Update.
1093 * arm-tdep.c (arm_gdbarch_init): Update.
1094 * valops.c (hand_function_call): Update.
1095
1096 2003-03-29 Andrew Cagney <cagney@redhat.com>
1097
1098 * d10v-tdep.c (d10v_gdbarch_init): Do not set call_dummy_words or
1099 sizeof_call_dummy_words.
1100 * gdbarch.sh (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Always
1101 define.
1102 * gdbarch.h: Regenerate.
1103
1104 2003-03-29 Andrew Cagney <cagney@redhat.com>
1105
1106 * infttrace.h: New file.
1107 * hpread.c: Include "gdb_assert.h" and "somsolib.h".
1108 (hpread_get_textlow): Detect an uninitialized dn_bufp.
1109 (hpread_read_doc_function_type): Detect an initialized type1.
1110 (hpread_quick_traverse): Initialize mod_name_string.
1111 * somsolib.h: Add #ifdef SOMSOLIB_H wrapper.
1112 (som_solib_get_solib_by_pc): Declare.
1113 (so_lib_thread_start_addr): Declare.
1114 (no_shared_libraries): Declare.
1115 * somread.c (init_import_symbols): Make static. Add forward
1116 declaration.
1117 * config/pa/nm-hppah.h: Include "infttrace.h" for
1118 parent_attach_all.
1119 (hppa_insert_hw_watchpoint): Declare.
1120 (hppa_can_use_hw_watchpoint, hppa_remove_hw_watchpoint): Declare.
1121 * hppah-nat.c: Include "gdb_string.h".
1122 (parent_attach_all): Delete extern declaration, moved to
1123 "infttrace.h".
1124 (hppa_can_use_hw_watchpoint): Change type of "type" parameter to
1125 int.
1126 (hppa_remove_hw_watchpoint, hppa_insert_hw_watchpoint): Ditto.
1127 * Makefile.in (infttrace_h): Define.
1128 (hpread.o): Update dependencies.
1129 (hppah-nat.o, hppa-hpux-tdep.o, hppa-tdep.o): Ditto.
1130 * hppa-hpux-tdep.c: Include "gdb_string.h".
1131 * hppa-tdep.c (hppa_frame_saved_pc): Initialize "old_pc".
1132 * infrun.c (handle_inferior_event): Always initialize
1133 stepped_after_stopped_by_watchpoint. Add default and remove
1134 fallthrough in switch statement.
1135 * infttrace.c (hppa_can_use_hw_watchpoint): Change type of "type"
1136 parameter to int.
1137 (hppa_remove_hw_watchpoint): Ditto.
1138
1139 2003-03-29 Andrew Cagney <cagney@redhat.com>
1140
1141 * ns32k-tdep.c (ns32k_gdbarch_init): Set the call dummy breakpoint
1142 offset.
1143
1144 2003-03-29 Richard Earnshaw <rearnsha@arm.com>
1145
1146 * arm-tdep.c (arm_push_arguments): Delete.
1147 (struct stack_item): New type.
1148 (push_stack_item, pop_stack_item, arm_push_dummy_call): New functions.
1149 (arm_store_struct_return): Delte.
1150 (arm_gdbarch_init): Register arm_push_dummy_call. Don't register
1151 arm_push_arguments or arm_store_struct_return.
1152
1153 2003-03-28 Andrew Cagney <cagney@redhat.com>
1154
1155 * Makefile.in (d10v-tdep.o): Update dependencies.
1156 * remote.h (target_resume_hook, target_wait_loop_hook): Declare.
1157 * d10v-tdep.c: Include "remote.h".
1158 (target_resume_hook): Delete extern declaration.
1159 (target_wait_loop_hook): Ditto.
1160 (tdisassemble_command): Eliminate assignment in "if" conditional.
1161 (d10v_ts2_register_sim_regno): Eliminate call to
1162 legacy_register_sim_regno.
1163 (d10v_ts3_register_sim_regno): Ditto.
1164
1165 2003-03-28 Jeff Johnston <jjohnstn@redhat.com>
1166
1167 * thread.c: Reindented.
1168 * lin-lwp.c: Ditto.
1169 * linux-proc.c: Ditto.
1170
1171 2003-03-28 Bob Rossi <bob_rossi@cox.net>
1172
1173 * MAINTAINERS (write after approval): Add myself.
1174
1175 2003-03-27 Theodore A. Roth <troth@openavr.org>
1176
1177 * objc-exp.y: Add missing semi-colons.
1178
1179 2003-03-27 Andrew Cagney <cagney@redhat.com>
1180
1181 * regcache.c (write_sp): Delete function and references.
1182 * inferior.h (write_sp): Delete declaration.
1183 * valops.c (hand_function_call): Replace write_sp with
1184 TARGET_WRITE_SP.
1185 * sparc-tdep.c (sparc_push_dummy_frame): Ditto.
1186 (sparc_pop_frame): Ditto.
1187
1188 2003-03-27 Andrew Cagney <cagney@redhat.com>
1189
1190 * NEWS: Mention removal of support for hppa*-*-bsd* and
1191 hppa*-*-osf* natives, and hppa*-*-pro* target.
1192 * config/pa/xm-hppah.h: Do not include "pa/xm-pa.h".
1193 * config/pa/xm-pa.h: Obsolete file.
1194 * config/pa/xm-hppab.h: Obsolete file.
1195 * config/pa/nm-hppab.h: Obsolete file.
1196 * config/pa/tm-hppab.h: Obsolete file.
1197 * config/pa/tm-hppao.h: Obsolete file.
1198 * config/pa/nm-hppao.h: Obsolete file.
1199 * config/pa/tm-pro.h: Obsolete file.
1200 * config/pa/hppaosf.mt: Obsolete file.
1201 * config/pa/hppaosf.mh: Obsolete file.
1202 * config/pa/hppapro.mt: Obsolete file.
1203 * config/pa/hppabsd.mt: Obsolete file.
1204 * config/pa/hppabsd.mh: Obsolete file.
1205 * configure.host: Disable hppa*-*-bsd* and hppa*-*-osf*.
1206 * configure.tgt: Disable hppa*-*-bsd*, hppa*-*-pro* and
1207 hppa*-*-osf*.
1208
1209 2003-03-27 Andrew Cagney <cagney@redhat.com>
1210
1211 * d10v-tdep.c (d10v_gdbarch_init): Set push_dummy_call instead of
1212 push_arguments. Don't set push_return_address or write_sp.
1213 (d10v_push_dummy_call): Replace d10v_push_arguments.
1214 (d10v_push_return_address, d10v_write_sp): Delete function,
1215 handled by push_dummy_call.
1216
1217 2003-03-26 Andrew Cagney <cagney@redhat.com>
1218
1219 * gdbarch.sh (DEPRECATED_PUSH_ARGUMENTS): Rename PUSH_ARGUMENTS.
1220 (push_dummy_call): New pure multi-arch replacement with gdbarch,
1221 regcache and dummy_addr parameters.
1222 * gdbarch.h, gdbarch.c: Re-generate.
1223 * valops.c (hand_function_call): Use gdbarch_push_dummy_call when
1224 available; assume it will handle stack alignment and return
1225 address issues. Fall back to DEPRECATED_PUSH_ARGUMENTS and
1226 legacy_push_arguments.
1227 (legacy_push_arguments): Rename default_push_arguments.
1228 * value.h (legacy_push_arguments): Rename default_push_arguments.
1229 * i386-tdep.c (i386_push_arguments): Call legacy_push_arguments.
1230 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_ARGUMENTS): Update.
1231 * config/sparc/tm-sp64.h (DEPRECATED_PUSH_ARGUMENTS): Update.
1232 * config/pa/tm-hppa.h (DEPRECATED_PUSH_ARGUMENTS): Update.
1233 * config/i386/tm-symmetry.h: Update.
1234 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1235 * x86-64-tdep.c (x86_64_init_abi): Update.
1236 * v850-tdep.c (v850_gdbarch_init): Update.
1237 * sparc-tdep.c (sparc_gdbarch_init): Update.
1238 * sh-tdep.c (sh_gdbarch_init): Update.
1239 * s390-tdep.c (s390_gdbarch_init): Update.
1240 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1241 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1242 * mips-tdep.c (mips_gdbarch_init): Update.
1243 * mcore-tdep.c (mcore_gdbarch_init): Update.
1244 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1245 * ia64-tdep.c (ia64_gdbarch_init): Update.
1246 * i386-tdep.c (i386_gdbarch_init): Update.
1247 * hppa-tdep.c (hppa_gdbarch_init): Update.
1248 * h8300-tdep.c (h8300_gdbarch_init): Update.
1249 * frv-tdep.c (frv_gdbarch_init): Update.
1250 * d10v-tdep.c (d10v_gdbarch_init): Update.
1251 * cris-tdep.c (cris_gdbarch_init): Update.
1252 * avr-tdep.c (avr_gdbarch_init): Update.
1253 * arm-tdep.c (arm_gdbarch_init): Update.
1254 * arm-linux-tdep.c (arm_linux_init_abi): Update.
1255 * alpha-tdep.c (alpha_gdbarch_init): Update.
1256
1257 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
1258
1259 * signals/signals.c (do_target_signal_to_host): Correct realtime
1260 signal range test.
1261
1262 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
1263
1264 * breakpoint.c (handle_gnu_4_16_catch_command, get_catch_sals)
1265 (struct sal_chain, map_catch_names): Remove.
1266 (catch_exception_command_1): Don't call
1267 handle_gnu_4_16_catch_command.
1268
1269 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
1270
1271 From Mark Dettinger <dettinge@de.ibm.com>:
1272 * dwarf2cfi.c (read_2u): Increment pointer by two.
1273
1274 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
1275
1276 * signals/signals.c: Fix typos in last change.
1277
1278 2003-03-26 Daniel Jacobowitz <drow@mvista.com>
1279
1280 * signals/signals.c (REALTIME_LO, REALTIME_HI): Define if
1281 not already defined. Use __SIGRTMIN if available.
1282 (target_signal_from_host): Remove SIGRTMIN block.
1283 (do_target_signal_to_host): Remove SIGRTMIN block; check that
1284 the signal is within the realtime range.
1285
1286 2003-03-25 Adam Fedor <fedor@gnu.org>
1287
1288 * Makefile.in (infrun.o): Add $(language_h)
1289 * infrun.c (handle_inferior_event): Use skip_language_trampoline
1290 for language specific trampolines.
1291 * language.h (struct language_defn): Add skip_trampoline.
1292 (skip_language_trampoline): Declare.
1293 * language.c (unk_lang_trampoline, skip_language_trampoline):
1294 New functions.
1295 (unknown_language_defn, auto_language_defn, local_language_defn):
1296 Add ukn_lang_trampoline.
1297 * ada-lang.c (ada_language_defn): Add NULL for language
1298 specific skip_trampoline.
1299 * c-lang.c, f-lang.c, jv-lang.c, m2-lang.c, p-lang.c,
1300 scm-lang.c: Likewise.
1301 * objc-lang.c (objc_skip_trampoline): New function.
1302 (objc_language_defn): Add objc_skip_trampoline.
1303
1304 2003-03-25 Andrew Cagney <cagney@redhat.com>
1305
1306 * frame.c (get_prev_frame): Delay validating a frame's ID -
1307 non-NULL, didn't go backwards - until an attempt to unwind it to
1308 the previous frame.
1309
1310 2003-03-25 Andrew Cagney <cagney@redhat.com>
1311
1312 * gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Replace
1313 EXTRA_STACK_ALIGNMENT_NEEDED. Default to 0 not 1.
1314 * gdbarch.h, gdbarch.c: Re-generate.
1315 * config/sparc/tm-sparc.h
1316 (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Define.
1317 * sparc-tdep.c (sparc_gdbarch_init): Set
1318 deprecated_extra_stack_alignment_needed.
1319 * config/pa/tm-hppa.h (EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
1320 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not clear
1321 extra_stack_alignment_needed.
1322 * v850-tdep.c (v850_gdbarch_init): Ditto.
1323 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
1324 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1325 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1326 * cris-tdep.c (cris_gdbarch_init): Ditto.
1327 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1328 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1329
1330 2003-03-25 Andrew Cagney <cagney@redhat.com>
1331
1332 * gdbarch.sh (DEPRECATED_STORE_STRUCT_RETURN): Replace
1333 STORE_STRUCT_RETURN.
1334 * gdbarch.h, gdbarch.c: Regenerate.
1335 * d10v-tdep.c (d10v_store_struct_return): Delete function.
1336 (d10v_push_arguments): Set the struct return register.
1337 (d10v_gdbarch_init): Update.
1338 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1339 * x86-64-tdep.c (x86_64_init_abi): Update.
1340 * vax-tdep.c (vax_gdbarch_init): Update.
1341 * v850-tdep.c (v850_gdbarch_init): Update.
1342 * sparc-tdep.c (sparc_gdbarch_init): Update.
1343 * sh-tdep.c (sh_gdbarch_init): Update.
1344 * s390-tdep.c (s390_gdbarch_init): Update.
1345 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1346 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1347 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1348 * mips-tdep.c (mips_gdbarch_init): Update.
1349 * mcore-tdep.c (mcore_gdbarch_init): Update.
1350 * m68k-tdep.c (m68k_gdbarch_init): Update.
1351 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1352 * ia64-tdep.c (ia64_gdbarch_init): Update.
1353 * i386-tdep.c (i386_gdbarch_init): Update.
1354 * hppa-tdep.c (hppa_gdbarch_init): Update.
1355 * h8300-tdep.c (h8300_gdbarch_init): Update.
1356 * frv-tdep.c (frv_gdbarch_init): Update.
1357 * cris-tdep.c (cris_gdbarch_init): Update.
1358 * avr-tdep.c (avr_gdbarch_init): Update.
1359 * arm-tdep.c (arm_gdbarch_init): Update.
1360 * alpha-tdep.c (alpha_gdbarch_init): Update.
1361
1362 2003-03-25 Andrew Cagney <cagney@redhat.com>
1363
1364 * gdbarch.sh (CALL_DUMMY_STACK_ADJUST_P): Delete.
1365 (DEPRECATED_CALL_DUMMY_STACK_ADJUST): Replace
1366 CALL_DUMMY_STACK_ADJUST with a predicate variable.
1367 * gdbarch.h, gdbarch.c: Regenerate.
1368 * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
1369 call_dummy_stack_adjust_p.
1370 * vax-tdep.c (vax_gdbarch_init): Ditto.
1371 * v850-tdep.c (v850_gdbarch_init): Ditto.
1372 * sh-tdep.c (sh_gdbarch_init): Ditto.
1373 * s390-tdep.c (s390_gdbarch_init): Ditto.
1374 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
1375 * ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
1376 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
1377 * mips-tdep.c (mips_gdbarch_init): Ditto.
1378 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
1379 * m68k-tdep.c (m68k_gdbarch_init): Ditto.
1380 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
1381 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
1382 * i386-tdep.c (i386_gdbarch_init): Ditto.
1383 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
1384 * frv-tdep.c (frv_gdbarch_init): Ditto.
1385 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
1386 * cris-tdep.c (cris_gdbarch_init): Ditto.
1387 * avr-tdep.c (avr_gdbarch_init): Ditto.
1388 * arm-tdep.c (arm_gdbarch_init): Ditto.
1389 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
1390 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
1391 * config/sparc/tm-sparc.h (CALL_DUMMY_STACK_ADJUST): Update.
1392 * config/sparc/tm-sp64.h (CALL_DUMMY_STACK_ADJUST): Update.
1393 * sparc-tdep.c (sparc_gdbarch_init): Update. Do not set
1394 call_dummy_stack_adjust_p.
1395 * inferior.h (CALL_DUMMY_STACK_ADJUST_P): Delete macro.
1396 (CALL_DUMMY_STACK_ADJUST): Delete macro.
1397 * sparc-tdep.c (sparc32_push_arguments): Update.
1398 * valops.c (hand_function_call): Update.
1399
1400 2003-03-25 Corinna Vinschen <vinschen@redhat.com>
1401
1402 * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
1403 set_gdbarch_char_signed.
1404
1405 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
1406
1407 PR cli/548
1408 * arm-tdep.c (_initialize_arm_tdep): Command is "set arm disassembler".
1409
1410 2003-03-25 Richard Earnshaw <rearnsha@arm.com>
1411
1412 * arm-tdep.c (arm_gdbarch_init): Register the disassembler function.
1413 (_initialize_arm_tdep): Don't set tm_print_insn.
1414
1415 2003-03-24 Adam Fedor <fedor@gnu.org>
1416
1417 * Makefile.in (YYOBJ): Add objc-exp.tab.o
1418 * objc-lang.h: Add multiple inclusion protection.
1419 (start_msglist, add_msglist, end_msglist): Additional declarations.
1420
1421 2003-03-24 Richard Earnshaw <rearnsha@arm.com>
1422
1423 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): ARM_FLOAT_SOFT enum
1424 value was renamed to ARM_FLOAT_SOFT_FPA.
1425
1426 2003-03-23 Andrew Cagney <cagney@redhat.com>
1427
1428 * gdbarch.sh (DEPRECATED_FRAME_CHAIN): Replace FRAME_CHAIN.
1429 (DEPRECATED_FRAME_CHAIN_VALID): Replace FRAME_CHAIN_VALID.
1430 * gdbarch.h, gdbarch.c: Regenerate.
1431 * valops.c (hand_function_call): Update.
1432 * objfiles.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
1433 * frame.c (legacy_saved_regs_this_id): Update.
1434 (legacy_get_prev_frame, get_prev_frame, legacy_frame_p): Update.
1435 * dummy-frame.h: Update.
1436 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_CHAIN): Update.
1437 * config/pa/tm-hppa.h (DEPRECATED_FRAME_CHAIN_VALID): Update.
1438 * config/m68k/tm-vx68.h (DEPRECATED_FRAME_CHAIN): Update.
1439 * config/m68k/tm-os68k.h (DEPRECATED_FRAME_CHAIN): Update.
1440 * config/m68k/tm-sun3.h: Update.
1441 * blockframe.c (inside_main_func, frame_chain_valid): Update.
1442 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1443 * x86-64-tdep.c (x86_64_init_abi): Update.
1444 * vax-tdep.c (vax_gdbarch_init): Update.
1445 * v850-tdep.c (v850_gdbarch_init): Update.
1446 * sparc-tdep.c (sparc_frame_chain, sparc_gdbarch_init): Update.
1447 * sh-tdep.c (sh_gdbarch_init): Update.
1448 * s390-tdep.c (s390_gdbarch_init): Update.
1449 * rs6000-tdep.c (rs6000_frame_saved_pc): Update.
1450 (rs6000_gdbarch_init, rs6000_frame_saved_pc): Update.
1451 (frame_get_saved_regs): Update.
1452 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1453 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1454 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1455 * mips-tdep.c (mips_gdbarch_init): Update.
1456 * mcore-tdep.c (mcore_gdbarch_init): Update.
1457 * m68k-tdep.c (m68k_gdbarch_init): Update.
1458 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1459 * ia64-tdep.c (ia64_gdbarch_init): Update.
1460 * i386-tdep.c (i386_frame_num_args, i386_gdbarch_init): Update.
1461 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1462 (i386_interix_back_one_frame): Update.
1463 * hppa-tdep.c (hppa_gdbarch_init): Update.
1464 (hppa_init_extra_frame_info): Update.
1465 * h8300-tdep.c (h8300_gdbarch_init): Update.
1466 * frv-tdep.c (frv_gdbarch_init): Update.
1467 * cris-tdep.c (cris_gdbarch_init): Update.
1468 * avr-tdep.c (avr_gdbarch_init): Update.
1469 * arm-tdep.c (arm_gdbarch_init): Update.
1470 * alpha-tdep.c (alpha_gdbarch_init): Update.
1471
1472 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
1473
1474 * arm-tdep.h (arm_float_model): Add AUTO and LAST values.
1475 (arm_get_fp_model): Declare.
1476 * arm-tdep.c (fp_model_strings): New string array.
1477 (arm_fp_model, current_fp_model): New variables.
1478 (arm_get_fp_model): New function.
1479 (arm_set_fp): New function.
1480 (set_fp_model_sfunc): New function.
1481 (show_fp_model): New function.
1482 (_initialize_arm_tdep): Add new command to set/show the FPU.
1483 (arm_extract_return_value): Use arm_get_fp_model.
1484 (arm_store_return_value): Likewise.
1485 (arm_gdbarch_init): Default fpa model is softfpa. Call arm_set_fp
1486 to initialize the floating-point data types.
1487 * arm-linux-tdep.c (arm_linux_init_abi): The default floating point
1488 model is FPA.
1489
1490 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
1491
1492 * arm-tdep.c (show_arm_command): Don't print out help. Instead, show
1493 the current setting of each value.
1494 (_initialize_arm_tdep): Delete variable new_cmd and add new vars
1495 new_set and new_show. Use add_setshow_cmd_full and
1496 add_setshow_boolean_cmd as appropriate. Deprecate "set/show apcs32"
1497 commands and add new version as subcommands of "set/show arm".
1498
1499 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
1500
1501 * arm-tdep.c (setarmcmdlist, showarmcmdlist): New command lists.
1502 (set_arm_command, show_arm_command): New functions.
1503 (_initialize_arm_tdep): Add them.
1504 (num_disassembly_options): Renamed from num_flavor_options.
1505 (valid_disassembly_styles): Renamed from valid_flavors.
1506 (disassembly_style): Renamed from disassembly_flavor.
1507 (set_disassembly_style_sfunc): Renamed from
1508 set_disassembly_flavor_sfunc.
1509 (set_disassembly_style): Renamed from set_disassembly_flavor.
1510 (arm_othernames): Updated.
1511 (_initialize_arm_tdep): Deprecate "set/show disassembly-flavor"
1512 command. Add "set/show arm disassembly" commands. Deprecate
1513 "othernames" command.
1514
1515 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
1516
1517 * Makefile.in (elf_reloc_macros_h, elf_arm_h): Define.
1518 (arm-tdep.o): Depend on elf_arm_h.
1519
1520 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
1521
1522 * Makefile.in (coff_internal_h): Define.
1523 (arm-tdep.o): Update dependencies.
1524
1525 2003-03-22 Richard Earnshaw <rearnsha@arm.com>
1526
1527 * arm-tdep.c (prologue_cache): Delete.
1528 (check_prologue_cache, save_prologue_cache): Delete.
1529 (arm_scan_prologue): Don't check or update the prologue_cache.
1530 (arm_gdb_arch_init): Don't initialize it.
1531 (_initialize_arm_tdep): Likewise.
1532
1533 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1534
1535 * MAINTAINERS (tui): Maintainer of tui code.
1536
1537 2003-03-21 Corinna Vinschen <vinschen@redhat.com>
1538
1539 * Makefile.in (ALLDEPFILES): Add i386-cygwin-tdep.c.
1540 (i386-cygwin-tdep.o): Add dependencies.
1541 * defs.h (enum gdb_osabi): Add GDB_OSABI_CYGWIN.
1542 * i386-cygwin-tdep.c: New file.
1543 * osabi.c (gdb_osabi_name): Add string for GDB_OSABI_CYGWIN.
1544 * config/i386/cygwin.mt (TDEPFILES): Add i386-cygwin-tdep.o.
1545
1546 2003-03-20 Andrew Cagney <cagney@redhat.com>
1547
1548 * infrun.c (DYNAMIC_TRAMPOLINE_NEXTPC): Delete macro.
1549 (handle_inferior_event): Remove code calling
1550 DYNAMIC_TRAMPOLINE_NEXTPC.
1551
1552 * Makefile.in (init.c): Don't add $(srcdir) prefix when a file
1553 already has a full path.
1554
1555 * main.c (gdb_main): Return 1.
1556 (captured_main): Call error to report an invalid interpreter.
1557
1558 * Makefile.in (alpha-osf1-tdep.o): Update dependencies.
1559 * alpha-osf1-tdep.c: Include "gdb_string.h".
1560
1561 2003-03-19 J. Brobecker <brobecker@gnat.com>
1562
1563 Continuing work to convert the hppa targets to multiarch partial.
1564
1565 * hppa-tdep.c (hppa_gdbarch_init): Set the push_dummy_frame gdbarch
1566 method, now that hppa_push_dummy_frame has a conformant prototype.
1567 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Wrap macro
1568 inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation
1569 for the switch to multiarch partial.
1570
1571 2003-03-19 Kevin Buettner <kevinb@redhat.com>
1572
1573 * mdebugread.c (parse_symbol): For stEnd, we're done counting
1574 when iss is issNull.
1575
1576 2003-03-18 Kevin Buettner <kevinb@redhat.com>
1577
1578 * mips-tdep.c (mips_register_name): Fix fencepost error involving
1579 NUM_REGS bounds check.
1580
1581 2003-03-18 Kevin Buettner <kevinb@redhat.com>
1582
1583 * Makefile.in (mips-tdep.o): Add dependency on $(gdb_assert_h).
1584 * mips-tdep.c (gdb_assert.h): Include.
1585 (mips_generic_reg_names, mips_processor_reg_names): Make static.
1586 (mips_register_name): Handle integer registers explicitly. Add
1587 bounds checking.
1588 (mips_r3041_reg_names, mips_r3051_reg_names, mips_r3081_reg_names)
1589 (mips_lsi33k_reg_names): Don't list integer registers; they're
1590 handled by mips_register_name() now.
1591 * config/mips/tm-irix3.h (MIPS_REGISTER_NAMES): Likewise.
1592 * config/mips/tm-irix6.h (MIPS_REGISTER_NAMES): Likewise.
1593 * config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Likewise.
1594 * config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Likewise.
1595 * config/mips/tm-tx39l.h (MIPS_REGISTER_NAMES): Likewise.
1596
1597 2003-03-18 Andrew Cagney <cagney@redhat.com>
1598
1599 * printcmd.c (print_scalar_formatted): Change VALADDR parameter to
1600 a void pointer.
1601 * gdbtypes.h (print_scalar_formatted): Update declaration.
1602 * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
1603
1604 2003-03-18 J. Brobecker <brobecker@gnat.com>
1605
1606 * infrun.c (observer.h): Add #include.
1607 (normal_stop): Add call to observer_notify_normal_stop.
1608 * Makefile.in (infrun.o): Add dependency on observer.h.
1609
1610 2003-03-18 J. Brobecker <brobecker@gnat.com>
1611
1612 Continuing work to convert the hppa targets to multiarch partial.
1613 * hppa-tdep.c (hppa_push_dummy_frame): Remove unused function
1614 parameter. Reformat comment.
1615 * config/pa/tm-hppa.h (hppa_push_dummy_frame): Update profile.
1616 (DEPRECATED_PUSH_DUMMY_FRAME): Update call to hppa_push_dummy_frame()
1617 to match new profile.
1618
1619 2003-03-18 J. Brobecker <brobecker@gnat.com>
1620
1621 * hppa-tdep.c (hppa_push_dummy_frame): Remove hack which does not
1622 appear to be working in any case.
1623
1624 2003-03-18 J. Brobecker <brobecker@gnat.com>
1625
1626 * observer.c (observer_test_first_observer): New static variable.
1627 (observer_test_second_observer): Likewise.
1628 (observer_test_third_observer): Likewise.
1629 (observer_test_first_notification_function): New static function.
1630 (observer_test_second_notification_function): Likewise.
1631 (observer_test_third_notification_function): Likewise.
1632
1633 2003-03-17 J. Brobecker <brobecker@gnat.com>
1634
1635 * hppa-tdep.c (gdb_assert.h): Add missing #include.
1636 * somsolib.c (gdb_assert.h): Likewise.
1637 * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h.
1638 (somsolib.o): Likewise.
1639
1640 2003-03-17 Andrew Cagney <cagney@redhat.com>
1641
1642 * disasm.c (gdb_disassembly): Set di.mach using the architecture's
1643 BFD. Simplify setting of di.endian.
1644
1645 2003-03-17 Andrew Cagney <cagney@redhat.com>
1646
1647 * rs6000-tdep.c (ppc_floating_point_unit_p): New function.
1648 * ppc-tdep.h (ppc_floating_point_unit_p): Declare.
1649
1650 From Elena Zannoni <ezannoni@redhat.com>
1651 * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Handle e500
1652 vector and floating-point parameters.
1653 (ppc_sysv_abi_use_struct_convention): Handle e500 struct return
1654 convention.
1655 (ppc_sysv_abi_broken_use_struct_convention): Ditto.
1656
1657 2003-03-17 Fernando Nasser <fnasser@redhat.com>
1658
1659 * MAINTAINERS: Remove my name from several maintainership roles.
1660
1661 2003-03-17 Andrew Cagney <cagney@redhat.com>
1662
1663 Fix frame off-by-one bug.
1664 * frame-unwind.h (frame_this_id_ftype): Replace
1665 frame_unwind_id_ftype.
1666 (frame_prev_register_ftype): Replace frame_unwind_reg_ftype.
1667 (struct frame_unwind): Replace "id" with "this_id". Replace "reg"
1668 with "prev_register".
1669 * frame-unwind.c (frame_unwind_find_by_pc): Return
1670 legacy_saved_regs_unwind instead of trad_frame_unwind. Update
1671 comment.
1672 * dummy-frame.c (cached_find_dummy_frame): Delete function.
1673 (dummy_frame_this_id): Replace dummy_frame_id_unwind.
1674 (dummy_frame_prev_register): Replace dummy_frame_register_unwind.
1675 (dummy_frame_unwind): Update.
1676 * sentinel-frame.c (sentinel_frame_prev_register): Replace
1677 sentinel_frame_register_unwind.
1678 (sentinel_frame_this_id): Replace sentinel_frame_id_unwind.
1679 (sentinel_frame_unwinder): Update.
1680 * frame.h (legacy_saved_regs_unwind): Replace trad_frame_unwind.
1681 (struct frame_info): Rename "unwind_cache" to "prologue_cache".
1682 * frame.c (create_sentinel_frame): Update. Initialize
1683 "prologue_cache" instead of "unwind_cache".
1684 (frame_register_unwind): Call this frame's prev_register with the
1685 next frame and this frame's prologue cache.
1686 (get_prev_frame): Simplify. Always call prev frame's this_id with
1687 this frame and prev frame's prologue cache. Document that this
1688 call is shifted one to the left when compared to the
1689 frame_register_unwind call.
1690 (legacy_saved_regs_prev_register): Replace
1691 frame_saved_regs_register_unwind.
1692 (legacy_saved_regs_this_id): Replace frame_saved_regs_id_unwind.
1693 (legacy_saved_regs_unwinder): Replace trad_frame_unwinder.
1694 (legacy_saved_regs_unwind): Replace trad_frame_unwind.
1695 * d10v-tdep.c (d10v_frame_this_id): Replace d10v_frame_id_unwind.
1696 (d10v_frame_unwind): Update.
1697 (d10v_frame_prev_register): Replace d10v_frame_register_unwind.
1698 (d10v_frame_unwind_cache): Replace this "fi" with "next_frame".
1699 (saved_regs_unwinder): Replace this "frame" with "next_frame", and
1700 "saved_regs" with "this_saved_regs".
1701
1702 2003-03-16 Andrew Cagney <cagney@redhat.com>
1703
1704 * frame.c (frame_pop): Don't call target_store_registers. Fix
1705 problem reported by Mark Kettenis.
1706
1707 2003-03-16 Mark Kettenis <kettenis@gnu.org>
1708
1709 * i386-tdep.c (i386_register_type): Renamed from
1710 i386_register_virtual_type. Adjust function signature.
1711 (i386_gdbarch_init): Set register_type instead of
1712 deprecated_max_register_raw_size,
1713 deprecated_max_register_virtual_size and register_virtual_type.
1714
1715 2003-03-14 Andrew Cagney <cagney@redhat.com>
1716
1717 * frame.c (get_prev_frame): When a legacy frame, always call
1718 legacy_get_prev_frame. Simplify unwind code using assumption that
1719 the unwinder is new.
1720 (legacy_get_prev_frame): Handle legacy sentinel frame unwind here.
1721 (legacy_frame_p): When no gdbarch_unwind_dummy_id, or
1722 SAVED_DUMMY_FRAME_TOS, assume a legacy frame.
1723
1724 2003-03-14 Andrew Cagney <cagney@redhat.com>
1725
1726 * frame.c (get_saved_register): Delete function.
1727 * frame.h (get_saved_register): Delete declaration.
1728 * xstormy16-tdep.c: Update comment.
1729 * regcache.h: Update comments.
1730 * sparc-tdep.c (sparc_init_extra_frame_info): Instead of
1731 get_saved_register and extract_address, use
1732 frame_read_unsigned_register.
1733 (sparc_frame_saved_pc): Ditto.
1734 (sparc_get_saved_register): Instead of get_saved_register, use
1735 frame_register.
1736 (sparc_pop_frame): Ditto.
1737 * findvar.c: Update comments.
1738 (value_of_register): Call frame_register instead of
1739 get_saved_register.
1740 (value_from_register): Ditto.
1741 * config/sparc/tm-sparc.h: Update comment.
1742 * breakpoint.c: Update comment.
1743
1744 2003-03-14 Andrew Cagney <cagney@redhat.com>
1745
1746 * gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
1747 GET_SAVED_REGISTER.
1748 * gdbarch.h, gdbarch.c: Re-generate.
1749 * frame.h: Update comments.
1750 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1751 * x86-64-tdep.c (x86_64_init_abi): Update.
1752 * sparc-tdep.c (sparc_gdbarch_init): Update.
1753 * sh-tdep.c (sh_gdbarch_init): Update.
1754 * mips-tdep.c (mips_gdbarch_init): Update.
1755 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1756 * cris-tdep.c (cris_gdbarch_init): Update.
1757 * ia64-tdep.c (ia64_gdbarch_init): Update.
1758 * frame.c (frame_register): Update.
1759 (get_saved_register): Update.
1760 * config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
1761
1762 2003-03-13 Andrew Cagney <cagney@redhat.com>
1763
1764 * gdbarch.sh (DEPRECATED_POP_FRAME): Replace POP_FRAME.
1765 * gdbarch.h, gdbarch.c: Regenerate.
1766 * valops.c (hand_function_call): Update comment.
1767 * stack.c (return_command): Update comment.
1768 * config/sparc/tm-sparc.h (DEPRECATED_POP_FRAME): Update.
1769 * config/pa/tm-hppa.h (DEPRECATED_POP_FRAME): Update.
1770 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1771 * x86-64-tdep.c (x86_64_init_abi): Update.
1772 * vax-tdep.c (vax_gdbarch_init): Update.
1773 * v850-tdep.c (v850_gdbarch_init): Update.
1774 * sparc-tdep.c (sparc_gdbarch_init): Update.
1775 * sh-tdep.c (sh_gdbarch_init): Update.
1776 * s390-tdep.c (s390_gdbarch_init): Update.
1777 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1778 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1779 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1780 * mips-tdep.c (mips_gdbarch_init): Update.
1781 * mcore-tdep.c (mcore_gdbarch_init): Update.
1782 * m68k-tdep.c (m68k_gdbarch_init): Update.
1783 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1784 * ia64-tdep.c (ia64_gdbarch_init): Update.
1785 * i386-tdep.c (i386_gdbarch_init): Update.
1786 * hppa-tdep.c (hppa_gdbarch_init): Update.
1787 * h8300-tdep.c (h8300_gdbarch_init): Update.
1788 * frv-tdep.c (frv_gdbarch_init): Update.
1789 * cris-tdep.c (cris_gdbarch_init): Update.
1790 * avr-tdep.c (avr_gdbarch_init): Update.
1791 * arm-tdep.c (arm_gdbarch_init): Update.
1792 * alpha-tdep.c (alpha_gdbarch_init): Update.
1793
1794 2003-03-13 Andrew Cagney <cagney@redhat.com>
1795
1796 * frame.c (legacy_frame_p): New function.
1797 (get_prev_frame): Use legacy_frame_p.
1798 * frame.h (legacy_frame_p): Declare.
1799
1800 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1801
1802 * MAINTAINERS (write after approval): Alphabetically
1803 listing corrected.
1804
1805 2003-03-13 D. Venkatasubramanian <dvenkat@noida.hcltech.com>
1806
1807 * MAINTAINERS (write after approval): Add myself.
1808
1809 2003-03-12 Andrew Cagney <cagney@redhat.com>
1810
1811 * frame.c (get_prev_frame): Rename the frame parameter to
1812 "this_frame".
1813 (get_next_frame, legacy_get_prev_frame): Ditto.
1814
1815 2003-03-12 Andrew Cagney <cagney@redhat.com>
1816
1817 * frame.c (get_current_frame): Check target_has_registers before
1818 checking target_has_stack.
1819 * eval.c (evaluate_subexp_standard): Use get_selected_frame,
1820 instead of deprecated_selected_frame.
1821 * findvar.c (value_of_register): Pass "frame", not
1822 deprecated_selected_frame, to value_of_builtin_reg.
1823
1824 2003-03-12 Andrew Cagney <cagney@redhat.com>
1825
1826 * regcache.c (regcache_cooked_write_signed): New function.
1827 (regcache_cooked_write_unsigned): New function.
1828 (regcache_cooked_read_unsigned): Fix regnum in range assertion.
1829 (regcache_cooked_read_signed): Fix regnum in range assertion.
1830 * regcache.h (regcache_cooked_write_signed): Declare.
1831 (regcache_cooked_write_unsigned): Declare.
1832
1833 2003-03-12 Andrew Cagney <cagney@redhat.com>
1834
1835 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1836 * gdbarch.h, gdbarch.c: Re-generate.
1837 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1838 * x86-64-tdep.h: Update.
1839 * x86-64-tdep.c (x86_64_init_abi): Update.
1840 * v850-tdep.c (v850_gdbarch_init): Update.
1841 * sparc-tdep.c (sparc_gdbarch_init): Update.
1842 * sh-tdep.c (sh_gdbarch_init): Update.
1843 * s390-tdep.c (s390_gdbarch_init): Update.
1844 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1845 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1846 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1847 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1848 * mips-tdep.c (mips_gdbarch_init): Update.
1849 * mcore-tdep.c (mcore_gdbarch_init): Update.
1850 * m68k-tdep.c (m68k_gdbarch_init): Update.
1851 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1852 * ia64-tdep.c (ia64_gdbarch_init): Update.
1853 * i386-tdep.c (i386_gdbarch_init): Update.
1854 * i386-interix-tdep.c (i386_interix_init_abi): Update.
1855 * hppa-tdep.c (hppa_gdbarch_init): Update.
1856 * h8300-tdep.c (h8300_gdbarch_init): Update.
1857 * frv-tdep.c (frv_gdbarch_init): Update.
1858 * cris-tdep.c (cris_gdbarch_init): Update.
1859 * avr-tdep.c (avr_gdbarch_init): Update.
1860 * arm-tdep.c (arm_gdbarch_init): Update.
1861 * alpha-tdep.c (alpha_gdbarch_init): Update.
1862 * sh-tdep.c (sh_init_extra_frame_info): Update.
1863 (sh64_init_extra_frame_info): Update.
1864 * ns32knbsd-nat.c (frame_num_args): Update.
1865 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
1866 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
1867 (xstormy16_frame_chain_valid): Update.
1868 * vax-tdep.c (vax_saved_pc_after_call): Update.
1869 * v850-tdep.c (v850_frame_chain): Update.
1870 (v850_pop_frame): Update.
1871 (v850_init_extra_frame_info): Update.
1872 * sparc-tdep.c (setup_arbitrary_frame): Update.
1873 * ns32k-tdep.c (umax_frame_num_args): Update.
1874 * s390-tdep.c (s390_pop_frame_regular): Update.
1875 * mn10300-tdep.c (mn10300_frame_chain): Update.
1876 (mn10300_pop_frame_regular): Update.
1877 (mn10300_init_extra_frame_info): Update.
1878 * mips-tdep.c (mips_init_frame_pc_first): Update.
1879 (mips_frame_chain): Update.
1880 (mips_pop_frame): Update.
1881 * mcore-tdep.c (mcore_frame_chain): Update.
1882 (mcore_pop_frame): Update.
1883 (mcore_init_extra_frame_info): Update.
1884 * arch-utils.c (init_frame_pc_default): Update.
1885 * m68k-tdep.c (isi_frame_num_args): Update.
1886 (delta68_frame_num_args): Update.
1887 (news_frame_num_args): Update.
1888 * ia64-tdep.c (ia64_pop_frame_regular): Update.
1889 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
1890 (alpha_frame_chain): Update.
1891 (alpha_pop_frame): Update.
1892 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
1893 (hppa_init_extra_frame_info): Update.
1894 (hppa_frame_chain): Update.
1895 (hppa_frame_chain_valid): Update.
1896 * cris-tdep.c (cris_init_extra_frame_info): Update.
1897 * avr-tdep.c (avr_init_extra_frame_info): Update.
1898 * arm-tdep.c (arm_frame_chain_valid): Update.
1899 (arm_init_extra_frame_info): Update.
1900 (arm_pop_frame): Update.
1901 * frame.c (frame_pc_unwind): Update.
1902 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
1903 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1904 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
1905 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
1906 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
1907 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
1908
1909 2003-03-12 Andrew Cagney <cagney@redhat.com>
1910
1911 Eliminate the need for POP_FRAME.
1912 * frame.c (do_frame_unwind_register): New function.
1913 (frame_pop): When no POP_FRAME, pop the frame using register
1914 unwind and a scratch regcache.
1915 (frame_saved_regs_pop): Delete function.
1916 (trad_frame_unwinder): Update.
1917 * d10v-tdep.c (d10v_frame_pop): Delete function.
1918 (d10v_frame_unwind): Update.
1919 * sentinel-frame.c (sentinel_frame_pop): Delete function.
1920 (sentinel_frame_unwinder): Update.
1921 * dummy-frame.c (dummy_frame_pop): Delete function.
1922 (dummy_frame_unwind): Update.
1923 * frame-unwind.h (frame_unwind_pop_ftype): Delete definition.
1924 (struct frame_unwind): Update.
1925
1926 2003-03-11 Kevin Buettner <kevinb@redhat.com>
1927
1928 * mips-tdep.c (mips_ecoff_reg_to_regnum): Rename to
1929 mips_dwarf_dwarf2_ecoff_reg_to_regnum().
1930 (mips_dwarf_dwarf2_ecoff_reg_to_regnum, mips_stab_reg_to_regnum):
1931 Do range checks on register number obtained from debugging info.
1932 (mips_gdbarch_init): Call set_gdbarch_dwarf_reg_to_regnum() and
1933 set_gdbarch_dwarf2_reg_to_regnum(). Adjust call of
1934 set_gdbarch_ecoff_reg_to_regnum() to account for new name of
1935 mapping function.
1936 (do_fp_register_row): Fix typo which caused double type to be
1937 used when attempting to unpack a float.
1938
1939 2003-03-11 J. Brobecker <brobecker@gnat.com>
1940
1941 * breakpoint.c (bpstat_stop_status): Fix a small memory leak.
1942
1943 2003-03-11 Andrew Cagney <cagney@redhat.com>
1944
1945 * frame.c (deprecated_update_frame_pc_hack): Don't assume a next
1946 frame. Problem found by Corinna Vinschen.
1947
1948 2003-03-11 Pierre Muller <muller@ics.u-strasbg.fr>
1949
1950 * doublest.c (floatformat_from_length): Accept also
1951 the real size of 'long double' type.
1952
1953 2003-03-10 Daniel Jacobowitz <drow@mvista.com>
1954
1955 From Klee Dienes <kdienes@apple.com>:
1956 * breakpoint.c (bpstat_copy): Copy the command lines as well
1957 as the old value, to match what is freed in bpstat_clear.
1958
1959 2003-03-10 David Carlton <carlton@math.stanford.edu>
1960
1961 * minsyms.c (add_minsym_to_hash_table): Replace
1962 DEPRECATED_SYMBOL_NAME by SYMBOL_LINKAGE_NAME.
1963 (compare_minimal_symbols, compact_minimal_symbols)
1964 (install_minimal_symbols, find_solib_trampoline_target): Ditto.
1965 (lookup_minimal_symbol_text): Use strcmp on linkage names instead
1966 of DEPRECATED_SYMBOL_MATCHES_NAME.
1967 (lookup_minimal_symbol_solib_trampoline): Ditto.
1968
1969 2003-03-10 Andrew Cagney <cagney@redhat.com>
1970
1971 * regcache.h (regcache_cooked_read_ftype): Define.
1972 (regcache_save, regcache_restore): Add a cooked_read parameter.
1973 * regcache.c (regcache_save, regcache_restore): Update.
1974 (do_cooked_read): New function.
1975 (regcache_cpy): Pass do_cooked_read to regcache_save and
1976 regcache_restore.
1977
1978 2003-03-10 Andrew Cagney <cagney@redhat.com>
1979
1980 * gdbarch.sh (DEPRECATED_FRAME_SAVED_PC): Replace FRAME_SAVED_PC.
1981 * gdbarch.h, gdbarch.c: Re-generate.
1982 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
1983 * x86-64-tdep.h: Update.
1984 * x86-64-tdep.c (x86_64_init_abi): Update.
1985 * v850-tdep.c (v850_gdbarch_init): Update.
1986 * sparc-tdep.c (sparc_gdbarch_init): Update.
1987 * sh-tdep.c (sh_gdbarch_init): Update.
1988 * s390-tdep.c (s390_gdbarch_init): Update.
1989 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
1990 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
1991 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
1992 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
1993 * mips-tdep.c (mips_gdbarch_init): Update.
1994 * mcore-tdep.c (mcore_gdbarch_init): Update.
1995 * m68k-tdep.c (m68k_gdbarch_init): Update.
1996 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
1997 * ia64-tdep.c (ia64_gdbarch_init): Update.
1998 * i386-tdep.c (i386_gdbarch_init): Update.
1999 * i386-interix-tdep.c (i386_interix_init_abi): Update.
2000 * hppa-tdep.c (hppa_gdbarch_init): Update.
2001 * h8300-tdep.c (h8300_gdbarch_init): Update.
2002 * frv-tdep.c (frv_gdbarch_init): Update.
2003 * cris-tdep.c (cris_gdbarch_init): Update.
2004 * avr-tdep.c (avr_gdbarch_init): Update.
2005 * arm-tdep.c (arm_gdbarch_init): Update.
2006 * alpha-tdep.c (alpha_gdbarch_init): Update.
2007 * sh-tdep.c (sh_init_extra_frame_info): Update.
2008 (sh64_init_extra_frame_info): Update.
2009 * ns32knbsd-nat.c (frame_num_args): Update.
2010 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Update.
2011 * xstormy16-tdep.c (xstormy16_pop_frame): Update.
2012 (xstormy16_frame_chain_valid): Update.
2013 * vax-tdep.c (vax_saved_pc_after_call): Update.
2014 * v850-tdep.c (v850_frame_chain): Update.
2015 (v850_pop_frame): Update.
2016 (v850_init_extra_frame_info): Update.
2017 * sparc-tdep.c (setup_arbitrary_frame): Update.
2018 * ns32k-tdep.c (umax_frame_num_args): Update.
2019 * s390-tdep.c (s390_pop_frame_regular): Update.
2020 * mn10300-tdep.c (mn10300_frame_chain): Update.
2021 (mn10300_pop_frame_regular): Update.
2022 (mn10300_init_extra_frame_info): Update.
2023 * mips-tdep.c (mips_init_frame_pc_first): Update.
2024 (mips_frame_chain): Update.
2025 (mips_pop_frame): Update.
2026 * mcore-tdep.c (mcore_frame_chain): Update.
2027 (mcore_pop_frame): Update.
2028 (mcore_init_extra_frame_info): Update.
2029 * arch-utils.c (init_frame_pc_default): Update.
2030 * m68k-tdep.c (isi_frame_num_args): Update.
2031 (delta68_frame_num_args): Update.
2032 (news_frame_num_args): Update.
2033 * ia64-tdep.c (ia64_pop_frame_regular): Update.
2034 * alpha-tdep.c (alpha_init_frame_pc_first): Update.
2035 (alpha_frame_chain): Update.
2036 (alpha_pop_frame): Update.
2037 * hppa-tdep.c (hppa_saved_pc_after_call): Update.
2038 (hppa_init_extra_frame_info): Update.
2039 (hppa_frame_chain): Update.
2040 (hppa_frame_chain_valid): Update.
2041 * cris-tdep.c (cris_init_extra_frame_info): Update.
2042 * avr-tdep.c (avr_init_extra_frame_info): Update.
2043 * arm-tdep.c (arm_frame_chain_valid): Update.
2044 (arm_init_extra_frame_info): Update.
2045 (arm_pop_frame): Update.
2046 * frame.c (frame_pc_unwind): Update.
2047 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_SAVED_PC): Update.
2048 (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
2049 * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
2050 * config/pa/tm-hppa.h (DEPRECATED_FRAME_SAVED_PC): Update.
2051 * config/m68k/tm-delta68.h (DEPRECATED_FRAME_SAVED_PC): Update.
2052 * config/m68k/tm-linux.h (DEPRECATED_FRAME_SAVED_PC): Update.
2053
2054 2003-03-10 Andrew Cagney <cagney@redhat.com>
2055
2056 * gdbarch.sh (gdbarch_unwind_pc): New method.
2057 * gdbarch.h, gdbarch.c: Regenerate.
2058 * frame.c (frame_pc_unwind): Rewrite. Prefer gdbarch_unwind_pc,
2059 but use read_pc and FRAME_SAVED_PC as fall backs.
2060 (frame_saved_regs_pc_unwind): Delete function.
2061 (trad_frame_unwinder): Update.
2062 * frame-unwind.h (frame_unwind_pc_ftype): Delete declaration.
2063 (struct frame_unwind): Update.
2064 * dummy-frame.c (dummy_frame_pc_unwind): Delete function.
2065 (dummy_frame_unwind): Update.
2066 * sentinel-frame.c (sentinel_frame_pc_unwind): Delete function.
2067 (sentinel_frame_unwinder): Update.
2068 * d10v-tdep.c (d10v_frame_pc_unwind): Delete function.
2069 (d10v_frame_unwind): Update.
2070 (d10v_unwind_pc): New function.
2071 (d10v_gdbarch_init): Set unwind_pc.
2072
2073 2003-03-10 Andrew Cagney <cagney@redhat.com>
2074
2075 * gdbarch.h: Re-generate.
2076
2077 * d10v-tdep.c (d10v_frame_register_unwind): Correctly unwind the
2078 PC.
2079 (d10v_frame_pop): Unwind the PC, and not the LR, when restoring
2080 the PC register.
2081
2082 2003-03-08 Mark Kettenis <kettenis@gnu.org>
2083
2084 * gdbarch.sh (save_dummy_frame_tos): Add comment.
2085
2086 2003-03-08 Andrew Cagney <cagney@redhat.com>
2087
2088 * cli-out.c: Update copyright.
2089 (cli_out_data): Define typedef. Use instead of ui_out_data.
2090
2091 2003-03-08 Andrew Cagney <cagney@redhat.com>
2092
2093 * valarith.c (value_subscripted_rvalue): Copy the array's REGNO to
2094 the result.
2095
2096 2003-03-07 Andrew Cagney <cagney@redhat.com>
2097
2098 * gdbarch.sh: Don't generate two macro definitions when an
2099 undefined macro taking no arguments.
2100 * gdbarch.h: Regenerate.
2101
2102 2002-03-07 Michal Ludvig <mludvig@suse.cz>
2103
2104 * x86-64-tdep.c (x86_64_save_dummy_frame_tos)
2105 (x86_64_unwind_dummy_id): New functions.
2106 (x86_64_init_abi): Register these two new functions.
2107
2108 2003-03-07 Michal Ludvig <mludvig@suse.cz>
2109
2110 * x86-64-tdep.c (x86_64_function_has_prologue): New function.
2111 (x86_64_skip_prologue): Move prologue detection to
2112 separate function.
2113 * x86-64-tdep.h (x86_64_function_has_prologue): New prototype.
2114
2115 2003-03-05 Andrew Cagney <cagney@redhat.com>
2116
2117 * d10v-tdep.c (d10v_unwind_dummy_id): New function.
2118 (d10v_gdbarch_init): Set unwind_dummy_id and save_dummy_frame_tos.
2119 * frame.c (get_prev_frame): Restructure the frame ID unwind code
2120 to use unwind_dummy_id when a dummy frame.
2121 * gdbarch.sh (unwind_dummy_id): New multi-arch method with
2122 predicate.
2123 * gdbarch.h, gdbarch.c: Regneerate.
2124
2125 2003-03-05 Andrew Cagney <cagney@redhat.com>
2126
2127 * d10v-tdep.c (struct d10v_unwind_cache): Add field "base".
2128 (d10v_frame_unwind_cache): Rewrite code computing the base and SP.
2129 Do not use d10v_read_sp or d10v_read_fp when obtaining register
2130 values.
2131
2132 2003-03-05 Andrew Cagney <cagney@redhat.com>
2133
2134 * d10v-tdep.c (struct frame_extra_info): Delete unused structure.
2135 (struct d10v_unwind_cache): Delete field "frameless". Replace
2136 "next_addr" with "sp_offset". Add "r11_offset".
2137 (d10v_frame_unwind_cache): Update.
2138 (prologue_find_regs): Update. When "mv r11, sp", save the
2139 "sp_offset" in "r11_offset". Recognize "st rn, @r11", note that
2140 RN was saved in r11_offset.
2141
2142 2003-03-05 Andrew Cagney <cagney@redhat.com>
2143
2144 * frame.c (deprecated_update_frame_pc_hack): Also update the the
2145 cached PC value in the next frame.
2146
2147 2003-03-05 Andrew Cagney <cagney@redhat.com>
2148
2149 * frame.h (struct frame_info): Replace "id_unwind_cache_p" and
2150 "id_unwind_cache" with "id".
2151 (frame_id_unwind): Delete declaration.
2152 * frame.c (frame_id_unwind): Delete function.
2153 (get_prev_frame): Call the frame id unwind method directly. Store
2154 the returned next frame's ID value in NEXT_FRAME. Note that there
2155 is a problem with the wrong unwind ID being called with the wrong
2156 unwind cache.
2157
2158 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
2159
2160 * Makefile.in (FLAGS_TO_PASS): Add LDFLAGS.
2161
2162 2003-03-05 James Ingham <jingham@apple.com>
2163 Daniel Jacobowitz <drow@mvista.com>
2164
2165 * cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
2166 (auto_cp_abi): New variable.
2167 (current_cp_abi, num_cp_abis): Make static.
2168 (CP_ABI_MAX): Define.
2169 (cp_abis): Turn into an array.
2170 (value_virtual_fn_field): Fix formatting.
2171 (switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
2172 takes a pointer.
2173 (set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
2174 (list_cp_abis, _initialize_cp_abi): New functions.
2175 * cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
2176 declarations for cp_abis, num_cp_abis, current_cp_abi, and
2177 switch_to_cp_abi. Update prototype for register_cp_abi.
2178 * Makefile.in (cp-abi.o): Update dependencies.
2179 * minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
2180 instead of switch_to_cp_abi.
2181 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
2182 register_cp_abi.
2183 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
2184 register_cp_abi.
2185 * hpacc-abi.c (_initialize_hpacc_abi): Likewise.
2186
2187 2003-03-05 Daniel Jacobowitz <drow@mvista.com>
2188
2189 * dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
2190 * dwarf2loc.c: Include "regcache.h".
2191 (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use
2192 register_size.
2193 * Makefile.in (dwarf2loc.o): Update dependencies.
2194
2195 2003-03-04 Theodore A. Roth <troth@openavr.org>
2196
2197 * avr-tdep.c (avr_io_reg_read_command): Fix to handle case when the
2198 number of io registers reported by remote target is not a multiple of
2199 step.
2200
2201 2003-03-04 David Carlton <carlton@math.stanford.edu>
2202
2203 * symtab.c (lookup_partial_symbol): Add linkage_name argument.
2204 (lookup_symbol_aux_psymtabs): Update call to
2205 lookup_partial_symbol.
2206 (lookup_transparent_type, find_main_psymtab)
2207 (make_symbol_overload_list): Ditto.
2208
2209 2003-03-04 Kazu Hirata <kazu@cs.umass.edu>
2210
2211 * MAINTAINERS (Write after approval): Update my email address.
2212
2213 2003-03-03 Andrew Cagney <cagney@redhat.com>
2214
2215 Make MAX_REGISTER_RAW_SIZE and MAX_REGISTER_VIRTUAL_SIZE optional.
2216 * gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE): Variable with
2217 predicate. Replace MAX_REGISTER_RAW_SIZE.
2218 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto for
2219 MAX_REGISTER_VIRTUAL_SIZE.
2220 * regcache.c (legacy_max_register_raw_size): New function.
2221 (legacy_max_register_virtual_size): New function.
2222 * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Define.
2223 (MAX_REGISTER_RAW_SIZE): Define.
2224 (legacy_max_register_raw_size): Declare.
2225 (legacy_max_register_virtual_size): Declare.
2226 * config/sparc/tm-sparc.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
2227 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Update.
2228 * config/sparc/tm-sp64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
2229 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
2230 * config/pa/tm-hppa.h (DEPRECATED_MAX_REGISTER_RAW_SIZE)
2231 (DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Ditto.
2232 * config/pa/tm-hppa64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
2233 * config/ia64/tm-ia64.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
2234 * config/i386/tm-ptx.h (DEPRECATED_MAX_REGISTER_RAW_SIZE): Ditto.
2235 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2236 * vax-tdep.c (vax_gdbarch_init): Update.
2237 * v850-tdep.c (v850_gdbarch_init): Update.
2238 * sparc-tdep.c (sparc_gdbarch_init): Update.
2239 * sh-tdep.c (sh_gdbarch_init): Update.
2240 * s390-tdep.c (s390_gdbarch_init): Update.
2241 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2242 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2243 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2244 * mips-tdep.c (mips_gdbarch_init): Update.
2245 * mcore-tdep.c (mcore_gdbarch_init): Update.
2246 * m68k-tdep.c (m68k_gdbarch_init): Update.
2247 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2248 * ia64-tdep.c (ia64_gdbarch_init): Update.
2249 * i386-tdep.c (i386_gdbarch_init): Update.
2250 * hppa-tdep.c (hppa_gdbarch_init): Update.
2251 * h8300-tdep.c (h8300_gdbarch_init): Update.
2252 * frv-tdep.c (frv_gdbarch_init): Update.
2253 * cris-tdep.c (cris_gdbarch_init): Update.
2254 * avr-tdep.c (avr_gdbarch_init): Update.
2255 * arm-tdep.c (arm_gdbarch_init): Update.
2256 * alpha-tdep.c (alpha_gdbarch_init): Update.
2257 * d10v-tdep.c (d10v_gdbarch_init): Do not set
2258 max_register_raw_size or max_register_virtual_size.
2259
2260 2003-03-03 David Carlton <carlton@math.stanford.edu>
2261
2262 * symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
2263 SYMBOL_MATCHES_NAME, add comment.
2264 (SYMBOL_MATCHES_NATURAL_NAME): New.
2265 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
2266 SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
2267 (lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
2268 * symtab.c (lookup_partial_symbol): Use
2269 SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME. Delete
2270 unhelpful comment.
2271 (lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
2272 SYMBOL_MATCHES_NAME.
2273 Fix for PR c++/33.
2274
2275 2003-03-03 David Carlton <carlton@math.stanford.edu>
2276
2277 * symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
2278 * symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
2279 by regexp matching against SYMBOL_NATURAL_NAME.
2280
2281 2003-03-03 David Carlton <carlton@math.stanford.edu>
2282
2283 * linespec.c (find_method): Extract code into collect_methods.
2284 (collect_methods): New.
2285
2286 2003-03-02 Mark Kettenis <kettenis@gnu.org>
2287
2288 * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use get_next_frame and
2289 get_frame_base.
2290
2291 * i386-tdep.c (i386_pe_skip_trampoline_code): Replace usage of
2292 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2293
2294 2003-03-02 Stephane Carrez <stcarrez@nerim.fr>
2295
2296 * arch-utils.c (generic_register_byte): Fix to use the loop index
2297 and not regnum when summing the size of all registers up to regnum.
2298
2299 2003-03-01 Andrew Cagney <cagney@redhat.com>
2300
2301 * gdbarch.sh (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename
2302 FRAME_INIT_SAVED_REGS.
2303 * gdbarch.h, gdbarch.c: Regenerate.
2304 * stack.c (frame_info): Update.
2305 * sh-tdep.c (sh_find_callers_reg, sh64_get_saved_pr): Update.
2306 (sh_init_extra_frame_info, sh64_init_extra_frame_info): Update.
2307 (sh64_get_saved_register, sh_pop_frame, sh64_pop_frame): Update.
2308 * ns32k-tdep.c (ns32k_pop_frame): Update.
2309 * mips-tdep.c (mips_pop_frame): Update.
2310 * m68hc11-tdep.c (m68hc11_pop_frame): Update.
2311 * ia64-tdep.c (ia64_frame_chain): Update.
2312 (ia64_frame_saved_pc, ia64_get_saved_register): Update.
2313 (ia64_frameless_function_invocation): Update.
2314 (ia64_init_extra_frame_info): Update.
2315 (ia64_pop_frame_regular): Update.
2316 * frame.h (struct frame_info): Update comment.
2317 (DEPRECATED_FRAME_INIT_SAVED_REGS): Rename macro.
2318 * frame.c (frame_saved_regs_register_unwind): Update.
2319 (frame_saved_regs_register_unwind): Update.
2320 (deprecated_generic_get_saved_register): Update.
2321 * cris-tdep.c: Update comment.
2322 * config/sparc/tm-sparc.h (DEPRECATED_FRAME_INIT_SAVED_REGS):
2323 Rename macro.
2324 * xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
2325 * x86-64-tdep.c (x86_64_init_abi): Update.
2326 * vax-tdep.c (vax_gdbarch_init): Update.
2327 * v850-tdep.c (v850_gdbarch_init): Update.
2328 * sparc-tdep.c (sparc_gdbarch_init): Update.
2329 * sh-tdep.c (sh_gdbarch_init): Update.
2330 * s390-tdep.c (s390_gdbarch_init): Update.
2331 * rs6000-tdep.c (rs6000_gdbarch_init): Update.
2332 * ppc-linux-tdep.c (ppc_linux_init_abi): Update.
2333 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2334 * mn10300-tdep.c (mn10300_gdbarch_init): Update.
2335 * mips-tdep.c (mips_gdbarch_init): Update.
2336 * mcore-tdep.c (mcore_gdbarch_init): Update.
2337 * m68k-tdep.c (m68k_gdbarch_init): Update.
2338 * m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
2339 * ia64-tdep.c (ia64_gdbarch_init): Update.
2340 * i386-tdep.c (i386_gdbarch_init): Update.
2341 * frv-tdep.c (frv_gdbarch_init): Update.
2342 * avr-tdep.c (avr_gdbarch_init): Update.
2343 * arm-tdep.c (arm_gdbarch_init): Update.
2344 * alpha-tdep.c (alpha_gdbarch_init): Update.
2345
2346 2003-03-01 Andrew Cagney <cagney@redhat.com>
2347
2348 * main.c (captured_main): Add OPT_WINDOWS and OPT_NOWINDOWS to
2349 option enum and switch. When no windows, set the interpreter to
2350 INTERP_CONSOLE.
2351
2352 2003-03-01 Andrew Cagney <cagney@redhat.com>
2353
2354 * main.c (captured_main): Replace magic option characters with an
2355 enum.
2356
2357 2003-03-01 Andrew Cagney <cagney@redhat.com>
2358
2359 * gdbarch.sh (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename
2360 INIT_EXTRA_FRAME_INFO.
2361 * gdbarch.h, gdbarch.c: Regenerate.
2362 * arm-tdep.c: Update comments.
2363 * sh-tdep.c, mcore-tdep.c, m68hc11-tdep.c: Ditto.
2364 * i386-interix-tdep.c, hppa-tdep.c, h8300-tdep.c: Ditto.
2365 * frame.h, avr-tdep.c: Ditto.
2366 * frame.c (get_prev_frame): DEPRECATED_INIT_EXTRA_FRAME_INFO.
2367 (create_new_frame, legacy_get_prev_frame): Ditto.
2368 * config/sparc/tm-sparc.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
2369 * config/pa/tm-hppa.h (DEPRECATED_INIT_EXTRA_FRAME_INFO): Rename.
2370 * xstormy16-tdep.c (xstormy16_gdbarch_init): Initialize
2371 deprecated_init_extra_frame_info instead of init_extra_frame_info.
2372 * x86-64-tdep.c (x86_64_init_abi): Ditto.
2373 * v850-tdep.c (v850_gdbarch_init): Ditto.
2374 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
2375 * sh-tdep.c (sh_gdbarch_init): Ditto.
2376 * s390-tdep.c (s390_gdbarch_init): Ditto.
2377 * ppc-linux-tdep.c (ppc_linux_init_abi): Ditto.
2378 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2379 * mips-tdep.c (mips_gdbarch_init): Ditto.
2380 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2381 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2382 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2383 * i386-interix-tdep.c (i386_interix_init_abi): Ditto.
2384 * hppa-tdep.c (hppa_gdbarch_init): Ditto.
2385 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2386 * frv-tdep.c (frv_gdbarch_init): Ditto.
2387 * cris-tdep.c (cris_gdbarch_init): Ditto.
2388 * avr-tdep.c (avr_gdbarch_init): Ditto.
2389 * arm-tdep.c (arm_gdbarch_init): Ditto.
2390 * alpha-tdep.c (alpha_gdbarch_init): Ditto.
2391 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2392
2393 2003-03-01 Andrew Cagney <cagney@redhat.com>
2394
2395 * gdbarch.sh (register_type): New function with predicate.
2396 (REGISTER_VIRTUAL_TYPE): Change to function with predicate.
2397 * gdbarch.h, gdbarch.c: Re-generate.
2398 * arch-utils.c (generic_register_byte): Use generic_register_size.
2399 (generic_register_size): When available, use
2400 gdbarch_register_type.
2401 * regcache.c (init_regcache_descr): When available, initialize the
2402 register type array using gdbarch_register_type. If the
2403 architecture supplies gdbarch_register_type, do not use the legacy
2404 regcache layout.
2405 * d10v-tdep.c (d10v_register_type): Replace
2406 d10v_register_virtual_type.
2407 (d10v_gdbarch_init): Set register_type instead of
2408 register_virtual_type.
2409
2410 2003-03-01 Andrew Cagney <cagney@redhat.com>
2411
2412 * Makefile.in (ax-gdb.o): Update dependencies.
2413 * ax-gdb.c: Include "regcache.h".
2414 (gen_expr): Use register_type instead of REGISTER_VIRTUAL_TYPE.
2415 * findvar.c (value_of_register): Ditto.
2416 * infcmd.c (default_print_registers_info): Ditto.
2417
2418 2003-03-01 Mark Kettenis <kettenis@gnu.org>
2419
2420 * i386-linux-tdep.c (find_minsym_and_objfile): Replace usage of
2421 DEPRECATED_SYMBOL_NAME with SYMBOL_LINKAGE_NAME.
2422
2423 2003-03-01 Mark Kettenis <kettenis@gnu.org>
2424
2425 * i386-linux-tdep.c (find_minsym_and_objfile): Use strcmp instead
2426 of STREQ.
2427
2428 2003-02-28 Daniel Jacobowitz <drow@mvista.com>
2429
2430 * Makefile.in (dwarf2loc.o): Update dependencies.
2431 * ax-gdb.c (gen_var_ref): Handle LOC_COMPUTED and LOC_COMPUTED_ARG.
2432 * dwarf2expr.c (read_uleb128, read_sleb128): Make non-static.
2433 * dwarf2expr.h (read_uleb128, read_sleb128): Add prototypes.
2434 * dwarf2loc.c: Include "ax.h" and "ax-gdb.h".
2435 (locexpr_tracepoint_var_ref): New function.
2436 (dwarf2_locexpr_funcs): Add locexpr_tracepoint_var_ref.
2437
2438 2003-02-28 Andrew Cagney <cagney@redhat.com>
2439
2440 * regcache.c (register_size): New function.
2441 * regcache.h (register_size): Declare
2442 * d10v-tdep.c: Use register_size instead of REGISTER_RAW_SIZE, use
2443 max_register_size instead of MAX_REGISTER_RAW_SIZE.
2444
2445 2003-02-28 David Carlton <carlton@math.stanford.edu>
2446
2447 * linespec.c (decode_compound): Extract code into find_method.
2448 (find_method): New.
2449
2450 2003-02-28 J. Brobecker <brobecker@gnat.com>
2451
2452 * Makefile.in: Add rules to build and link in observer.o.
2453
2454 2003-02-27 J. Brobecker <brobecker@gnat.com>
2455
2456 * observer.c: Minor comments edits.
2457
2458 2003-02-27 J. Brobecker <brobecker@gnat.com>
2459
2460 * observer.h, observer.c: New file.
2461
2462 2003-02-27 Andrew Cagney <cagney@redhat.com>
2463
2464 * arm-tdep.c (gdb_print_insn_arm): Rename _bfd to just bfd.
2465
2466 2003-02-27 Stephane Carrez <stcarrez@nerim.fr>
2467
2468 * m68hc11-tdep.c (M6811_OP_LDX_EXT, M6811_OP_STS_EXT): New defines.
2469 (M6812_OP_STS_EXT): Likewise.
2470 (m6811_prologue): Use the above to recognize prologue.
2471 (m6812_prologue): Likewise.
2472
2473 2003-02-27 David Carlton <carlton@math.stanford.edu>
2474
2475 * symfile.c (compare_symbols): Use SYMBOL_NATURAL_NAME, not
2476 SYMBOL_PRINT_NAME.
2477 (compare_psymbols): Ditto.
2478 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
2479
2480 2003-02-27 Michael Snyder <msnyder@redhat.com>
2481
2482 * f-lang.c (build_fortran_types): New function.
2483 (_initialize_f_language): Gdbarch-register built-in fortran types.
2484 * doublest.c (extract_floating): Fix warning text.
2485
2486 2003-02-27 Andrew Cagney <cagney@redhat.com>
2487
2488 * gdbarch.sh (DEPRECATED_PUSH_DUMMY_FRAME): Procedure with
2489 predicate. Replaces PUSH_DUMMY_FRAME.
2490 * gdbarch.h, gdbarch.c: Regnerate.
2491 * valops.c (hand_function_call): Update. Call
2492 generic_push_dummy_frame directly.
2493 * vax-tdep.c (vax_gdbarch_init): Update.
2494 * sparc-tdep.c (sparc_gdbarch_init): Update.
2495 * ns32k-tdep.c (ns32k_gdbarch_init): Update.
2496 * m68k-tdep.c (m68k_gdbarch_init): Update.
2497 * hppa-tdep.c (hppa_gdbarch_init): Update.
2498 * alpha-tdep.c (alpha_gdbarch_init): Update.
2499 * config/sparc/tm-sparc.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
2500 * config/pa/tm-hppa.h (DEPRECATED_PUSH_DUMMY_FRAME): Update.
2501 * inferior.h (PUSH_DUMMY_FRAME): Delete definition.
2502 * xstormy16-tdep.c (xstormy16_gdbarch_init): Don't set
2503 push_dummy_frame to generic_push_dummy_frame.
2504 * v850-tdep.c (v850_gdbarch_init): Ditto.
2505 * sh-tdep.c (sh_gdbarch_init): Ditto.
2506 * s390-tdep.c (s390_gdbarch_init): Ditto.
2507 * rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
2508 * mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
2509 * mips-tdep.c (mips_gdbarch_init): Ditto.
2510 * mcore-tdep.c (mcore_gdbarch_init): Ditto.
2511 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
2512 * ia64-tdep.c (ia64_gdbarch_init): Ditto.
2513 * i386-tdep.c (i386_gdbarch_init): Ditto.
2514 * h8300-tdep.c (h8300_gdbarch_init): Ditto.
2515 * frv-tdep.c (frv_gdbarch_init): Ditto.
2516 * d10v-tdep.c (d10v_gdbarch_init): Ditto.
2517 * cris-tdep.c (cris_gdbarch_init): Ditto.
2518 * avr-tdep.c (avr_gdbarch_init): Ditto.
2519 * arm-tdep.c (arm_gdbarch_init): Ditto.
2520
2521 2003-02-26 Kevin Buettner <kevinb@redhat.com>
2522
2523 * mips-tdep.c (show_mips_abi): New function.
2524 (_initialize_mips_tdep): Use show_mips_abi() to implement the
2525 command ``show mips abi''.
2526
2527 2003-02-26 Jeff Johnston <jjohnstn@redhat.com>
2528
2529 From Elena Zannoni <ezannoni@redhat.com>
2530 * dbxread.c (process_one_symbol): Only record line 0 if one or
2531 more sline entries have been seen for the function.
2532
2533 2003-02-26 Michael Chastain <mec@shout.net>
2534
2535 * configure: Regenerate with autoconf 000227.
2536
2537 2003-02-26 Michael Chastain <mec@shout.net>
2538
2539 Close PR build/660.
2540 * PROBLEMS (i[3456]86-*-linux*): Note explicit error message
2541 for old libc5/glibc.
2542 * gdb_thread_db.h: Die if not HAVE_UINTPTR_T.
2543
2544 2003-02-26 Kris Warkentin <kewarken@qnx.com>
2545
2546 * defs.h (gdb_osabi): Add GDB_OSABI_QNXNTO.
2547 * osabi.c (gdb_osabi_names): Add "QNX Neutrino".
2548
2549 2003-02-26 Michael Chastain <mec@shout.net>
2550
2551 * configure.in: New variable HAVE_UINTPTR_T.
2552 * configure, config.in: Regenerated.
2553
2554 2003-02-26 Daniel Jacobowitz <drow@mvista.com>
2555
2556 Fix PR build/1097.
2557 * utils.c (gdb_realpath): Move closing brace outwards one #endif.
2558
2559 2003-02-25 Andrew Cagney <cagney@redhat.com>
2560
2561 * frame.c (get_prev_frame): Add comment on check for
2562 inside_entry_func. Only check for inside_entry_file when not a
2563 dummy and not a sentinel. Check that the new frame is not inner
2564 to the old frame.
2565
2566 2003-02-25 Andrew Cagney <cagney@redhat.com>
2567
2568 * frame.c (frame_debug): New variable.
2569 (_initialize_frame): Add "set/show debug frame" command.
2570 (get_prev_frame): When frame_debug, print reason why unwind
2571 failed.
2572
2573 2003-02-25 Michael Chastain <mec@shout.net>
2574
2575 * PROBLEMS (i[3456]86-*-linux*): Require glibc 2.1.3 or later
2576 to avoid uintptr_t definition problems.
2577
2578 2003-02-25 David Carlton <carlton@math.stanford.edu>
2579
2580 * symtab.h (SYMBOL_NATURAL_NAME): New macro.
2581 (SYMBOL_LINKAGE_NAME): Ditto.
2582 (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and
2583 SYMBOL_LINKAGE_NAME.
2584 (struct general_symbol_info): Expand comment.
2585 (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME.
2586 (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME.
2587 (SYMBOL_MATCHES_REGEXP): Ditto.
2588 * symtab.c (symbol_natural_name): New function.
2589 * objfiles.h: Replace all uses of SYMBOL_NAME by
2590 DEPRECATED_SYMBOL_NAME.
2591 * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto.
2592 * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto.
2593 * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto.
2594 * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto.
2595 * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto.
2596 * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto.
2597 * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto.
2598 * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto.
2599 * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto.
2600 * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto.
2601 * ada-exp.y: Ditto.
2602 * ada-exp.y: Update copyright.
2603 * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto.
2604 * cp-valprint.c: Ditto.
2605
2606 2003-02-25 Jeff Johnston <jjohnstn@redhat.com>
2607
2608 * infptrace.c (detach): Do not flag error if ptrace detach fails
2609 and errno is set to ESRCH.
2610
2611 2003-02-24 Andrew Cagney <cagney@redhat.com>
2612
2613 * infptrace.c (udot_info): Change type of udot_off to long. Use
2614 paddr when printing udot_off's value.
2615
2616 2003-02-24 David Carlton <carlton@math.stanford.edu>
2617
2618 * symtab.c (make_symbol_overload_list): Only read in partial
2619 symtabs containing a matching partial symbol.
2620
2621 2003-02-24 David Carlton <carlton@math.stanford.edu>
2622
2623 * symtab.c (lookup_partial_symbol): Use strcmp_iw_ordered to
2624 do the comparison, not strcmp.
2625 * symfile.c (compare_psymbols): Ditto.
2626 * defs.h: Declare strcmp_iw_ordered.
2627 * utils.c (strcmp_iw_ordered): New function.
2628
2629 2003-02-24 Jim Blandy <jimb@redhat.com>
2630
2631 * MAINTAINERS (GNU/Linux/x86, linespec, breakpoints, Scheme
2632 support, shared libs): Remove my name from here, to better reflect
2633 reality.
2634
2635 2003-02-24 Kris Warkentin <kewarken@qnx.com>
2636
2637 * target.h: (HAVE_CONTINUABLE_WATCHPOINT): Define.
2638 (target_ops): Add to_have_continuable_watchpoint.
2639 * target.c (update_current_target): Add INHERIT line for
2640 to_have_continuable_watchpoint.
2641 * infrun.c: Remove HAVE_CONTINUABLE_WATCHPOINT defines.
2642 * config/i386/nm-i386.h, config/i386/nm-i386sco5.h,
2643 config/i386/nm-i386sol2.h, config/s390/nm-linux.h,
2644 config/sparc/nm-sun4sol2.h: HAVE_CONTINUABLE_WATCHPOINT defined as 1.
2645
2646 2003-02-24 Elena Zannoni <ezannoni@redhat.com>
2647
2648 * MAINTAINERS (Core): Drop main.c and top.c. Clarify event loop
2649 maintainership.
2650
2651 2003-02-24 Kris Warkentin <kewarken@qnx.com>
2652
2653 * solib.c (solib_open): Call target defined search function after
2654 failing with solib-search-path.
2655 * solist.h (target_so_ops): Add find_and_open_solib function hook and
2656 create define TARGET_SO_FIND_AND_OPEN_SOLIB.
2657
2658 2003-02-24 Kris Warkentin <kewarken@qnx.com>
2659
2660 * MAINTAINERS: Add myself to Write After section.
2661
2662 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
2663
2664 * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
2665
2666 2003-02-22 Stephane Carrez <stcarrez@nerim.fr>
2667
2668 * m68hc11-tdep.c (m68hc11_init_reggroups): New function.
2669 (m68hc11_add_reggroups): New function.
2670 (m68hc11_register_reggroup_p): New to register hard/soft reggroups.
2671 (m68hc11_gdbarch_init): Install the reggroups.
2672 (_initialize_m68hc11_tdep): Initialize them.
2673
2674 2003-02-21 James E Wilson <wilson@tuliptree.org>
2675
2676 * MAINTAINERS: Update my email address.
2677
2678 2003-02-21 David Carlton <carlton@math.stanford.edu>
2679
2680 * arm-tdep.c (arm_gdbarch_init): Add break after default label.
2681
2682 2003-02-21 Daniel Jacobowitz <drow@mvista.com>
2683
2684 Based on a patch from Daniel Berlin (dberlin@dberlin.org).
2685 * symtab.h: Add opaque declarations of struct axs_value and
2686 struct agent_expr.
2687 (enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
2688 (struct location_funcs): New type.
2689 (struct symbol): Add "loc" to aux_value.
2690 (SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
2691 * dwarf2read.c: Include "dwarf2expr.h".
2692 (dwarf2_symbol_mark_computed): New function.
2693 (read_func_scope): Use it.
2694 (var_decode_location): New function.
2695 (new_symbol): Use it.
2696 * dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
2697
2698 * Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
2699 (dwarf2expr_h, dwarf2loc_h): New variables.
2700 (COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
2701 (dwarf2expr.o, dwarf2loc.o): New rules.
2702 (dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
2703 * buildsym.c (finish_block): Handle LOC_COMPUTED and
2704 LOC_COMPUTED_ARG.
2705 * findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
2706 * m2-exp.y (yylex): Likewise.
2707 * printcmd.c (address_info, print_frame_args): Likewise.
2708 * stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
2709 * symmisc.c (print_symbol, print_partial_symbols): Likewise.
2710 * ada-lang.c (ada_resolve_subexp, symtab_for_sym)
2711 (ada_add_block_symbols, fill_in_ada_prototype): Likewise.
2712 * symtab.c (lookup_block_symbol): Likewise.
2713
2714 2003-02-20 Adam Fedor <fedor@gnu.org>
2715
2716 * symtab.h: Remove objc_specific struct
2717 (SYMBOL_OBJC_DEMANGLED_NAME): Remove.
2718 * symtab.c (symbol_init_language_specific, symbol_demangled_name):
2719 Have language_objc use cplus_specific struct.
2720
2721 2003-02-20 Tom Tromey <tromey@redhat.com>
2722
2723 * jv-valprint.c (java_value_print): Look at TYPE_TAG_NAME, not
2724 TYPE_NAME, when printing a String value. PR java/1075.
2725
2726 2003-02-20 Adam Fedor <fedor@gnu.org>
2727
2728 * objc-lang.h (find_methods): Remove declaration.
2729 * objc-lang.c (find_methods): Make static.
2730
2731 2003-02-20 Christopher Faylor <cgf@redhat.com>
2732
2733 * win32-nat.c (get_image_name): Check return value from
2734 ReadProcessMemory.
2735 (child_xfer_memory): Ditto.
2736
2737 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
2738
2739 * configure.in (TARGET_SYSTEM_ROOT): Set default to
2740 ${exec_prefix}/${target_alias}/sys-root. Match explicit
2741 '${exec_prefix}' (in addition to the expansion thereof) as
2742 relocatable.
2743 * configure: Rebuilt.
2744
2745 2003-02-20 David Carlton <carlton@math.stanford.edu>
2746
2747 * symtab.c (search_symbols): Revert the search_symbols part of my
2748 2002-12-23 patch. Add comment.
2749
2750 2002-02-20 Daniel Jacobowitz <drow@mvista.com>
2751
2752 * coffread.c (coff_symfile_read): Clean up minimal symbols earlier.
2753 * dbxread.c (elfstab_build_psymtabs): Don't call
2754 install_minimal_symbols.
2755 (stabsect_build_psymtabs): Likewise.
2756 * elfread.c (elf_symfile_read): Call install_minimal_symbols
2757 earlier.
2758 * somread.c (som_symfile_read): Call install_minimal_symbols
2759 and do_cleanups earlier.
2760 * nlmread.c (nlm_symfile_read): Likewise.
2761 * mdebugread.c (elfmdebug_build_psymtabs): Call
2762 install_minimal_symbols and make appropriate cleanups.
2763
2764 2003-02-20 Kevin Buettner <kevinb@redhat.com>
2765
2766 * solib.c (reload_shared_libraries): New function.
2767 (_initialize_solib): Add callbacks for ``set solib-search-path''
2768 and ``set solib-absolute-prefix''.
2769
2770 2003-02-20 David Carlton <carlton@math.stanford.edu>
2771
2772 * symtab.h (SYMBOL_PRINT_NAME): Rename from SYMBOL_SOURCE_NAME;
2773 expand comment.
2774 * ada-lang.c (user_select_syms, ada_finish_decode_line_1): Replace
2775 SYMBOL_PRINT_NAME with SYMBOL_SOURCE_NAME.
2776 * ada-typeprint.c (ada_typedef_print): Ditto.
2777 * ax-gdb.c (gen_var_ref): Ditto.
2778 * breakpoint.c (print_one_breakpoint): Ditto.
2779 * buildsym.c (finish_block): Ditto.
2780 * c-valprint.c (c_val_print): Ditto.
2781 * expprint.c (print_subexp): Ditto.
2782 * findvar.c (locate_var_value): Ditto.
2783 * infcmd.c (jump_command): Ditto.
2784 * linespec.c (decode_line_2, decode_compound): Ditto.
2785 * maint.c (maintenance_translate_address): Ditto.
2786 * objc-lang.c (compare_selectors, compare_classes): Ditto.
2787 * printcmd.c (build_address_symbolic, sym_info, print_frame_args):
2788 Ditto.
2789 * p-valprint.c (pascal_val_print): Ditto.
2790 * stabsread.c (define_symbol): Ditto.
2791 * stack.c (print_frame, frame_info, print_block_frame_locals)
2792 (print_frame_arg_vars, return_command): Ditto.
2793 * symfile.c (compare_symbols, compare_psymbols): Ditto.
2794 * symmisc.c (print_symbol): Ditto.
2795 * symtab.c (lookup_partial_symbol, lookup_block_symbol)
2796 (compare_search_syms, print_symbol_info, print_msymbol_info)
2797 (rbreak_command): Ditto.
2798 * tracepoint.c (tracepoints_info): Ditto.
2799 * typeprint.c (typedef_print): Ditto.
2800 * valops.c (value_of_variable, hand_function_call): Ditto.
2801 * cli/cli-cmds.c (edit_command, list_command): Ditto.
2802 * ada-typeprint.c: Update Copyright.
2803 * infcmd.c, objc-lang.c, p-valprint.c, symmisc.c: Ditto.
2804 * tracepoint.c, cli/cli-cmds.c: Ditto.
2805
2806 2003-02-20 Kevin Buettner <kevinb@redhat.com>
2807
2808 * frame.c (generic_unwind_get_saved_register): Make non-static.
2809 * frame.h (generic_unwind_get_saved_register): Declare.
2810 * mips-tdep.c (read_next_frame_reg): Fetch register from
2811 current regcache when frame is NULL.
2812 (mips_init_extra_frame_info): Pass NULL explicitly for parameter
2813 that must be NULL.
2814 (mips_get_saved_register): Call generic_unwind_get_saved_register()
2815 instead of frame_register_unwind().
2816
2817 2003-02-20 Andrew Cagney <ac131313@redhat.com>
2818
2819 * remote-sim.c (gdbsim_insert_breakpoint)
2820 (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS
2821 code.
2822
2823 2003-02-20 Andrew Cagney <ac131313@redhat.com>
2824
2825 * remote.c (_initialize_remote): Add commands "set/show remote
2826 hardware-watchpoint-limit" and "set/show remote
2827 hardware-breakpoint-limit".
2828 (remote_hw_watchpoint_limit): Initialize to -1.
2829 (remote_hw_breakpoint_limit): Ditto.
2830 (remote_check_watch_resources): Treat a limit of -1 as unlimited.
2831
2832 2003-02-19 Raoul Gough <RaoulGough@yahoo.co.uk>
2833
2834 * coff-pe-read.c: New file - support reading of minimal symbols from a
2835 portable executable using the export table.
2836 * coff-pe-read.h: New file.
2837 * coffread.c: Include coff-pe-read.h.
2838 (coff_symtab_read): Call read_pe_exported_syms iff no recognized
2839 debugging symbols found.
2840 * Makefile.in (SFILES): Add coff-pe-read.o.
2841 (coff_pe_read_h): Define.
2842 (COMMON_OBS): Add coff-pe-read.o.
2843 (coffread.o): Add coff_pe_read_h dependency.
2844 (coff-pe-read.o): New target.
2845
2846 2003-02-19 David Carlton <carlton@math.stanford.edu>
2847
2848 * Makefile.in (SFILES): Add block.c.
2849 (block_h): New.
2850 (COMMON_OBS): Add block.o.
2851 (block.o): New.
2852 (x86-64-tdep.o): Add $(block_h).
2853 (values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
2854 (stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
2855 (objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
2856 (m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
2857 (f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
2858 (c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
2859 (alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
2860 * value.h: Add opaque declaration for struct block.
2861 * parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
2862 * ada-lang.h: Ditto.
2863 * x86-64-tdep.c: #include "block.h"
2864 * values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
2865 * symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
2866 * objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
2867 * mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
2868 * jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
2869 * findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
2870 * buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
2871 * alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
2872 * blockframe.c (blockvector_for_pc_sect): Move to "block.c".
2873 (blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
2874 * symtab.c (block_function): Ditto.
2875 (contained_in): Ditto.
2876 * frame.h: Move block_for_pc and block_for_pc_sect declarations to
2877 block.h. Add opaque declaration for struct block.
2878 * symtab.h: Move block_function and contained_in declarations to
2879 block.h. Add opaque declarations for struct block, struct
2880 blockvector.
2881 (struct block): Move to block.h.
2882 (struct blockvector): Ditto.
2883 (BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
2884 (BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
2885 (BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
2886 (ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
2887 (BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
2888 Ditto.
2889 * block.c: New file.
2890 * block.h: New file.
2891
2892 2003-02-19 Theodore A. Roth <troth@openavr.org>
2893
2894 * avr-tdep.c (avr_extract_return_value): Remove function.
2895 (avr_store_return_value): Remove function.
2896 (avr_extract_struct_value_address): Remove function.
2897 (avr_gdbarch_init): Remove set_gdbarch_deprecated_*() calls.
2898
2899 2003-02-19 Andrew Cagney <ac131313@redhat.com>
2900
2901 * rs6000-tdep.c: Include "gdb_assert.h".
2902 (registers_e500): Add "acc" and "spefscr".
2903 (PPC_GPRS_PSEUDO_REGS): Remove trailing comma.
2904 (rs6000_gdbarch_init): Update initialization of ppc_gp0_regnum,
2905 ppc_gplast_regnum, sp_regnum and fp_regnum. Check that gp0_regnum
2906 really is "r0".
2907 (registers_e500): Mark the "acc" as a 64 bit (from Jim Willson).
2908
2909 2003-02-18 Keith Seitz <keiths@redhat.com>
2910
2911 * Makefile.in: Add gdbtk-interps.c.
2912
2913 2003-02-18 Kevin Buettner <kevinb@redhat.com>
2914
2915 * sparc-tdep.c (sparc_frame_chain): Adjust return value.
2916 * config/sparc/tm-sparc.h (init_frame_pc_noop): Declare.
2917
2918 2003-02-18 Andrew Cagney <cagney@redhat.com>
2919
2920 * symtab.h (struct objfile): Add opaque declaration.
2921
2922 2003-02-18 Elena Zannoni <ezannoni@redhat.com>
2923
2924 From Jim Ingham <jingham@apple.com>:
2925 * dbxread.c (process_one_symbol): Use last_function_start rather
2926 than function_start_offset to find the real beginning of the
2927 current function. The latter is just the text section offset on
2928 some systems, the former is always the real function start.
2929
2930 2003-02-17 Andrew Cagney <cagney@redhat.com>
2931
2932 * configure.in: Revert ${target} != ${host}.
2933
2934 2003-02-17 Andrew Cagney <ac131313@redhat.com>
2935
2936 * configure.in (Makefile): Use the test ${target} != ${host},
2937 instead of the absence of the "nm.h" file, to determine of the
2938 configuration non-native.
2939 * configure: Regenerate.
2940
2941 2003-02-14 Elena Zannoni <ezannoni@redhat.com>
2942
2943 From Brian Ford <ford@vss.fsi.com>
2944
2945 * cli/cli-decode.c (lookup_cmd_composition) [TUI]: Properly
2946 conditionalize tui_active test.
2947 (lookup_cmd_1): Ditto.
2948
2949 2003-02-14 Mark Kettenis <kettenis@gnu.org>
2950
2951 * configure.in: Add check for _etext.
2952 * maint.c (maintenance_set_profile_cmd): Use etext if _etext isn't
2953 available.
2954 * config.in, configure: regenerated.
2955
2956 2003-02-14 Daniel Jacobowitz <drow@mvista.com>
2957
2958 * dwarf2read.c (dwarf2_get_pc_bounds): Offset addresses by base.
2959
2960 2003-02-14 Andrew Cagney <ac131313@redhat.com>
2961
2962 * main.c (tui_version): Delete variable.
2963 (captured_main): When --tui, set interpreter_p to "tui" instead of
2964 enabling tui_version.
2965 * printcmd.c (display_command) [TUI]: Test tui_active instead of
2966 tui_version.
2967 * cli/cli-decode.c (lookup_cmd_composition): Ditto.
2968 * cli/cli-cmds.c (disassemble_command): Ditto.
2969 * defs.h (tui_version): Delete declaration.
2970 * Makefile.in (SUBDIR_TUI_SRCS): Add "tui/tui-interp.c".
2971 (tui-interp.o): Add rules.
2972 (SUBDIR_TUI_OBS): Add "tui-interp.o".
2973
2974 2003-02-14 Christopher Faylor <cgf@redhat.com>
2975
2976 * win32-nat.c (register_loaded_dll): Correctly set address range for
2977 just-loaded dll.
2978
2979 2003-02-12 Jason Molenda (jmolenda@apple.com)
2980
2981 * symmisc.c (print_objfile_statistics): Include information about
2982 the number of psymtabs and symtabs in each object file.
2983
2984 2003-02-13 Keith R Seitz <keiths@redhat.com>
2985
2986 * main.h (struct captured_main_args): Add interpreter_p.
2987 * main.c (captured_main): Initialize interpreter_p from context.
2988 * gdb.c (main): Set interpreter_p argument.
2989 * Makefile.in (gdb.o): Add dependency for interps.h.
2990
2991 2003-02-12 Andrew Cagney <ac131313@redhat.com>
2992
2993 * event-top.c (cli_command_loop): Delete declaration.
2994 (_initialize_event_loop): Delete function setting event_loop_hook.
2995 * event-top.h (cli_command_loop): Declare. Update copyright.
2996 (EVENT_TOP_H): Define. Wrap header in #ifdef EVENT_TOP_H.
2997 * interps.c (current_interp_command_loop): When event_loop_p, call
2998 cli_command_loop.
2999
3000 2003-02-12 Andrew Cagney <ac131313@redhat.com>
3001
3002 * interps.h (interp_command_loop_ftype): Change return type to
3003 void.
3004
3005 2003-02-12 Michal Ludvig <mludvig@suse.cz>
3006
3007 * x86-64-tdep.c (x86_64_extract_return_value)
3008 (x86_64_store_return_value): Use regcache instead of regbuf.
3009 (x86_64_gdbarch_init): Change related set_gdbarch_* functions.
3010 * x86-64-linux-nat.c (fill_gregset): Use regcache.
3011
3012 2003-02-11 Andrew Cagney <ac131313@redhat.com>
3013
3014 * acinclude.m4 (no_tcl): SUBST TCL_CC_SEARCH_FLAGS.
3015 * aclocal.m4: Regenerate.
3016 * configure: Regenerate.
3017
3018 * Makefile.in (TCL): Use TCL_CC_SEARCH_FLAGS instead of
3019 TCL_LD_SEARCH_FLAGS.
3020
3021 2003-02-10 Michal Ludvig <mludvig@suse.cz>
3022
3023 * dwarf2cfi.c: Reindented.
3024
3025 2003-02-09 Andrew Cagney <ac131313@redhat.com>
3026
3027 * interps.c (clear_interpreter_hooks): Convert function definition
3028 to ISO C.
3029
3030 2003-02-07 David Carlton <carlton@math.stanford.edu>
3031
3032 * gdb_mbuild.sh: Delete extra shift after parsing '-f'.
3033
3034 2003-02-07 Kevin Buettner <kevinb@redhat.com>
3035
3036 * gdbtypes.h (struct main_type): Move ``length'' field from here...
3037 (struct type): ...to here.
3038 (TYPE_LENGTH): Adjust to reflect different location of ``length''
3039 field.
3040 * gdbtypes.c (make_qualified_type): Set length on newly created type.
3041 (replace_type): Set length on all type variants for a given type.
3042
3043 2003-02-07 Andrew Cagney <ac131313@redhat.com>
3044
3045 * sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
3046 <sys/stat.h>.
3047 * Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
3048
3049 2003-02-06 Andrew Cagney <ac131313@redhat.com>
3050
3051 * Makefile.in (symm-nat.o): Update dependencies.
3052 (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
3053 (lynx-nat.o, ia64-linux-nat.): Ditto.
3054 * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
3055 "gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
3056 * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
3057
3058 * Makefile.in (inflow_h): Define.
3059 (procfs.o, inflow.o, procfs.o): Update dependencies.
3060 * inftarg.c (child_stop): Delete extern declaration of
3061 inferior_process_group. Include "inflow.h".
3062 * procfs.c (procfs_stop): Ditto. Include "inflow.h".
3063 * inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
3064 * inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
3065 (our_process_group, inferior_process_group): Extern declarations.
3066
3067 * procfs.c: Include "gdb_assert.h".
3068
3069 * linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
3070 * cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
3071 * jv-typeprint.c (java_type_print_base): Ditto.
3072 * typeprint.c (typedef_print): Eliminate STREQ.
3073 * cli/cli-script.c (define_command, define_command): Ditto.
3074 * main.c (captured_main): Ditto.
3075 * values.c (lookup_internalvar): Ditto.
3076 * utils.c (safe_strerror, parse_escape): Eliminate assignment
3077 within `if' conditional.
3078 * linespec.c (decode_line_2): Ditto.
3079 * cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
3080 (bfd_openw_with_cleanup): Ditto.
3081
3082 2003-02-07 Mark Kettenis <kettenis@gnu.org>
3083
3084 * x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
3085 legacy_extract_return_value and store_return_value to
3086 legacy_return_value.
3087
3088 2003-02-06 Raoul Gough <RaoulGough@yahoo.co.uk>
3089
3090 * win32-nat.c (get_relocated_section_addrs): New function. Find
3091 section load addresses for symbol handling in relocated DLLs.
3092 (solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
3093
3094 2003-02-05 Fred Fish <fnf@intrinsity.com>
3095
3096 * remote-e7000.c (e7000_drain_command): Fix precedence problem with
3097 '=' and '!='.
3098 * rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
3099 with '&' and '=='.
3100 (angel_RDI_info): Ditto.
3101 * infttrace.c (threads_continue_all_but_one): Fix precedence problem
3102 with '&' and '!='.
3103 (threads_continue_all_with_signals): Ditto.
3104
3105 2003-02-05 Jim Ingham <jingham@apple.com>
3106 Keith Seitz <keiths@redhat.com>
3107 Elena Zannoni <ezannoni@redhat.com>
3108 Andrew Cagney <ac131313@redhat.com>
3109
3110 * Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
3111 (SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
3112 (SUBDIR_MI_OBS): Add "mi-interp.o".
3113 (SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
3114 (SFILES): Add "interps.c".
3115 (COMMON_OBS): Add "interps.o".
3116 (interps_h, mi_main_h): Define.
3117 (interps.o, cli-interp.o, mi-interp.o): Add dependencies.
3118 (mi-main.o, main.o, event-top.o): Update dependencies.
3119 * cli/cli-interp.c: New file.
3120 * interps.h, interps.c: New files.
3121 * top.c: (gdb_init): Don't install the default interpreter, handed
3122 by captured_main.
3123 * main.c: Include "interps.h".
3124 (interpreter_p): Note that it should malloc'ed.
3125 (captured_command_loop): Call current_interp_command_loop.
3126 (captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
3127 xfree and xstrdup when updating interpreter_p. Install the
3128 default interpreter. Add hack to stop mi1's copyright notice
3129 being encoded.
3130 * event-top.h (gdb_setup_readline): Declare.
3131 (gdb_disable_readline): Declare.
3132 * event-top.c: Include "interps.h".
3133 (display_gdb_prompt): Call current_interp_display_prompt_p.
3134 (gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
3135 gdb_stdlog, and gdb_stdtarg.
3136 (_initialize_event_loop): Don't call gdb_setup_readline.
3137 * cli-out.c (cli_out_set_stream): New function.
3138 * cli-out.h (cli_out_set_stream): Declare.
3139
3140 2003-02-06 Mark Kettenis <kettenis@gnu.org>
3141
3142 * configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
3143 i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove. These are all
3144 handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
3145 * config/i386/i386sco5.mt, config/i386/i386v4.mt,
3146 config/i386/i386v42mp.mt: Removed.
3147
3148 2003-02-05 Mark Kettenis <kettenis@gnu.org>
3149
3150 * configure.tgt (*-*-solaris*): Set gdb_osabi to
3151 GDB_OSABI_SOLARIS.
3152
3153 2003-02-05 Michael Chastain <mec@shout.net>
3154
3155 * PROBLEMS (i[3456]86-*-linux*): Warn about binutils
3156 2.12.1 and earlier versions.
3157
3158 2003-02-05 Andrew Cagney <ac131313@redhat.com>
3159
3160 Remove orphaned hosts, targets and files.
3161 * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
3162 * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
3163 * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
3164 * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
3165 * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
3166 * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
3167 * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
3168 * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
3169 * config/sparc/tm-sp64sim.h: Delete.
3170 * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
3171 hosts.
3172 * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
3173 mips*-dec-mach3* targets.
3174
3175 2003-02-04 Michael Chastain <mec@shout.net>
3176
3177 * NEWS: Fix typo: sepcifying -> specifying.
3178
3179 2003-02-04 Michael Chastain <mec@shout.net>
3180
3181 * dwarfread.c: Add documentation on the state of dwarf-1,
3182 looking towards obsoletion.
3183
3184 2003-02-03 Michael Chastain <mec@shout.net>
3185
3186 * config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
3187 gdb/testsuite/gdb.c++/pr-1023.exp.
3188
3189 2003-02-04 Andrew Cagney <ac131313@redhat.com>
3190
3191 * values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
3192 * TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
3193
3194 * utils.c (init_page_info): Delete reference to MPW in comments.
3195 * main.c (captured_main): Delete #ifdef MPW.
3196
3197 2003-02-04 Andrew Cagney <ac131313@redhat.com>
3198
3199 * NEWS: Note that the m32r-*-elf* is obsolete.
3200 * monitor.c (monitor_expect): Obsolete reference to m32r.
3201 * configure.tgt: Mark m32r-*-elf* as obsolete.
3202 * MAINTAINERS: Mark m32k as obsolete.
3203 * m32r-rom.c: Obsolete file.
3204 * config/m32r/m32r.mt: Obsolete file.
3205 * config/m32r/tm-m32r.h: Obsolete file.
3206 * m32r-stub.c: Obsolete file.
3207 * m32r-tdep.c: Obsolete file.
3208
3209 2003-02-04 Andrew Cagney <ac131313@redhat.com>
3210
3211 * NEWS: Mention that the z8k-zilog-none is obsolete.
3212 * MAINTAINERS: Mark z8k as obsolete.
3213 * configure.tgt: Obsolete the z8k-*-coff* target.
3214 * config/z8k/z8k.mt: Obsolete file.
3215 * config/z8k/tm-z8k.h: Obsolete file.
3216 * z8k-tdep.c: Obsolete file.
3217
3218 2003-02-04 Andrew Cagney <ac131313@redhat.com>
3219
3220 * NEWS: Mention that the mn10200-elf is obsolete.
3221 * configure.tgt: Obsolete mn10200-*-* target.
3222 * breakpoint.c (update_breakpoints_after_exec): Update comment to
3223 mention that the mn10200 is obsolete.
3224 * breakpoint.h: Ditto.
3225 * MAINTAINERS: Mark the mn10200-elf as obsolete.
3226 * config/mn10200/mn10200.mt: Obsolete file.
3227 * config/mn10200/tm-mn10200.h: Obsolete file.
3228 * mn10200-tdep.c: Obsolete file.
3229
3230 2003-02-04 Andrew Cagney <ac131313@redhat.com>
3231
3232 * MAINTAINERS: Mark h8500 as obsolete.
3233 * configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
3234 * findvar.c (value_from_register): Ditto.
3235 * h8500-tdep.c: Mark file as obsolete.
3236 * config/h8500/h8500.mt: Ditto.
3237 * config/h8500/tm-h8500.h: Ditto.
3238 * NEWS: Mention that h8500 is obsolete.
3239
3240 2003-02-04 David Carlton <carlton@math.stanford.edu>
3241
3242 * objfiles.c (allocate_objfile): Always set name. Add comment at
3243 start of function.
3244 * jv-lang.c (get_dynamics_objfile): Add comment.
3245
3246 2003-02-04 David Carlton <carlton@math.stanford.edu>
3247
3248 * symtab.h (SYMBOL_LINKAGE_NAME): Delete.
3249 * printcmd.c (build_address_symbolic): Replace uses of
3250 SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
3251 SYMBOL_NAME, and asm_demangle.
3252 Update copyright.
3253
3254 2003-02-04 David Carlton <carlton@math.stanford.edu>
3255
3256 * linespec.c (decode_compound): Extract code into
3257 lookup_prefix_sym.
3258 (lookup_prefix_sym): New function.
3259
3260 2003-02-04 David Carlton <carlton@math.stanford.edu>
3261
3262 * gdbtypes.h: Delete INTEGER_COERCION_BADNESS,
3263 FLOAT_COERCION_BADNESS.
3264 * gdbtypes.c (rank_one_type): Replace all uses of
3265 INTEGER_COERCION_BADNESS by INTEGER_CONVERSION_BADNESS.
3266
3267 2003-02-04 Jim Blandy <jimb@redhat.com>
3268
3269 * dwarf2read.c (dwarf2_locate_sections): When we find a macro info
3270 section, let dwarf_macinfo_section point to it, not
3271 dwarf_loc_section.
3272
3273 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
3274
3275 Pointed out by Anton Blanchard <anton@samba.org>.
3276 * ppc-linux-tdep.c (insn_is_sigreturn): New function.
3277 (ppc_linux_at_sigtramp_return_path): Use it.
3278
3279 2003-02-04 Daniel Jacobowitz <drow@mvista.com>
3280
3281 * defs.h (streq): Add prototype.
3282 * utils.c (streq): New function.
3283
3284 * dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
3285 SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
3286 * mdebugread.c (new_symbol): Likewise.
3287 * stabsread.c (define_symbol): Likewise.
3288 * coffread.c (process_coff_symbol): Likewise.
3289 * dwarfread.c (new_symbol): Likewise.
3290
3291 * minsyms.c (prim_record_minimal_symbol_and_info): Use
3292 SYMBOL_SET_NAMES instead of setting SYMBOL_NAME. Set the language
3293 here.
3294 (install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
3295 SYMBOL_INIT_DEMANGLED_NAME.
3296 * objfiles.c: Include "hashtab.h".
3297 (allocate_objfile): Call htab_set_functions_ex for the
3298 demangled_names_hash.
3299 (free_objfile): Call htab_delete for the demangled_names_hash.
3300 * objfiles.h (struct htab): Add declaration.
3301 (struct objfile): Add demangled_names_hash.
3302 * symfile.c: Include "hashtab.h".
3303 (reread_symbols): Call htab_delete for the demangled_names_hash.
3304 (add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
3305 SYMBOL_NAME in the bcache.
3306 * symtab.c: Include "hashtab.h". Update comments.
3307 (create_demangled_names_hash, symbol_set_names): New functions.
3308 (symbol_find_demangled_name): New function, broken out from
3309 symbol_init_demangled_names.
3310 (symbol_init_demangled_names): Use it.
3311 * symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
3312 (SYMBOL_SET_NAMES): New macro.
3313 (symbol_set_names): Add prototype.
3314
3315 2003-02-03 Jim Blandy <jimb@redhat.com>
3316
3317 Use a single, consistent representation for an empty minimal
3318 symbol table in an objfile.
3319 * objfiles.c (terminate_minimal_symbol_table): New function.
3320 (allocate_objfile): Call it.
3321 * objfiles.h (terminate_minimal_symbol_table): New declaration.
3322 (ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
3323 non-NULL.
3324 * minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
3325 objfile has minimal symbols, compare minimal_symbol_count to zero,
3326 instead of comparing msymbols with NULL.
3327 * objfiles.c (have_minimal_symbols): Same.
3328 * solib-sunos.c (solib_add_common_symbols): Call
3329 terminate_minimal_symbol_table.
3330 * symfile.c (reread_symbols): Same.
3331
3332 2003-02-03 Kevin Buettner <kevinb@redhat.com>
3333
3334 * s390-tdep.c (s390_address_class_type_flags)
3335 (s390_address_class_type_flags_to_name)
3336 (s390_address_class_name_to_type_flags): New functions.
3337 (s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
3338 ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.
3339
3340 2003-02-03 Michael Snyder <msnyder@redhat.com>
3341
3342 * arm-tdep.c: Fix spell-o in comment.
3343
3344 2003-02-03 Michal Ludvig <mludvig@suse.cz>
3345
3346 * dwarf2cfi.c (pointer_encoding): Added new parameter.
3347 * dwarf2cfi.c, dwarf2read.c: Changed all warnings and
3348 error messages to contain BFD filename.
3349
3350 2003-02-02 Elena Zannoni <ezannoni@redhat.com>
3351
3352 Fix PR gdb/742 gdb/743 gdb/877
3353 * disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
3354 (do_mixed_source_and_assembly): Use
3355 make_cleanup_ui_out_tuple_begin_end and
3356 make_cleanup_ui_out_tuple_begin_end.
3357 (do_mixed_source_and_assembly): Ditto.
3358 * thread.c (do_captured_list_thread_ids): Ditto.
3359 * ui-out.h (ui_out_table_begin, ui_out_list_begin,
3360 ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
3361 ui_out_tuple_end): Delete prototypes.
3362 * ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
3363 ui_out_list_end, ui_out_tuple_end): Delete.
3364
3365 From Kevin Buettner <kevinb@redhat.com>:
3366 * ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
3367 * ui-out.c (make_cleanup_ui_out_table_begin_end)
3368 (do_cleanup_table_end): New functions.
3369 * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
3370 Use cleanups to invoke_ui_out_tuple_end().
3371 (breakpoint_1): Use cleanup to invoke ui_out_table_end().
3372 * cli/cli-setshow.c (cmd_show_list): Use
3373 make_cleanup_ui_out_tuple_begin_end.
3374
3375 2003-02-02 Andrew Cagney <ac131313@redhat.com>
3376
3377 * frame.c (frame_unwind_register): New function.
3378 (frame_unwind_unsigned_register): Use.
3379 (frame_unwind_signed_register): Use.
3380 (frame_read_register): New function.
3381 * frame.h (frame_unwind_register): Declare.
3382 (frame_read_register): Declare.
3383
3384 * d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
3385 and frame_unwind_register instead of read_memory, write_register
3386 and deprecated_write_register_bytes.
3387
3388 2003-02-02 Andrew Cagney <ac131313@redhat.com>
3389
3390 * frame.h: Note that namelen can be negative.
3391 * frame.c (frame_map_name_to_regnum): When LEN is negative, use
3392 NAME's length.
3393
3394 * NEWS: Mention that the d10v's `regs' command is deprecated.
3395 * d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
3396 (d10v_print_registers_info): New function.
3397 (show_regs): Call d10v_print_registers_info.
3398 (_initialize_d10v_tdep): Mark "show regs" command as deprecated.
3399
3400 2003-02-02 Mark Kettenis <kettenis@gnu.org>
3401
3402 * stack.c (print_frame_info): Restore call to annotate_frame_begin
3403 lost in the previous patch.
3404
3405 2003-02-01 Andrew Cagney <ac131313@redhat.com>
3406
3407 From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
3408 * stack.c (print_frame_info_base): Output complete FRAME tuple
3409 for synthesized frames.
3410
3411 2003-02-02 Andrew Cagney <ac131313@redhat.com>
3412
3413 * mips-nat.c (zerobuf): Delete.
3414 (fetch_inferior_registers): Alloc local zerobuf.
3415 (fetch_core_registers): Alloc local zerobuf.
3416 * d10v-tdep.c (show_regs): Don't allocate a dynamic array using
3417 MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
3418 * thread-db.c (thread_db_store_registers): Ditto.
3419 * sh-tdep.c (sh_do_register): Ditto.
3420 * rom68k-rom.c (rom68k_supply_one_register): Ditto.
3421 * remote-sim.c (gdbsim_store_register): Ditto.
3422 * remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
3423 * remote-e7000.c (fetch_regs_from_dump): Ditto.
3424 * monitor.c (monitor_supply_register): Ditto.
3425 * mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
3426 * mips-nat.c (fetch_inferior_registers): Ditto.
3427 * m68klinux-nat.c (fetch_register): Ditto.
3428 * lynx-nat.c (fetch_inferior_registers): Ditto.
3429 (fetch_inferior_registers): Ditto.
3430 * irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
3431 * hpux-thread.c (hpux_thread_fetch_registers): Ditto.
3432 (hpux_thread_store_registers): Ditto.
3433 * hppah-nat.c (fetch_register): Ditto.
3434 * hppab-nat.c (fetch_register): Ditto.
3435 * hppa-tdep.c (pa_register_look_aside): Ditto.
3436 (pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
3437 * dve3900-rom.c (fetch_bitmapped_register): Ditto.
3438
3439 2003-02-01 Andrew Cagney <ac131313@redhat.com>
3440
3441 * gdbarch.sh: Explictly specify all method levels. When a
3442 variable with an empty level, provide a non-multi-arch default.
3443 (BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
3444 * gdbarch.h: Re-generate.
3445 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete. Always defined.
3446 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1
3447
3448 2003-02-01 Andrew Cagney <ac131313@redhat.com>
3449
3450 * defs.h (host_pointer_to_address): Delete declaration.
3451 (address_to_host_pointer): Delete declaration.
3452 * utils.c (host_pointer_to_address): Delete function.
3453 (address_to_host_pointer): Delete function.
3454 * procfs.c (procfs_address_to_host_pointer): New function.
3455 * procfs.c (proc_set_watchpoint): Use.
3456 (procfs_can_use_hw_breakpoint): Update comments.
3457 * somsolib.c (hpux_address_to_host_pointer_hack): New function.
3458 (som_solib_add): Use.
3459 * hppa-tdep.c (hppa_pointer_to_address_hack): New function.
3460 * hppa-tdep.c (unwind_command): Use.
3461
3462 2003-02-01 Andrew Cagney <ac131313@redhat.com>
3463
3464 * gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
3465 strlen d_name.
3466
3467 * main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
3468 ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
3469 (print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
3470 * stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
3471 (define_symbol): Update.
3472 * symfile.c (generic_load): Remove references to nindy.
3473 * symtab.c: Remove references to nindy.
3474
3475 2003-02-01 Andrew Cagney <ac131313@redhat.com>
3476
3477 * infcmd.c (print_float_info): Delete code conditional on
3478 FLOAT_INFO.
3479 * config/nm-lynx.h: Delete #undef FLOAT_INFO. Update copyright.
3480 * config/m68k/nm-apollo68b.h: Ditto.
3481 * config/i386/tm-ptx.h (FLOAT_INFO): Delete. Update copyright.
3482 * config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
3483 * config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.
3484
3485 2003-02-01 Mark Kettenis <kettenis@gnu.org>
3486
3487 * config/i386/tm-i386os9k.h: Removed.
3488
3489 * configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
3490 Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
3491 they're identical to i[3456]86-*-sysv* now.
3492 * config/i386/i386v32.mh: Removed.
3493 * config/i386/xm-i386v32.h: Removed.
3494 * config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.
3495
3496 * config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
3497
3498 * config/i386/i386dgux.mh: Removed.
3499 * configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.
3500
3501 * configure.in: Fix typo.
3502 * configure: Regenerated.
3503
3504 2003-01-31 David Carlton <carlton@math.stanford.edu>
3505
3506 * dwarf2read.c (dwarf2_locate_sections): Set
3507 dwarf_ranges_section.
3508
3509 2003-01-31 Andrew Cagney <ac131313@redhat.com>
3510
3511 * objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
3512 * utils.c: Update comments documenting legitimate uses of PTR.
3513
3514 * utils.c: Re-indent.
3515
3516 * config/djgpp/fnchange.lst: Delete nindy files.
3517 * nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
3518 * nindy-share/nindy.c, nindy-share/env.h: Delete files.
3519 * nindy-share/coff.h, nindy-share/block_io.h: Delete files.
3520 * nindy-share/b.out.h, nindy-share/VERSION: Delete files.
3521 * nindy-share/README, nindy-share/Onindy.c: Delete files.
3522 * nindy-tdep.c, nindy-share/Makefile: Delete files.
3523 * Makefile.in (init.c): Remove nindy references.
3524 (saber_gdb): Delete rule.
3525 (ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
3526 nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
3527 and a68v-nat.c.
3528 (hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
3529 (Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
3530 (HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
3531 nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
3532 nindy-share/stop.h.
3533 * hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
3534 * saber.suppress: Delete file.
3535
3536 2003-01-31 Daniel Jacobowitz <drow@mvista.com>
3537
3538 * dbxread.c (stabs_data): New static variable.
3539 (fill_symbuf): Support an in-memory buffer for stabs data.
3540 (stabs_seek): New function.
3541 (dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
3542 (read_ofile_symtab): Use stabs_seek.
3543 (elfstab_build_psymtabs): Take an asection* instead of
3544 an offset and size. Relocate the stabs data if necessary.
3545 Save the section* for dbx_psymtab_to_symtab.
3546 * dwarf2read.c: Add section variables for each debug section.
3547 (dwarf2_locate_sections): Fill them in.
3548 (dwarf2_read_section): Take an asection* argument.
3549 Relocate the section contents if necessary.
3550 (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
3551 * dwarf2cfi.c (parse_frame_info): Take a section argument and pass
3552 it to dwarf2_read_section.
3553 (dwarf2_build_frame_info): Update callers.
3554 * elfread.c (elf_symfile_read): Update call to
3555 elfstab_build_psymtabs.
3556 * gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
3557 (DBX_STAB_SECTION): New macro.
3558 * stabsread.h (elfstab_build_psymtabs): Update prototype.
3559 * symfile.c (symfile_dummy_outputs): New function.
3560 (symfile_relocate_debug_section): New function.
3561 * symfile.h (symfile_relocate_debug_section): Add prototype.
3562
3563 2003-01-31 Richard Henderson <rth@redhat.com>
3564
3565 * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
3566 (register_addr): ... here. Support ALPHA_UNIQUE_REGNUM.
3567 (fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
3568 * alpha-tdep.c (alpha_register_name): Add "unique".
3569 * alpha-tdep.h (ALPHA_NUM_REGS): Increment.
3570 (ALPHA_UNIQUE_REGNUM): New.
3571 * config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.
3572
3573 2003-01-31 Andrew Cagney <ac131313@redhat.com>
3574
3575 * README: Remove reference to Ericsson 1800 monitor.
3576 * Makefile.in (remote-es.o): Delete rule.
3577 (ALLDEPFILES): Delete remote-es.c.
3578 * remote-es.c: Delete file.
3579 * config/m68k/es1800.mt: Delete file.
3580 * config/djgpp/fnchange.lst: Update.
3581 * configure.tgt: Delete m68*-ericsson-* target.
3582
3583 2003-01-31 Adam Fedor <fedor@gnu.org>
3584
3585 * infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
3586 Remove duplicate/shadowing variable of same name.
3587
3588 2003-01-30 Jim Blandy <jimb@redhat.com>
3589
3590 * symfile.c (find_separate_debug_file): Assert that the objfile's
3591 directory name we compute ends with a slash, and then assume that
3592 that's so everywhere we use it.
3593
3594 2003-01-30 Daniel Jacobowitz <drow@mvista.com>
3595
3596 * valops.c (value_assign): Flush frame cache after stores to memory
3597 also.
3598
3599 2003-01-30 Andrew Cagney <ac131313@redhat.com>
3600
3601 * Makefile.in (mon960-rom.o): Delete rule.
3602 * mon960-rom.c: Delete file.
3603
3604 2003-01-30 Andrew Cagney <ac131313@redhat.com>
3605
3606 * d10v-tdep.c: Include "frame-unwind.h".
3607 (d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
3608 list.
3609 (next_addr, uses_frame): Delete.
3610 (struct d10v_unwind_cache): Define.
3611 (prologue_find_regs): Add struct d10v_unwind_cache info parameter.
3612 Use info instead of next_addr and uses_frame globals.
3613 (d10v_frame_init_saved_regs): Delete function.
3614 (d10v_init_extra_frame_info): Delete function.
3615 (d10v_gdbarch_init): Do not initialize init_extra_frame_info,
3616 frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
3617 init_frame_pc or frame_saved_pc.
3618 (d10v_pop_frame): Delete function.
3619 (do_d10v_pop_frame): Delete function.
3620 (d10v_frame_chain): Delete function.
3621 (d10v_frame_chain_valid): Delete function.
3622 (d10v_frame_pc_unwind): New function.
3623 (d10v_frame_id_unwind): New function.
3624 (saved_regs_unwinder): New function.
3625 (d10v_frame_register_unwind): New function.
3626 (d10v_frame_pop): New function.
3627 (d10v_frame_unwind): New variable.
3628 (d10v_frame_p): New function.
3629 (d10v_frame_saved_pc): Delete function.
3630 * Makefile.in (d10v-tdep.o): Update dependencies.
3631
3632 2003-01-30 J. Brobecker <brobecker@gnat.com>
3633
3634 * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
3635 causing some regressions due to a change in the default value
3636 for this macro.
3637
3638 2003-01-29 Richard Henderson <rth@redhat.com>
3639 Elena Zannoni <ezannoni@redhat.com>
3640 Daniel Jacobowitz <drow@mvista.com>
3641
3642 Fix PR gdb/961.
3643 * dwarf2read.c (dwarf_ranges_offset, dwarf_ranges_size): New
3644 variables.
3645 (RANGES_SECTION): New.
3646 (dwarf_ranges_buffer): New variable.
3647 (struct comp_unit_head): Add member "die".
3648 (struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
3649 (DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
3650 (dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
3651 (dwarf2_locate_sections): Likewise.
3652 (dwarf2_build_psymtabs): Read .debug_ranges.
3653 (dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
3654 (psymtab_to_symtab_1): Swap dwarf_ranges in. Set cu_header.die.
3655 (dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
3656 Look for DW_AT_ranges and return the bounding box.
3657
3658 2003-01-29 Brian Ford <ford@vss.fsi.com>
3659
3660 * win32-nat.c (cygwin_pid): Removed as unused.
3661 (child_attach): Try fall back to Cygwin pid.
3662
3663 2003-01-29 Jim Blandy <jimb@redhat.com>
3664
3665 * objfiles.h (struct objfile): Doc fix.
3666
3667 2003-01-29 Andrew Cagney <ac131313@redhat.com>
3668
3669 * frame.c (frame_saved_regs_id_unwind): Assert FRAME_CHAIN_P.
3670 (legacy_get_prev_frame): Assert FRAME_CHAIN_P.
3671 (get_prev_frame): When FRAME_CHAIN_P, call legacy_get_prev_frame.
3672 (frame_saved_regs_pc_unwind): Assert FRAME_SAVED_PC_P.
3673 * gdbarch.sh (FRAME_CHAIN): Change to a function with predicate.
3674 (FRAME_SAVED_PC): Change to a function with predicate.
3675 * gdbarch.h, gdbarch.c: Re-generate.
3676
3677 2003-01-28 Andrew Cagney <ac131313@redhat.com>
3678
3679 * hppah-nat.c (child_pid_to_exec_file): Don't use boolean.
3680
3681 * complaints.c (complain): Delete function.
3682 * complaints.h (struct deprecated_complaint): Delete definition.
3683 (complain): Delete declaration.
3684
3685 2003-01-28 Kevin Buettner <kevinb@redhat.com>
3686
3687 * mips-tdep.c (mips_init_extra_frame_info): Return early for
3688 dummy frames.
3689
3690 2003-01-27 Andrew Cagney <ac131313@redhat.com>
3691
3692 * sentinel-frame.h, sentinel-frame.c: New files.
3693 * Makefile.in (frame.o): Update dependencies.
3694 (SFILES): Add sentinel-frame.c.
3695 (sentinel_frame_h): Define.
3696 (COMMON_OBS): Add sentinel-frame.o.
3697 (sentinel-frame.o): Specify dependencies.
3698 * frame.c: Include "sentinel-frame.h".
3699 (frame_register_unwind): Rewrite assuming that there is always a a
3700 ->next frame.
3701 (frame_register, generic_unwind_get_saved_register): Ditto.
3702 (frame_read_unsigned_register, frame_read_signed_register): Ditto.
3703 (create_sentinel_frame, unwind_to_current_frame): New functions.
3704 (get_current_frame): Rewrite using create_sentinel_frame and
3705 unwind_to_current_frame. When possible, always create a frame.
3706 (create_new_frame): Set next to the sentinel frame.
3707 (get_next_frame): Rewrite. Don't go below the level 0 frame.
3708 (deprecated_update_frame_pc_hack): Update the next frame's PC and
3709 ID cache when necessary.
3710 (frame_saved_regs_id_unwind): Use frame_relative_level.
3711 (deprecated_generic_get_saved_register): Use frame_relative_level,
3712 get_frame_saved_regs, get_frame_pc, get_frame_base and
3713 get_next_frame.
3714 (frame_saved_regs_register_unwind): Use get_frame_saved_regs and
3715 frame_register.
3716
3717 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
3718
3719 * gdb_indent.sh: Add -T bfd and -T asection to the indent arguments.
3720
3721 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
3722
3723 * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
3724 (maintenance_set_profile_cmd): Use error () instead of warning ().
3725
3726 2003-01-27 Daniel Jacobowitz <drow@mvista.com>
3727
3728 * configure.in: Check that -pg works if using --enable-profiling.
3729 Check for monstartup and _mcleanup regardless of --enable-profiling.
3730 * maint.c: Check for monstartup and _mcleanup before using them.
3731 * config.in: Regenerated.
3732 * configure: Regenerated.
3733
3734 2003-01-24 Nick Clifton <nickc@redhat.com>
3735
3736 * Add sh2e support:
3737
3738 2002-04-02 Elena Zannoni <ezannoni@redhat.com>
3739
3740 * gdb/sh-tdep.c (sh_sh2e_register_name): New.
3741 (sh2e_show_regs): New.
3742 (sh_gdbarch_init): Handle bfd_mach_sh2e.
3743 * config/sh/tm-sh.h: Added sh2e to comments.
3744
3745 2003-01-23 Jim Blandy <jimb@redhat.com>
3746
3747 * symfile.c (syms_from_objfile): Don't print the "(no debugging
3748 symbols found)" message here; we haven't checked for a separate
3749 debug info file yet, so we don't know yet.
3750 (symbol_file_add_with_addrs_or_offsets): Print it here, after
3751 we've looked everywhere. Also, there's no need to print a special
3752 message when we're loading the separate debug info file: the one
3753 symbol_file_add prints is fine.
3754
3755 2003-01-23 Alexander Larsson <alexl@redhat.com>
3756 Jim Blandy <jimb@redhat.com>
3757
3758 Add support for executables whose debug info has been separated
3759 out into a separate file, leaving only a link behind.
3760 * objfiles.h (struct objfile): New fields: separate_debug_objfile
3761 and separate_debug_objfile_backlink.
3762 (put_objfile_before): New declaration.
3763 * symfile.c: #include "filenames.h".
3764 (symbol_file_add_with_addrs_or_offsets): If this objfile has its
3765 debug info in a separate file, read that, too. Save the addrs
3766 argument, so we can use it again to read the separated debug info;
3767 syms_from_objfile modifies the table we pass it.
3768 (reread_symbols): After re-reading an objfile, call
3769 reread_separate_symbols to refresh its separate debug info
3770 objfile, if it has one.
3771 (reread_separate_symbols, find_separate_debug_file,
3772 get_debug_link_info, separate_debug_file_exists): New functions.
3773 (debug_file_directory): New global var.
3774 (_initialize_symfile): Initialize debug_file_directory, and
3775 provide the new `set debug-file-directory' command to let the user
3776 change it.
3777 * objfiles.c (free_objfile): If this objfile has its debug info in
3778 a separate objfile, free that one too. If this is itself a
3779 separate debug info objfile, clear our parent's backlink.
3780 (put_objfile_before): New function.
3781 * utils.c (gnu_debuglink_crc32): New function.
3782 * defs.h (gnu_debuglink_crc32): New declaration.
3783 * Makefile.in (symfile.o): Note dependency on "filenames.h".
3784 * configure.in: Handle --with-separate-debug-dir config option.
3785 * acinclude.m4 (AC_DEFINE_DIR): New macro.
3786 * acconfig.h (DEBUGDIR): New macro.
3787 * configure, aclocal.m4, config.in: Regenerated.
3788
3789 2003-01-22 Jim Blandy <jimb@redhat.com>
3790
3791 * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,
3792 like the old symbol_file_add, but taking new arguments: you can
3793 now pass in either a `struct section_addr_info' list to say where
3794 each section is loaded, or a `struct section_offsets' table. Pass
3795 these new arguments through to syms_from_objfile as appropriate.
3796 (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets,
3797 with the appropriate quiescent values for the new arguments.
3798
3799 * symfile.c: #include "gdb_assert.h".
3800 (syms_from_objfile): Add the ability to pass in a section offset
3801 table directly, as an alternative to the section_addr_info table.
3802 Document arguments better.
3803 (symbol_file_add): Pass extra arguments to syms_from_objfile.
3804 * symfile.h (syms_from_objfile): Update declaration.
3805 * rs6000-nat.c (objfile_symbol_add): Pass new arguments to
3806 syms_from_objfile.
3807 * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
3808
3809 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
3810
3811 Original patch by Tom Tromey <tromey@cygnus.com> and
3812 Jason Molenda <jmolenda@apple.com>.
3813 * Makefile.in (PROFILE_CFLAGS): Substitute from configure.
3814 (INTERNAL_LDFLAGS): Don't include PROFILE_CFLAGS.
3815 * NEWS: Mention profiling.
3816 * configure.in (--enable-gdbtk): Fix typo.
3817 (--enable-profiling): New. Set PROFILE_CFLAGS.
3818 * maint.c (maintenance_set_profile_cmd): Remove NOTYET.
3819 Fill in function.
3820 (profiling_state): New variable.
3821 (mcleanup_wrapper): New function.
3822 (_initialize_maint): Remove NOTYET, fix call to
3823 add_setshow_boolean_cmd for "maint set profile".
3824 * configure: Regenerated.
3825
3826 2003-01-21 Martin M. Hunt <hunt@redhat.com>
3827
3828 * Makefile.in (install-gdbtk): Install PNG images too.
3829
3830 2003-01-21 Andrew Cagney <ac131313@redhat.com>
3831
3832 * exec.c (text_start): Delete global variable.
3833 (exec_file_attach): Make text_start local to the function.
3834 * inferior.h (BEFORE_TEXT_END, AFTER_TEXT_END): Delete macros.
3835 * valops.c (hand_function_call): Delete code that handles
3836 BEFORE_TEXT_END and AFTER_TEXT_END.
3837 * gdbarch.sh (CALL_DUMMY_LENGTH): Test call_dummy_length instead
3838 of CALL_DUMMY_LOCATION.
3839 * gdbarch.c: Regenerate.
3840 * inferior.h (deprecated_pc_in_call_dummy_before_text_end)
3841 (deprecated_pc_in_call_dummy_after_text_end): Delete declaration.
3842 * blockframe.c (deprecated_pc_in_call_dummy_before_text_end)
3843 (deprecated_pc_in_call_dummy_after_text_end): Delete functions.
3844 (text_end): Delete extern declaration.
3845
3846 2003-01-21 Andrew Cagney <ac131313@redhat.com>
3847
3848 * frame.h (FRAME_OBSTACK_ZALLOC): Define.
3849 * blockframe.c (backtrace_below_main): Move to "frame.c".
3850 (frame_chain_valid): Delete check for backtrace_below_main.
3851 (_initialize_blockframe): Delete initialization, move ``set
3852 backtrace-below-main'' command to "frame.c".
3853 (do_flush_frames_sfunc): Delete function.
3854 * frame.c: Include "command.h" and "gdbcmd.h".
3855 (frame_type_from_pc): New function.
3856 (create_new_frame): Use frame_type_from_pc.
3857 (legacy_get_prev_frame): New function.
3858 (get_prev_frame): Rewrite. When an old style frame, call
3859 legacy_get_prev_frame. Otherwize, unwind the PC first.
3860 (_initialize_frame): Add ``set backtrace-below-main'' command.
3861 * Makefile.in (frame.o): Update dependencies.
3862
3863 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3864
3865 * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
3866 DEPRECATED_REGISTERS_INFO.
3867
3868 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3869
3870 * MAINTAINERS: Replace `Blanket Write Privs' with `Global
3871 Maintainers'. Update `Various Maintainers'.
3872
3873 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3874
3875 * frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
3876 * gdbarch.sh (POP_FRAME): Change to function with predicate.
3877 Suppress actual parameters when `-'.
3878 * gdbarch.h, gdbarch.c: Regenerate.
3879
3880 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3881
3882 * d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
3883 code handling dummy frames.
3884
3885 2003-01-19 Andrew Cagney <ac131313@redhat.com>
3886
3887 * frame-unwind.h (frame_unwind_pop_ftype): Declare.
3888 (struct frame_unwind): Add field pop.
3889 * frame.h (frame_pop): Declare.
3890 * frame.c (frame_saved_regs_pop): New function.
3891 (trad_frame_unwinder): Add frame_saved_regs_pop.
3892 (frame_pop): New function.
3893 * dummy-frame.c (dummy_frame_pop): New function.
3894 (discard_innermost_dummy): New function.
3895 (generic_pop_dummy_frame): Use discard_innermost_dummy.
3896 (dummy_frame_unwind): Add dummy_frame_pop.
3897 * infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
3898 * valops.c (hand_function_call): Ditto.
3899 * stack.c (return_command): Ditto.
3900
3901 2003-01-18 Andrew Cagney <ac131313@redhat.com>
3902
3903 * cris-tdep.c: Fix function declaration indentation.
3904 * dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
3905 * mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
3906 * rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
3907 * symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
3908 * xcoffread.c, config/pa/tm-hppa.h: Ditto.
3909 * config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.
3910
3911 2003-01-18 Michael Chastain <mec@shout.net>
3912
3913 * README (Unpacking and Installation -- quick overview):
3914 Warn against ".../gdb-5.3/gdb/configure".
3915
3916 2003-01-18 Andrew Cagney <ac131313@redhat.com>
3917
3918 * dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
3919 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3920 (struct frame_unwind): Declare opaque.
3921 (dummy_frame_p): Declare function.
3922 * dummy-frame.c (dummy_frame_id_unwind): Make static.
3923 (dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
3924 * dummy-frame.c: Include "frame-unwind.h".
3925 (dummy_frame_p): New function.
3926 (dummy_frame_unwind): New variable.
3927 * frame.c: Include "frame-unwind.h".
3928 (frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
3929 to use the new unwind field.
3930 (set_unwind_by_pc): Delete function.
3931 (create_new_frame, get_prev_frame): Set unwind field using
3932 frame_unwind_find_by_pc.
3933 (trad_frame_unwind, trad_frame_unwinder): New variables.
3934 * frame.h (trad_frame_unwind): Declare variable.
3935 (frame_id_unwind_ftype): Delete declaration.
3936 (frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
3937 (struct frame_unwind): Declare opaque.
3938 (struct frame_info): Replace the fields id_unwind, pc_unwind and
3939 register_unwind with a single unwind pointer.
3940 * frame-unwind.h, frame-unwind.c: New files.
3941 * Makefile.in (SFILES): Add frame-unwind.c.
3942 (frame_unwind_h): Define.
3943 (COMMON_OBS): Add frame-unwind.o.
3944 (frame-unwind.o): Specify dependencies.
3945 (frame.o, dummy-frame.o): Update dependencies.
3946
3947 2003-01-18 Andrew Cagney <ac131313@redhat.com>
3948
3949 * ada-valprint.c: Eliminate PTR.
3950 * breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
3951 * defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
3952 * exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
3953 * objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
3954 * remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
3955 * solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
3956 * symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
3957
3958 2003-01-17 Andrew Cagney <ac131313@redhat.com>
3959
3960 * main.c (captured_main): Don't use PTR.
3961 * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
3962 * gdbtypes.c (lookup_primitive_typename): Ditto.
3963 (lookup_struct_elt_type): Ditto.
3964 * f-valprint.c (info_common_command): Ditto.
3965 (list_all_visible_commons): Ditto.
3966 * jv-typeprint.c (java_type_print_base): Ditto.
3967
3968 * config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
3969 mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
3970 Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c. Rename
3971 i386-interix-nat.c and i386-interix-tdep.c. Rename
3972 m68klinux-nat.c and m68klinux-tdep.c. Rename
3973 config/mips/tm-linux.h and config/mips/tm-linux64.h. Rename
3974 bfd/po/.cvsignore and opcodes/po/.cvsignore. Rename
3975 gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
3976 * main.c (captured_main): Use xfree, not free.
3977
3978 2003-01-16 Andrew Cagney <ac131313@redhat.com>
3979
3980 * frame.h (frame_id_unwind_ftype): Change type so that the frame's
3981 ID back using a parameter.
3982 * frame.c (frame_id_unwind): Update call.
3983 (frame_saved_regs_id_unwind): Update.
3984 * dummy-frame.c (dummy_frame_id_unwind): Update function.
3985 * dummy-frame.h (struct frame_id): Add opaque declaration.
3986 (dummy_frame_id_unwind): Update declaration.
3987
3988 2003-01-15 Andrew Cagney <ac131313@redhat.com>
3989
3990 * sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.
3991
3992 2003-01-15 Stephen P. Smith <ischis2@cox.net>
3993
3994 * MAINTAINERS (Stephen P. Smith): Updated email address.
3995
3996 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
3997
3998 Fix PR gdb/898
3999 * breakpoint.c (until_break_command): Add new argument. Use it to
4000 decide whether to stop only at the current frame or not.
4001 * breakpoint.h (until_break_command): Update prototype.
4002 * infcmd.c (until_command): Add new argument to until_break_command
4003 call.
4004 (advance_command): New function.
4005 (_initialize_infcmd): Update help string for 'until' command.
4006 Add new 'advance' command.
4007
4008 2003-01-14 David Carlton <carlton@math.stanford.edu>
4009
4010 * linespec.c (decode_line_1): Normalize comments.
4011 (set_flags): Ditto.
4012 (locate_first_half): Ditto.
4013 (decode_compound): Ditto.
4014 (symtab_from_filename): Ditto.
4015 (decode_all_digits): Ditto.
4016 (decode_dollar): Ditto.
4017 (find_methods): Ditto.
4018 (find_toplevel_char): Ditto.
4019
4020 2003-01-13 Andrew Cagney <ac131313@redhat.com>
4021
4022 * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright.
4023 * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright.
4024 * elfread.c, eval.c, expprint.c, expression.h: Update copyright.
4025 * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright.
4026 * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright.
4027 * language.c, language.h, m32r-tdep.c: Update copyright.
4028 * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright.
4029 * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright.
4030 * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright.
4031 * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright.
4032 * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright.
4033 * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright.
4034
4035 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
4036
4037 * stabsread.h (process_later, resolve_cfront_continuation):
4038 Obsolete.
4039 Update copyright years.
4040 * buildsym.c (start_subfile): Obsolete comment pertinent to Cfront.
4041 Update copyright year.
4042 * dbxread.c(struct cont_elem): Obsolete.
4043 (process_later, process_now): Obsolete functions.
4044 (read_dbx_symtab, read_ofile_symtab): Obsolete cfront support.
4045 Update copyright year.
4046 * gdbtypes.c (INIT_EXTRA, ADD_EXTRA): Obsolete macros.
4047 (add_name, add_mangled_type, cfront_mangle_name): Obsolete functions.
4048 * mdebugread.c (parse_type): Obsolete comment pertinent to Cfront.
4049 (parse_partial_symbols): Obsolete cfront support.
4050 * stabsread.c
4051 (CFRONT_VISIBILITY_PRIVATE,CFRONT_VISIBILITY_PUBLIC): Obsolete
4052 macros.
4053 (get_substring, get_cfront_method_physname, msg_unknown_complaint,
4054 read_cfront_baseclasses, read_cfront_member_functions,
4055 resolve_cfront_continuation,read_cfront_static_fields,
4056 copy_cfront_struct_fields): Obsolete functions.
4057 (define_symbol, read_one_struct_field): Obsolete cfront support.
4058 * xcoffread.c (scan_xcoff_symtab): Obsolete CFront support.
4059 Update Copyright year.
4060
4061 2003-01-13 Elena Zannoni <ezannoni@redhat.com>
4062
4063 * stack.c (print_frame_info, print_stack_frame_base_stub,
4064 print_stack_frame_base, show_and_print_stack_frame_stub,
4065 show_and_print_stack_frame, print_only_stack_frame_stub,
4066 print_only_stack_frame): Delete functions.
4067 (print_stack_frame_stub): Call print_frame_info instead of
4068 print_frame_info_base.
4069 (print_frame_info_base): Rename to print_frame_info.
4070 (backtrace_command_1): Call print_frame_info, instead of
4071 print_frame_info_base.
4072 (current_frame_command): Call print_stack_frame, instead of
4073 print_only_stack_frame.
4074 (frame_command): Call print_stack_frame, instead of
4075 show_and_print_stack_frame.
4076 (up_command): Ditto.
4077 (down_command): Ditto.
4078 * frame.h (print_only_stack_frame): Delete prototype.
4079 * infrun.c (normal_stop): Call print_stack_frame, instead of
4080 show_and_print_stack_frame.
4081 * thread.c (info_threads_command): Call print_stack_frame, instead
4082 of print_only_stack_frame.
4083
4084 2003-01-13 Andrew Cagney <ac131313@redhat.com>
4085
4086 * README (Graphical interface to GDB): Update URL. Point at
4087 gdb/links/.
4088
4089 * gdb_indent.sh: Update to version 2.2.9. Warn when not exact
4090 version match.
4091
4092 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
4093
4094 * symtab.c (find_pc_sect_line): Don't consider end-of-function
4095 lines.
4096
4097 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
4098
4099 * thread-db.c (attach_thread): Prototype.
4100 (struct private_thread_info): Remove lwpid. Add thread handle (th),
4101 thread information (ti), and valid flags (th_valid, ti_valid).
4102 (attach_thread): Move target_pid_to_str call to after the thread
4103 is added to GDB's list. Initialize the cache.
4104 (thread_get_info_callback, thread_db_map_id2thr)
4105 (thread_db_get_info): New functions.
4106 (thread_from_lwp, lwp_from_thread, thread_db_fetch_registers)
4107 (thread_db_store_registers, thread_db_thread_alive)
4108 (thread_db_get_thread_local_address): Use them.
4109 (thread_db_pid_to_str): Likewise. Return "Missing" instead
4110 of calling error() for threads in unknown state.
4111
4112 (clear_lwpid_callback): New function.
4113 (thread_db_resume): Use it to clear the cache.
4114
4115 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
4116
4117 * lin-lwp.c (struct private_thread_info, find_lwp_callback): Remove.
4118 (resume_callback): Remove dead code.
4119
4120 2003-01-13 Andrew Cagney <ac131313@redhat.com>
4121
4122 * gdbarch.sh (FRAME_INIT_SAVED_REGS): Change to function with
4123 predicate.
4124 * gdbarch.h, gdbarch.c: Regenerate.
4125 * stack.c (frame_info): Only initialize the saved registers when
4126 FRAME_INIT_SAVED_REGS_P.
4127 * frame.c (frame_saved_regs_register_unwind): Assert
4128 FRAME_INIT_SAVED_REGS_P.
4129 (deprecated_generic_get_saved_register): Ditto.
4130
4131 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
4132
4133 * source.c (openp): Squelch warning about "filename".
4134
4135 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
4136
4137 * source.c (openp): If the file does not exist don't necessarily
4138 search the path.
4139
4140 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
4141
4142 Fix PR gdb/872.
4143 * gdbtypes.c (init_type): Mark "char" as TYPE_FLAG_NOSIGN.
4144 (integer_types_same_name_p): New function.
4145 (rank_one_type): Use it.
4146 * stabsread.c (read_range_type): Mark "char" as TYPE_FLAG_NOSIGN.
4147
4148 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
4149
4150 * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): New
4151 variables.
4152 (main.o): Custom rule which uses $(TARGET_SYSTEM_ROOT_DEFINE).
4153 * configure.in: Add --with-sysroot.
4154 * configure: Regenerated.
4155 * main.c (gdb_sysroot): New variable.
4156 (captured_main): Initialize gdb_sysroot.
4157 * defs.h (gdb_sysroot): New extern declaration.
4158 * solib.c (_initialize_solib): Initialize solib_absolute_prefix.
4159
4160 2003-01-12 Michael Chastain <mec@shout.net>
4161
4162 * config/djgpp/fnchange.lst: add gdb/ChangeLog-2002.
4163
4164 2003-01-12 Michael Chastain <mec@shout.net>
4165
4166 * top.c (print_gdb_version): Bump copyright year to 2003.
4167
4168 2003-01-12 David Carlton <carlton@bactrian.org>
4169
4170 * linespec.c (symtab_from_filename): Rename variable 's' to
4171 'file_symtab'.
4172
4173 2003-01-12 Andrew Cagney <ac131313@redhat.com>
4174
4175 * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
4176 dummy frame.
4177 (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
4178
4179 2003-01-12 Andrew Cagney <ac131313@redhat.com>
4180
4181 * d10v-tdep.c: Include "gdb_assert.h".
4182 (d10v_store_return_value): Rewrite to match current interface.
4183 (d10v_extract_struct_value_address): Ditto.
4184 (d10v_extract_return_value): Ditto.
4185 (d10v_gdbarch_init): Set store_restore_value,
4186 extract_struct_value_address and extract_return_value.
4187
4188 2003-01-12 J. Brobecker <brobecker@gnat.com>
4189
4190 * hpread.c (set_namestring): New procedure replacing the
4191 SET_NAMESTRING macro.
4192 (hpread_build_psymtabs): Replace calls to SET_NAMESTRING
4193 by calls to set_namestring.
4194
4195 2003-01-11 J. Brobecker <brobecker@gnat.com>
4196
4197 * hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
4198 a compilation warning.
4199 (hpread_process_one_debug_symbol): Likewise.
4200
4201 2003-01-10 David Carlton <carlton@math.stanford.edu>
4202
4203 * linespec.c (decode_line_1): Rename variable 's' to
4204 'file_symtab'.
4205 (decode_all_digits): Rename argument 's' to 'file_symtab'.
4206 (decode_dollar): Ditto.
4207 (decode_variable): Ditto.
4208 (symbol_found): Ditto.
4209
4210 2003-01-09 Michael Chastain <mec@shout.net>
4211
4212 * config/djgpp/fnchange.lst: update file list for testsuite/gdb.c++.
4213
4214 2003-01-07 Corinna Vinschen <vinschen@redhat.com>
4215
4216 * win32-nat.c (set_process_privilege): New function.
4217 (child_attach): Call set_process_privilege() to enable the
4218 SE_DEBUG_NAME user privilege if available in process token.
4219
4220 2003-01-10 J. Brobecker <brobecker@gnat.com>
4221
4222 * hpread.c (hpread_process_one_debug_symbol): Fix a small
4223 compilation error in the previous revision.
4224
4225 2003-01-09 David Carlton <carlton@math.stanford.edu>
4226
4227 * linespec.c: Update copyright.
4228
4229 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
4230
4231 * lin-lwp.c (child_wait): Ignore exit statuses for processes other
4232 than inferior_ptid.
4233 (lin_lwp_wait): Ignore exit statuses for unknown LWPs.
4234
4235 2003-01-09 Andrew Cagney <ac131313@redhat.com>
4236
4237 * frame.h (frame_obstack_zalloc): Replace frame_obstack_alloc.
4238 Update comments.
4239 * frame.c (frame_obstack_zalloc): Replace frame_obstack_alloc.
4240 (frame_saved_regs_zalloc): Update.
4241 (frame_saved_regs_register_unwind): Update.
4242 (create_new_frame): Update.
4243 (get_prev_frame): Update.
4244 (frame_extra_info_zalloc): Update.
4245 (deprecated_get_frame_saved_regs): Update.
4246 * dwarf2cfi.c (cfi_init_extra_frame_info): Update.
4247 * cris-tdep.c: Update comment.
4248
4249 * somsolib.h: Fix function indentation.
4250 * disasm.c, buildsym.c, buildsym.h: Eliminate PTR.
4251 * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ.
4252 * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ.
4253 * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ.
4254 * somsolib.c, inftarg.c: Remove assignment in if conditional.
4255
4256 * infrun.c (follow_fork): Use ISO C definition.
4257 * expprint.c (print_subexp): Use xfree instead of free.
4258 * charset.c: Include "gdb_string.h" instead of <string.h>.
4259 (register_iconv_charsets): Use ISO C definition.
4260 (host_charset, target_charset): Ditto.
4261 * Makefile.in (charset.o): Update dependencies.
4262 (mi-cmd-env.o): Update dependencies.
4263
4264 2003-01-08 Andrew Cagney <cagney@redhat.com>
4265
4266 * alpha-linux-tdep.c (alpha_linux_sigcontext_addr): Use
4267 get_frame_base.
4268
4269 2003-01-08 Andrew Cagney <ac131313@redhat.com>
4270
4271 * gdb_mbuild.sh: Add --keep option. When specified, keep the
4272 build directories. Save edited gdb output in Mbuild.log. If a
4273 build fails, remove any final GDB executable.
4274
4275 2003-01-08 Andrew Cagney <ac131313@redhat.com>
4276
4277 * gdb_mbuild.sh: Edit the output of `maint print architecture'
4278 replacing hex constants with function names and stripping leading
4279 file name directory prefixes.
4280
4281 2003-01-08 Andrew Cagney <cagney@redhat.com>
4282
4283 * gcore.c, i386-linux-tdep.c: Use get_frame_pc, get_next_frame and
4284 get_frame_base.
4285
4286 2003-01-08 David Carlton <carlton@math.stanford.edu>
4287
4288 * linespec.c (decode_line_1): Move code into decode_variable.
4289 (decode_variable): New function.
4290
4291 2003-01-08 Andrew Cagney <ac131313@redhat.com>
4292
4293 * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
4294
4295 2003-01-08 Andrew Cagney <cagney@redhat.com>
4296
4297 * cris-tdep.c (cris_frame_init_saved_regs): Use
4298 get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a
4299 saved_regs buffer.
4300 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
4301 (sh64_nofp_frame_init_saved_regs): Ditto.
4302 (sh_fp_frame_init_saved_regs): Ditto.
4303 * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack.
4304 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
4305 * mcore-tdep.c (analyze_dummy_frame): Ditto.
4306 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4307
4308 2003-01-08 Daniel Jacobowitz <drow@mvista.com>
4309
4310 * minsyms.c (lookup_minimal_symbol): Update comment.
4311 (lookup_minimal_symbol_text): Update comment. Use the hash table.
4312 (lookup_minimal_symbol_solib_trampoline): Likewise.
4313
4314 2003-01-08 Andrew Cagney <cagney@redhat.com>
4315
4316 * d10v-tdep.c (d10v_init_extra_frame_info): Use
4317 frame_relative_level.
4318
4319 * alpha-tdep.c: Use get_frame_extra_info.
4320 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4321 * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto.
4322 * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
4323 * sparc-tdep.c, xstormy16-tdep.c: Ditto.
4324
4325 * alpha-tdep.c: Use get_next_frame.
4326 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4327 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
4328 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto.
4329 * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto.
4330 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto.
4331 * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto.
4332 * xstormy16-tdep.c: Ditto.
4333
4334 2003-01-07 Andrew Cagney <cagney@redhat.com>
4335
4336 * alpha-tdep.c: Use get_frame_base.
4337 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4338 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
4339 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
4340 * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto.
4341 * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto.
4342 * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
4343 * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto.
4344 * config/sparc/tm-sparc.h: Ditto.
4345
4346 2003-01-07 Andrew Cagney <cagney@redhat.com>
4347
4348 * frame.c (deprecated_get_frame_context): New function.
4349 (deprecated_set_frame_context): New function.
4350 * frame.h (deprecated_get_frame_context): Declare.
4351 (deprecated_set_frame_context): Declare.
4352 * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context.
4353 (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
4354
4355 2003-01-07 Andrew Cagney <cagney@redhat.com>
4356
4357 * frame.c (deprecated_set_frame_next_hack): New function.
4358 (deprecated_set_frame_prev_hack): New function.
4359 * frame.h (deprecated_set_frame_next_hack): Declare.
4360 (deprecated_set_frame_prev_hack): Declare.
4361 * mcore-tdep.c (analyze_dummy_frame): Use
4362 deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack.
4363 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4364
4365 2003-01-07 David Carlton <carlton@math.stanford.edu>
4366
4367 * linespec.c (decode_line_1): Move code into decode_dollar.
4368 (decode_dollar): New function.
4369
4370 2003-01-07 Andrew Cagney <cagney@redhat.com>
4371
4372 * arm-tdep.c (arm_init_extra_frame_info): Use
4373 deprecated_update_frame_base_hack.
4374 * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto.
4375 * mn10300-tdep.c (analyze_dummy_frame): Ditto.
4376 (fix_frame_pointer): Ditto.
4377 (mn10300_analyze_prologue): Ditto.
4378
4379 2003-01-07 Andrew Cagney <cagney@redhat.com>
4380
4381 * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate
4382 extra_info using frame_extra_info_zalloc.
4383 * sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
4384 * sh-tdep.c (sh_init_extra_frame_info): Ditto.
4385 (sh64_init_extra_frame_info): Ditto.
4386 * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto.
4387 * s390-tdep.c (s390_init_extra_frame_info): Ditto.
4388 * mips-tdep.c (mips_init_extra_frame_info): Ditto.
4389 * mcore-tdep.c (mcore_init_extra_frame_info): Ditto.
4390 * frv-tdep.c (frv_init_extra_frame_info): Ditto.
4391 * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto.
4392 * ia64-tdep.c (ia64_init_extra_frame_info): Ditto.
4393 * h8300-tdep.c (h8300_init_extra_frame_info): Ditto.
4394 * d10v-tdep.c (d10v_init_extra_frame_info): Ditto.
4395 * cris-tdep.c (cris_init_extra_frame_info): Ditto.
4396 * arm-tdep.c (arm_init_extra_frame_info): Ditto.
4397 * alpha-tdep.c (alpha_init_extra_frame_info): Ditto.
4398
4399 * mn10300-tdep.c (analyze_dummy_frame): Use
4400 deprecated_set_frame_extra_info_hack.
4401 * mcore-tdep.c (analyze_dummy_frame): Ditto.
4402
4403 2003-01-07 J. Brobecker <brobecker@gnat.com>
4404
4405 * mdebugread.c (parse_symbol): Skip stProc entries which storage
4406 class is not scText. These do not define "real" procedures.
4407 (parse_partial_symbols): Likewise.
4408
4409 2003-01-06 Michael Snyder <msnyder@redhat.com>
4410
4411 * lin-lwp.c: Added or elaborated on "debug lin-lwp" info.
4412
4413 2003-01-06 Andrew Cagney <ac131313@redhat.com>
4414
4415 * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare.
4416 * frame.c (deprecated_frame_xmalloc_with_cleanup): New function.
4417 * arm-tdep.c (arm_frame_chain): Allocate caller_fi using
4418 deprecated_frame_xmalloc_with_cleanup.
4419 * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using
4420 deprecated_frame_xmalloc.
4421 * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy.
4422 * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
4423
4424 2003-01-06 Andrew Cagney <cagney@redhat.com>
4425
4426 * x86-64-linux-tdep.c: Include "osabi.h".
4427 * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
4428
4429 * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
4430
4431 2003-01-06 Andrew Cagney <cagney@redhat.com>
4432
4433 * MAINTAINERS (Target Instruction Set Architectures): Update
4434 arm-elf. Can be built with -Werror, has been multiarched.
4435
4436 * value.h (unpack_long): Make buffer parameter constant.
4437 (unpack_double, unpack_pointer, unpack_field_as_long): Ditto.
4438 * scm-lang.h (scm_parse): Ditto.
4439 * defs.h (extract_typed_address, extract_address): Ditto.
4440 (extract_long_unsigned_integer): Ditto.
4441 * inferior.h (unsigned_pointer_to_address): Ditto.
4442 (signed_pointer_to_address): Ditto.
4443 * gdbarch.sh (POINTER_TO_ADDRESS): Ditto.
4444 * gdbarch.h, gdbarch.c: Regenerate.
4445 * findvar.c (extract_long_unsigned_integer): Update.
4446 (extract_address): Update.
4447 (extract_typed_address): Update.
4448 (unsigned_pointer_to_address): Update.
4449 * values.c (unpack_long): Update.
4450 (unpack_double): Update.
4451 (unpack_pointer): Update.
4452 (unpack_field_as_long): Update.
4453 * d10v-tdep.c (d10v_pointer_to_address): Update.
4454 * avr-tdep.c (avr_pointer_to_address): Update.
4455 * scm-lang.c (scm_unpack): Update.
4456 * findvar.c (signed_pointer_to_address): Update.
4457
4458 2003-01-06 Michal Ludvig <mludvig@suse.cz>
4459
4460 * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore
4461 since it is in i386-tdep.c.
4462
4463 2003-01-06 J. Brobecker <brobecker@gnat.com>
4464
4465 * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilation
4466 failure introduced in the previous change.
4467
4468 2003-01-05 Michael Chastain <mec@shout.net>
4469
4470 * README: Remove references to deleted remote-*.c files:
4471 remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c,
4472 remote-nrom.c, remote-os9k.c, remote-udi.c.
4473
4474 2003-01-05 Mark Kettenis <kettenis@gnu.org>
4475
4476 * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.
4477 * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about
4478 i386_get_longjmp_target.
4479
4480 2003-01-05 Andrew Cagney <ac131313@redhat.com>
4481
4482 * arm-tdep.c (prologue_cache): Change to a pointer.
4483 (_initialize_arm_tdep): Allocate prologue_cache.
4484 (check_prologue_cache): Update.
4485 (save_prologue_cache): Update.
4486 (arm_gdbarch_init): Update.
4487
4488 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4489
4490 * stabsread.c (update_method_name_from_physname): Call complaint()
4491 instead of error.
4492
4493 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4494
4495 * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.
4496 * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests.
4497 * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test.
4498
4499 * blockframe.c: Include "gdbcmd.h" and "command.h".
4500 (backtrace_below_main): New variable.
4501 (file_frame_chain_valid, func_frame_chain_valid)
4502 (nonnull_frame_chain_valid, generic_file_frame_chain_valid)
4503 (generic_func_frame_chain_valid): Remove functions.
4504 (frame_chain_valid, do_flush_frames_sfunc): New functions.
4505 (_initialize_blockframe): New function.
4506 * Makefile.in (blockframe.o): Update dependencies.
4507 * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME
4508 comment. Call frame_chain_valid ().
4509 * frame.h: Remove old prototypes. Add prototype for
4510 frame_chain_valid and update comments to match.
4511 * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function.
4512 Remove old comment.
4513 * gdbarch.h: Regenerated.
4514 * gdbarch.c: Regenerated.
4515
4516 * alpha-tdep.c (alpha_gdbarch_init): Don't call
4517 set_gdbarch_frame_chain_valid.
4518 * avr-tdep.c (avr_gdbarch_init): Likewise.
4519 * cris-tdep.c (cris_gdbarch_init): Likewise.
4520 * frv-tdep.c (frv_gdbarch_init): Likewise.
4521 * h8300-tdep.c (h8300_gdbarch_init): Likewise.
4522 * i386-tdep.c (i386_svr4_init_abi): Likewise.
4523 (i386_nw_init_abi): Likewise.
4524 (i386_gdbarch_init): Likewise.
4525 * ia64-tdep.c (ia64_gdbarch_init): Likewise.
4526 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
4527 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
4528 * mcore-tdep.c (mcore_gdbarch_init): Likewise.
4529 * mips-tdep.c (mips_gdbarch_init): Likewise.
4530 * mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
4531 * ns32k-tdep.c (ns32k_gdbarch_init): Likewise.
4532 * ppcnbsd-tdep.c (ppcnbsd_init_abi): Likewise.
4533 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
4534 * s390-tdep.c (s390_gdbarch_init): Likewise.
4535 * sh-tdep.c (sh_gdbarch_init): Likewise.
4536 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
4537 * v850-tdep.c (v850_gdbarch_init): Likewise.
4538 * vax-tdep.c (vax_gdbarch_init): Likewise.
4539 * x86-64-tdep.c (x86_64_init_abi): Likewise.
4540
4541 * config/m32r/tm-m32r.h (FRAME_CHAIN_VALID): Don't define.
4542 * config/m68k/tm-apollo68b.h (FRAME_CHAIN_VALID): Likewise.
4543 * config/m68k/tm-m68kv4.h (FRAME_CHAIN_VALID): Likewise.
4544 * config/m68k/tm-monitor.h (FRAME_CHAIN_VALID): Likewise.
4545 * config/m68k/tm-os68k.h (FRAME_CHAIN_VALID): Likewise.
4546 * config/m68k/tm-vx68.h (FRAME_CHAIN_VALID): Likewise.
4547 * config/mn10200/tm-mn10200.h (FRAME_CHAIN_VALID): Likewise.
4548 * config/sparc/tm-sparclite.h (FRAME_CHAIN_VALID): Likewise.
4549
4550 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
4551
4552 * Makefile.in (acconfig_h): Remove incorrect macro.
4553 (config_h): Define.
4554 (osabi.o): Update dependencies.
4555 * configure.tgt: Set gdb_osabi based on target triplet.
4556 * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi.
4557 * configure: Regenerated.
4558 * config.in: Regenerated.
4559 * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h".
4560 (GDB_OSABI_DEFAULT): Define if not already defined.
4561 (user_osabi_state, user_selected_osabi, gdb_osabi_available_names)
4562 (set_osabi_string): New variables.
4563 (gdbarch_register_osabi): Add new OS ABI to
4564 gdb_osabi_available_names.
4565 (gdbarch_lookup_osabi): Honor specified and default OS ABIs.
4566 (set_osabi, show_osabi): New functions.
4567 (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
4568
4569 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4570
4571 * arch-utils.c (gdbarch_info_init): Set osabi to
4572 GDB_OSABI_UNINITIALIZED.
4573 * gdbarch.sh: Add osabi to struct gdbarch and to struct
4574 gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi
4575 in gdbarch_list_lookup_by_info and in gdbarch_update_p.
4576 * gdbarch.c: Regenerated.
4577 * gdbarch.h: Regenerated.
4578 * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if
4579 there's no BFD.
4580 (gdbarch_init_osabi): Remove osabi argument; use info.osabi.
4581 * osabi.h (enum gdb_osabi): Move to defs.h.
4582 (gdbarch_init_osabi): Update prototype.
4583 * defs.h (enum gdb_osabi): Moved here.
4584 * Makefile.in: Update dependencies.
4585
4586 * alpha-tdep.h: Don't include "osabi.h".
4587 (struct gdbarch_tdep): Remove osabi member.
4588 * alpha-tdep.c: Include "osabi.h".
4589 (alpha_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4590 iterate over arches. Update call to gdbarch_init_osabi.
4591 (alpha_dump_tdep): Don't dump osabi.
4592 * alpha-linux-tdep.c: Include "osabi.h".
4593 * alpha-osf1-tdep.c: Include "osabi.h".
4594 * alphafbsd-tdep.c: Include "osabi.h".
4595 * alphanbsd-tdep.c: Include "osabi.h".
4596
4597 * arm-tdep.h: Don't include "osabi.h".
4598 (struct gdbarch_tdep): Remove osabi member.
4599 * arm-tdep.c: Include "osabi.h".
4600 (arm_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4601 iterate over arches. Update call to gdbarch_init_osabi.
4602 (arm_dump_tdep): Don't dump osabi.
4603 * arm-linux-tdep.c: Include "osabi.h".
4604 * armnbsd-tdep.c: Include "osabi.h".
4605
4606 * hppa-tdep.c (hppa_gdbarch_init): Don't call gdbarch_lookup_osabi.
4607 Update call to gdbarch_init_osabi.
4608
4609 * i386-tdep.h: Don't include "osabi.h".
4610 (struct gdbarch_tdep): Remove osabi member.
4611 * i386-tdep.c: Include "osabi.h".
4612 (i386_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4613 iterate over arches. Update call to gdbarch_init_osabi.
4614 (i386_dump_tdep): Don't dump osabi.
4615 * i386-linux-tdep.c: Include "osabi.h".
4616 * i386-sol2-tdep.c: Include "osabi.h".
4617 * i386bsd-tdep.c: Include "osabi.h".
4618 * i386gnu-tdep.c: Include "osabi.h".
4619 * i386ly-tdep.c: Include "osabi.h".
4620 * i386nbsd-tdep.c: Include "osabi.h".
4621 * i386obsd-tdep.c: Include "osabi.h".
4622
4623 * mips-tdep.c (struct gdbarch_tdep): Remove osabi member.
4624 (mips_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4625 check osabi when iterating over arches. Update call to
4626 gdbarch_init_osabi.
4627 (mips_dump_tdep): Don't dump osabi.
4628
4629 * ns32k-tdep.h: Don't include "osabi.h".
4630 (struct gdbarch_tdep): Remove.
4631 * ns32k-tdep.c (ns32k_gdbarch_init): Don't call
4632 gdbarch_lookup_osabi. Don't iterate over arches. Don't
4633 allocate tdep. Update call to gdbarch_init_osabi.
4634 (ns32k_dump_tdep): Remove.
4635 (_initialize_ns32k_tdep): Update call to gdbarch_register.
4636 * ns32knbsd-tdep.c: Include "osabi.h".
4637
4638 * ppc-tdep.h: Don't include "osabi.h".
4639 (struct gdbarch_tdep): Remove osabi member.
4640 * rs6000-tdep.c: Include "osabi.h".
4641 (rs6000_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't check
4642 osabi when iterating over arches. Update call to
4643 gdbarch_init_osabi.
4644 (rs6000_dump_tdep): Don't dump osabi.
4645 * ppc-linux-tdep.c: Include "osabi.h".
4646 * ppcnbsd-tdep.c: Include "osabi.h".
4647
4648 * sh-tdep.h: Don't include "osabi.h".
4649 (struct gdbarch_tdep): Remove osabi member.
4650 * sh-tdep.c: Include "osabi.h".
4651 (sh_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4652 iterate over arches. Update call to gdbarch_init_osabi.
4653 (sh_dump_tdep): Don't dump osabi.
4654 * shnbsd-tdep.c: Include "osabi.h".
4655
4656 * sparc-tdep.c: Include "osabi.h".
4657 (sparc_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4658 iterate over arches. Update call to gdbarch_init_osabi.
4659 (sparc_dump_tdep): Don't dump osabi. Do dump the rest of the
4660 tdep structure.
4661
4662 * vax-tdep.h: Don't include "osabi.h".
4663 (struct gdbarch_tdep): Remove.
4664 * vax-tdep.c: Include "osabi.h".
4665 (vax_gdbarch_init): Don't call gdbarch_lookup_osabi. Don't
4666 iterate over arches. Don't allocate tdep. Update call
4667 to gdbarch_init_osabi.
4668 (vax_dump_tdep): Remove.
4669 (_initialize_vax_tdep): Update call to gdbarch_register.
4670
4671 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4672
4673 * breakpoint.c (insert_breakpoints): Skip disabled breakpoints
4674 entirely.
4675 (breakpoint_re_set_one): Don't fetch the value for a disabled
4676 watchpoint.
4677
4678 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4679
4680 * buildsym.h (processing_hp_compilation): Remove obsolete variable.
4681 * gdbarch.sh Remove include of "value.h" in gdbarch.h.
4682 (COERCE_FLOAT_TO_DOUBLE): Remove.
4683 * gdbarch.c: Regenerate.
4684 * gdbarch.h: Regenerate.
4685 * Makefile.in: Remove value_h from gdbarch_h.
4686 * valops.c (coerce_float_to_double): New variable.
4687 (default_coerce_float_to_double): Remove.
4688 (standard_coerce_float_to_double): Remove.
4689 (value_arg_coerce): Use coerce_float_to_double.
4690 (_initialize_valops): Add "set coerce-float-to-double".
4691 * value.h (default_coerce_float_to_double): Remove prototype.
4692 (standard_coerce_float_to_double): Remove prototype.
4693
4694 * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
4695 prototyped.
4696 * mdebugread.c (parse_symbol): Likewise.
4697 * stabsread.c (define_symbol): Mark all functions as prototyped.
4698
4699 * hppa-tdep.c (hppa_coerce_float_to_double): Remove.
4700 * alpha-tdep.c (alpha_gdbarch_init): Remove call to
4701 set_gdbarch_coerce_float_to_double.
4702 * arm-tdep.c (arm_gdbarch_init): Likewise.
4703 * frv-tdep.c (frv_gdbarch_init): Likewise.
4704 * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
4705 * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
4706 * mips-tdep.c (mips_gdbarch_init): Likewise.
4707 (mips_coerce_float_to_double): Remove.
4708 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
4709 (rs6000_coerce_float_to_double): Remove.
4710 * s390-tdep.c (s390_gdbarch_init): Likewise.
4711 * sh-tdep.c (sh_gdbarch_init): Likewise.
4712 (sh_coerce_float_to_double): Remove.
4713 * sparc-tdep.c (sparc_gdbarch_init): Likewise.
4714 (sparc_coerce_float_to_double): Remove.
4715 * v850-tdep.c (v850_gdbarch_init): Likewise.
4716 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
4717 * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
4718 * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
4719 (hppa_coerce_float_to_double): Remove prototype.
4720 * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
4721
4722 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4723
4724 * regformats/reg-m68k.dat: Remove fpcode and fpflags.
4725
4726 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
4727
4728 Suggested by Stewart Brown <sb24@avaya.com>:
4729 * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show
4730 in recursive calls. Handle TYPE_CODE_TYPEDEF.
4731 (c_type_print_varspec_suffix): Likewise.
4732
4733 2003-01-04 Mark Kettenis <kettenis@gnu.org>
4734
4735 * configure.in: Don't set and AC_SUBST SUBDIRS.
4736 * configure: Regenerated.
4737
4738 * configure.in: Remove code dealing with shared libraries.
4739 * Makefile.in: Remove HLDFLAGS and HLDENV.
4740 * configure: Regenerated.
4741
4742 2003-01-04 Andrew Cagney <ac131313@redhat.com>
4743
4744 * frame.c (deprecated_frame_xmalloc): New function.
4745 (deprecated_set_frame_saved_regs_hack): New function.
4746 (deprecated_set_frame_extra_info_hack): New function.
4747 * frame.h (deprecated_frame_xmalloc): Declare.
4748 (deprecated_set_frame_saved_regs_hack): Declare.
4749 (deprecated_set_frame_extra_info_hack): Declare.
4750
4751 2003-01-04 Mark Kettenis <kettenis@gnu.org>
4752
4753 * configure.in: Move code that provides the --enable-gdbtk option
4754 right after the code that handles the --enable-tui option, and
4755 polish it somewhat.
4756 * configure: Regenerated.
4757
4758 * configure.in: Call AC_GNU_SOURCE. Check for pread64 using
4759 AC_CHECK_FUNCS and remove the old check for pread64.
4760 * acinclude.m4 (AC_GNU_SOURCE): New macro.
4761 * acconfig.h (_GNU_SOURCE): Add.
4762 (HAVE_PREAD64): Remove.
4763 * configure, aclocal.m4, config.in: Regenerated.
4764
4765 2003-01-03 Andrew Cagney <ac131313@redhat.com>
4766
4767 * alpha-tdep.c: Use get_frame_saved_regs.
4768 * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4769 * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto.
4770 * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Ditto.
4771 * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, v850-tdep.c: Ditto.
4772 * vax-tdep.c, xstormy16-tdep.c: Ditto.
4773
4774 2003-01-03 Mark Kettenis <kettenis@gnu.org>
4775
4776 * configure.in: Remove all use of the SUBDIRS variable; add
4777 directories using the AC_CONFIG_SUBDIRS macro instead. Polish
4778 code providing the --enable-multi-ice option, and move it right in
4779 front of the code that checks whether gdbserver is supported.
4780 Polish that too.
4781 * configure: Regenerated.
4782 * Makefile.in (SUBDIRS): Substitute @subdirs@ instead of
4783 @SUBDIRS@.
4784
4785 2003-01-03 Andrew Cagney <cagney@redhat.com>
4786
4787 * alpha-tdep.c: Use deprecated_update_frame_base_hack.
4788 * avr-tdep.c, cris-tdep.c: Ditto.
4789 * mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto.
4790 * sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4791
4792 2003-01-03 Mark Kettenis <kettenis@gnu.org>
4793
4794 * configure.in: Remove --enable-netrom option.
4795 * configure: Regenerated.
4796
4797 2003-01-03 Mark Kettenis <kettenis@gnu.org>
4798
4799 * cli/cli-decode.h: Don't include "gdb_regex.h"; provide a forward
4800 declaration for `struct re_pattern_buffer' instead.
4801 * Makefile.in (cli_decode_h): Remove $(gdb_regex_h).
4802
4803 2003-01-03 J. Brobecker <brobecker@gnat.com>
4804
4805 * mdebugread.c (parse_symbol): Count until the stEnd matching
4806 the structure name.
4807
4808 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4809
4810 * configure.in: Remove --with-cpu option.
4811 subscripts. Remove evil changequotes here.
4812 * acconfig.h (TARGET_CPU_DEFAULT): Remove.
4813 * config.in, configure: Regenerated.
4814
4815 * acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
4816 * configure.in: Cleanup section that sources GDB and BFD configure
4817 subscripts. Remove evil changequotes here.
4818 * config.in, configure: Regenerated.
4819
4820 2003-01-02 Andrew Cagney <ac131313@redhat.com>
4821
4822 * arm-tdep.c: Use get_frame_pc and deprecated_update_frame_pc_hack
4823 frame accessor methods.
4824 * alpha-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto.
4825 * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto.
4826 * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto.
4827 * mn10200-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Ditto.
4828 * s390-tdep.c, sh-tdep.c, sparc-tdep.c, v850-tdep.c: Ditto.
4829 * vax-tdep.c, x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto.
4830 * z8k-tdep.c: Ditto.
4831
4832 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4833
4834 * configure.in: Remove UI_OUT configuration code.
4835 * ada-lang.c: Update assuming UI_OUT is always true.
4836 * Makefile.in (UIOUT_CFLAGS): Remove.
4837 * configure: Regenerated.
4838 * TODO: Remove blurb about elimination of -DUI_OUT.
4839
4840 * configure.in: Move code that provides the --enable-gdbcli,
4841 --enable-gdbmi options right before the code that handles the
4842 --enable-tui option. Polish a bit.
4843 * configure: Regenerated.
4844
4845 * configure.in: Rewrite check for GNU regex and the
4846 --without-included regex option, and move it into the "Checks for
4847 library functions" section. This makes us use the system regex
4848 again by default on systems with version 2 of the GNU C library.
4849 This was apparently broken.
4850 * gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
4851 * acconfig.h (USE_INCLUDED_REGEX): Remove.
4852 * config.in, configure: Regenerated.
4853
4854 * configure.in: Move code that provides the --enable-tui option
4855 before the "Checks for libraries" section. Polish the code
4856 somewhat and set need_curses to yes if we build the TUI. Rewrite
4857 code that looks for a library providing termcap functionality to
4858 match more closely what's done in the Readline library, and move
4859 it into to the "Checks for libraries" section.
4860 * configure: Regenerated.
4861 * Makefile.in (TERMCAP): Remove variable.
4862 * config/i386/go32.mh (TERMCAP): Remove variable.
4863
4864 2003-01-02 Andrew Cagney <ac131313@redhat.com>
4865
4866 * MAINTAINERS: Mention gdb_mbuild.sh.
4867 * gdb_mbuild.sh: Rewrite.
4868
4869 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4870
4871 * configure.in: Fix typo in last change.
4872 * config.in, configure: Regenerated.
4873
4874 2003-01-02 Andrew Cagney <ac131313@redhat.com>
4875
4876 * valarith.c (value_binop): Delete obsolete code and comments.
4877 * configure.host: Ditto.
4878 * buildsym.h (make_blockvector): Ditto.
4879 * buildsym.c (make_blockvector): Ditto.
4880 * defs.h (enum language): Ditto.
4881 (chill_demangle): Ditto.
4882 * elfread.c (elf_symtab_read): Ditto.
4883 * dwarfread.c (CHILL_PRODUCER): Ditto.
4884 (set_cu_language): Ditto.
4885 (handle_producer): Ditto.
4886 * expprint.c (print_subexp): Ditto.
4887 * gdbtypes.c (chill_varying_type): Ditto.
4888 * gdbtypes.h (builtin_type_chill_bool): Ditto.
4889 (builtin_type_chill_char, builtin_type_chill_long): Ditto.
4890 (builtin_type_chill_ulong, builtin_type_chill_real): Ditto.
4891 (chill_varying_type): Ditto.
4892 * language.h (_LANG_chill): Ditto.
4893 * language.c (binop_result_type, integral_type): Ditto.
4894 (character_type, string_type, structured_type): Ditto.
4895 (lang_bool_type, binop_type_check): Ditto.
4896 * stabsread.h (os9k_stabs): Ditto.
4897 * stabsread.c (os9k_type_vector, dbx_lookup_type): Ditto.
4898 (define_symbol, read_type, read_struct_fields): Ditto.
4899 (read_array_type, read_enum_type, read_huge_number): Ditto.
4900 (read_range_type, start_stabs): Ditto.
4901 * symfile.c (init_filename_language_table): Ditto.
4902 (add_psymbol_with_dem_name_to_list): Ditto.
4903 * symtab.c (symbol_init_language_specific): Ditto.
4904 (symbol_init_demangled_name, symbol_demangled_name): Ditto.
4905 * symtab.h (struct general_symbol_info): Ditto.
4906 (SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
4907 * typeprint.c (typedef_print): Ditto.
4908 * utils.c (fprintf_symbol_filtered): Ditto.
4909 * valops.c (value_cast, search_struct_field, value_slice): Delete
4910 obsolete code.
4911 (varying_to_slice): Delete function.
4912 * value.h (COERCE_VARYING_ARRAY): Delete obsolete macro contents.
4913 (varying_to_slice): Delete declaration.
4914 * MAINTAINERS: Update.
4915
4916 2003-01-02 Mark Kettenis <kettenis@gnu.org>
4917
4918 * configure.in: Reorganize "Checks for library functions section"
4919 a bit. Remove check for `btowc' and `isascii' functions.
4920 * configure: Regenerated.
4921
4922 * acconfig.h (_MSE_INT_H): Remove.
4923 * configure.in: Create "Checks for header files" section, and move
4924 appropriate tests there. Don't check for objlist.h, wchar.h,
4925 wctype.h and asm/debugreg.h. Rewrite Solaris 2.[78] <curses.h>
4926 misdetection fix. Also add "Checks for types", "Checks for
4927 compiler characteristics" and "Checks for library functions"
4928 sections.
4929 * config.in, configure: Regenerated.
4930
4931 * configure.in: Create "Checks for programs" section, and move
4932 appropriate tests there.
4933
4934 2003-01-01 Mark Kettenis <kettenis@gnu.org>
4935
4936 * configure.in: Create "Checks for libraries" section, and move
4937 appropriate tests there. Cleanup check for wctype in libw. Use
4938 AC_SEARCH_LIBS to see whether we need libsocket.
4939 * configure: Regenerated.
4940
4941 For older changes see ChangeLog-2002
4942 \f
4943 Local Variables:
4944 mode: change-log
4945 left-margin: 8
4946 fill-column: 74
4947 version-control: never
4948 End: