2002-04-20 David S. Miller <davem@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
e1925118
DM
12002-04-20 David S. Miller <davem@redhat.com>
2
3 * sparc-nat.c (store-inferior_registers): Fix ambiguous else.
4
29673b29
AC
52002-04-20 Andrew Cagney <ac131313@redhat.com>
6
7 * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs
8 instead of NUM_PSEUDO_REGS.
9
6c86dcd5
DM
102002-04-20 David S. Miller <davem@redhat.com>
11
12 * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to
13 GDB_MULTI_ARCH_PARTIAL
14 * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not
15 define, let tm-sp64.h do it.
16
aa40ec90
JT
172002-04-20 Jason Thorpe <thorpej@wasabisystems.com>
18
19 * frame.c (find_saved_register): Avoid a NULL pointer
20 dereference and actually walk the frame list.
21
0f79675b
AC
222002-04-20 Andrew Cagney <ac131313@redhat.com>
23
24 * gdbarch.sh (gdbarch_update_p): Keep the list of architectures
25 sorted in most most-recent-used order. Document.
26 * gdbarch.h, gdbarch.c: Regenerate.
27
c04a1aa8
DJ
282002-04-20 Daniel Jacobowitz <drow@mvista.com>
29
30 * gdbserver/inferiors.c (struct inferior_info): Add regcache_data.
31 (add_inferior): Call create_register_cache.
32 (clear_inferiors): Call free_register_cache.
33 (inferior_regcache_data, set_inferior_regcache_data): New functions.
34 * gdbserver/regcache.c (struct inferior_regcache_data): New.
35 (registers): Remove.
36 (get_regcache): New function.
37 (create_register_cache, free_register_cache): New functions.
38 (set_register_cache): Don't initialize the register cache here.
39 (registers_to_string, registers_from_string, register_data): Call
40 get_regcache.
41 * gdbserver/regcache.h: Add prototypes.
42 * gdbserver/server.h: Likewise.
43
611cb4a5
DJ
442002-04-20 Daniel Jacobowitz <drow@mvista.com>
45
46 * gdbserver/mem-break.c: New file.
47 * gdbserver/mem-break.h: New file.
48 * gdbserver/Makefile.in: Add mem-break.o rule; update server.h
49 dependencies.
50 * gdbserver/inferiors.c (struct inferior_info): Add target_data
51 member.
52 (clear_inferiors): Free target_data member if set.
53 (inferior_target_data, set_inferior_target_data): New functions.
54 * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len)
55 (i386_stop_pc, i386_set_pc): New. Add to the_low_target.
56 * gdbserver/linux-low.c (linux_bp_reinsert): New variable.
57 (struct inferior_linux_data): New.
58 (linux_create_inferior): Use set_inferior_target_data.
59 (linux_attach): Likewise. Call add_inferior.
60 (linux_wait_for_one_inferior): New function.
61 (linux_wait): Call it.
62 (linux_write_memory): Add const.
63 (initialize_low): Call set_breakpoint_data.
64 * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint
65 handling members.
66 * gdbserver/server.c (attach_inferior): Remove extra add_inferior
67 call.
68 * gdbserver/server.h: Include mem-break.h. Update inferior.c
69 prototypes.
70 * gdbserver/target.c (read_inferior_memory)
71 (write_inferior_memory): New functions.
72 * gdbserver/target.h (read_inferior_memory)
73 (write_inferior_memory): Change macros to prototypes.
74 (struct target_ops): Update comments. Add const to write_memory
75 definition.
76
f91305dd 772002-04-19 Andrew Cagney <ac131313@redhat.com>
bf75c8c1
AC
78
79 * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame
80 instead of ->prev.
81 * z8k-tdep.c (z8k_frame_chain): Do not use ->prev.
82 * s390-tdep.c (s390_frame_chain): Do not use ->prev.
83 * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain()
84 instead of ->prev.
85
73d322b1
EZ
862002-04-19 Elena Zannoni <ezannoni@redhat.com>
87
88 Fix PR gdb/471.
89 * gdbtypes.c (init_simd_type): Rewrite using new functions.
90 (build_builtin_type_vec128): Ditto.
91 (append_composite_type_field): Fix calculation of type length in
92 union case.
93
ccd9a834
EZ
942002-04-19 Eli Zaretskii <eliz@is.elta.co.il>
95
96 * config/djgpp/README: Update.
97
98 * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a
99 compiler warnings.
100
a57f9e49
JT
1012002-04-19 Jason Thorpe <thorpej@wasabisystems.com>
102
103 * alpha-tdep.c (setup_arbitrary_frame): Rename...
104 (alpha_setup_arbitrary_frame): ...to this.
105 * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update
106 for alpha_setup_arbitrary_frame.
107
f4f9705a
AC
1082002-04-18 Andrew Cagney <cagney@redhat.com>
109
110 * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.
111 * gdbarch.h, gdbarch.c: Regenerate.
112
113 * defs.h (breakpoint_from_pc_fn): Delete type definition.
114 * target.h (memory_breakpoint_from_pc): Update declaration.
115 * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto.
116
117 * arch-utils.c (legacy_breakpoint_from_pc): Update return type.
118 * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto.
119 * mem-break.c (memory_breakpoint_from_pc): Ditto.
120 * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto.
121 * s390-tdep.c (s390_breakpoint_from_pc): Ditto
122 * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto.
123 * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto.
124 * mips-tdep.c (mips_breakpoint_from_pc): Ditto.
125 * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto.
126 * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto.
127 * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto.
128 * arch-utils.c (legacy_breakpoint_from_pc): Ditto..
129
130 * mem-break.c (default_memory_insert_breakpoint): Make `bp' a
131 const pointer.
132 * monitor.c (monitor_insert_breakpoint): Ditto.
133 * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'.
134
135 * config/mcore/tm-mcore.h: Update copyright.
136 * mem-break.c: Ditto.
137 * xstormy16-tdep.c: Ditto.
138
29f319b8
PM
1392002-04-18 Pierre Muller <muller@ics.u-strasbg.fr>
140
141 * p-exp.y: Add precedence rule for '^' token.
142 This removes the shift/reduce conflicts.
143 Remove the comment concerning these shift/reduce conflicts.
144
ebeac11a
EZ
1452002-04-18 Elena Zannoni <ezannoni@redhat.com>
146
147 * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro.
148 (registers_powerpc_nofp): New register set for processors
149 without floating point unit.
150
27c31547
DM
1512002-04-18 David S. Miller <davem@redhat.com>
152
153 * MAINTAINERS: Add myself to write-after-approval.
154
953836b2
AC
1552002-04-17 Andrew Cagney <ac131313@redhat.com>
156
157 * rs6000-tdep.c (frame_initial_stack_address): Use
158 frame_register_read to read the alloca_reg.
159
8b0d4340
AC
1602002-04-17 Andrew Cagney <ac131313@redhat.com>
161
162 * frame.c (find_saved_register): Find saved registers in the next
163 not prev frame.
164 Fix PR gdb/365.
165
d8864532
AC
1662002-04-17 Andrew Cagney <ac131313@redhat.com>
167
168 * gdbarch.sh (LANG): Set to ``c''.
169
36cc83a3
AC
1702002-04-15 Andrew Cagney <ac131313@redhat.com>
171
172 * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems.
173
2f4150cc 1742002-04-15 Andrew Cagney <ac131313@redhat.com>
2c7ef074
AC
175
176 * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h".
177 Update copyright.
178
628703c6 179 * hpread.c (hpread_get_lntt): Add declaration.
2f4150cc
AC
180 Also fix PR gdb/391.
181
56157b4a
AC
1822002-04-14 Andrew Cagney <ac131313@redhat.com>
183
184 * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6.
185 * aclocal.m4, configure: Re-generate.
186 Fix PR gdb/391.
187
6d1e3329
EZ
1882002-04-14 Elena Zannoni <ezannoni@redhat.com>
189
190 * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN
191 instead of tm_print_insn.
192
cb06fa07
EZ
1932002-04-14 Elena Zannoni <ezannoni@redhat.com>
194
195 * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.
196
f208ba17
AC
1972002-04-14 Andrew Cagney <ac131313@redhat.com>
198
199 * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.
200 * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro.
201 (get_prev_frame): Do not call FRAME_CHAIN_COMBINE.
202
20f01a46
DH
2032002-04-12 Don Howard <dhoward@redhat.com>
204
205 * cli/cli-cmds.c (init_cli_cmds): Add new user settable value:
206 max_user_call_depth.
207 (init_cmd_lists): Initialize the new value;
208 * cli/cli-script.c (execute_user_command): Limit the call depth of
209 user defined commands. This avoids a core-dump when user commands
210 are infinitly recursive.
211
a88376a3
KB
2122002-04-12 Kevin Buettner <kevinb@redhat.com>
213
214 * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''.
215 * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset''
216 from tdep struct instead of DEFAULT_LR_SAVE.
217 (rs6000_gdbarch_init): Initialize ``lr_frame_offset''.
218 * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete.
219 * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete.
220
f2172603
MS
2212002-04-12 Michael Snyder <msnyder@redhat.com>
222
694f61fb 223 * Remote.c: Spelling fix.
20fe79c8
MS
224 * gcore.c (default_derive_heap_segment): Use bfd_section_name.
225 If no symbol found for "sbrk", try "_sbrk".
226 (make_output_phdrs): Use bfd_section_name.
227 (gcore_copy_callback): Use bfd_section_name.
62995fc4 228 * eval.c: Indentation fix-ups.
169a7369
MS
229 * d10v-tdep.c (d10v_make_iaddr): Make it idempotent,
230 in case it gets applied to an address that is already
231 in the instruction space.
de74f71f
MS
232 * cli/cli-decode.c (help_list): Allow long lines to wrap.
233 * symfile.c: Fix indentation, long lines.
f2172603
MS
234 * source.c: White space fix-up.
235
cda5a58a
AC
2362002-04-12 Andrew Cagney <cagney@redhat.com>
237
238 * defs.h (read_relative_register_raw_bytes): Delete declaration.
239 * frame.c (frame_register_read): New function. Return non-zero on
240 success.
241 (read_relative_register_raw_bytes_for_frame): Delete.
242 (read_relative_register_raw_bytes): Delete.
243 * frame.h (frame_register_read): Declare.
244 * d30v-tdep.c: Update Copyright. Use frame_register_read.
245 * sh-tdep.c: Ditto.
246 * infcmd.c (do_registers_info): Ditto.
247 * hppa-tdep.c: Ditto.
248 * rs6000-tdep.c: Ditto.
249 * h8500-tdep.c: Ditto.
250 * mips-tdep.c: Ditto.
251 * h8300-tdep.c: Ditto.
252 * z8k-tdep.c: Ditto.
253
2ea5f656
KB
2542002-04-12 Kevin Buettner <kevinb@redhat.com>
255
256 From Jimi X <jimix@watson.ibm.com>:
257 * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for
258 64-bit SysV ABI.
259
27b15785
KB
2602002-04-12 Kevin Buettner <kevinb@redhat.com>
261
262 From Jimi X <jimix@watson.ibm.com>:
263 * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from
264 bfd info.
265
5d57ee30
KB
2662002-04-12 Kevin Buettner <kevinb@redhat.com>
267
268 From Jimi X <jimix@watson.ibm.com>:
269 * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define
270 register sets for these processor variants.
271
bc1e36ca
DJ
2722002-04-11 Daniel Jacobowitz <drow@mvista.com>
273
274 * gdbserver/linux-low.c (usr_store_inferior_registers): Support
275 registers which are allowed to fail to store.
276 * gdbserver/linux-low.h (linux_target_ops): Likewise.
277 * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR.
278 (ppc_cannot_store_register): FPSCR may not be storable.
279 * regformats/reg-ppc.dat: Support FPSCR.
280
e3f36dbd
KB
2812002-04-11 Kevin Buettner <kevinb@redhat.com>
282
283 * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''.
284 * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
285 Add fpscr as an invalid/unfetchable register.
286 * ppc-linux-nat.c (ppc_register_u_addr, store_register)
287 (fetch_ppc_registers, store_ppc_registers, supply_fpregset)
288 (fill_fpregset): Add support for register fpscr.
289 (fetch_ppc_registers, store_ppc_registers, supply_gregset)
290 (fill_gregset): Account for the fact that register ``mq'' might
291 not exist.
292 * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr.
293 (registers_power): Add fpscr to register set at slot 71.
294 (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't
295 exist on most PPC architectures. Initialize ppc_fpscr_regnum.
296
943c9c25
MS
2972002-04-11 Michael Snyder <msnyder@redhat.com>
298
299 * configure.in: Autoconfiscate _SYSCALL32 define for solaris.
300 * configure: Regenerate.
301 * config.in: Regenerate.
302 * acconfig.h: Add define for _SYSCALL32.
303 * core-sol2.c: Remove #define _SYSCALL32.
304 * solib-legacy.c: Remove #define _SYSCALL32.
305
d8c0a2e7
AC
3062002-04-10 Andrew Cagney <ac131313@redhat.com>
307
308 * stack.c (select_frame): Cleanup internal error message, do not
309 use %p.
310
7cc19214
AC
3112002-04-10 Andrew Cagney <ac131313@redhat.com>
312
313 * stack.c (select_frame): Check that selected_frame and the
314 specified level are as expected.
315 * blockframe.c (get_prev_frame): Set the `level' from next_frame.
316 Update copyright.
317 * frame.h (struct frame_info): Add field `level'. Update
318 copyright.
319 Work-in-progress PR gdb/464.
320
67a2b77e
AC
3212002-04-10 Andrew Cagney <ac131313@redhat.com>
322
323 * maint.c (maint_print_section_info): Rename print_section_info.
324 (print_bfd_section_info, print_objfile_section_info): Update.
325 * inferior.h (struct gdbarch): Add opaque declaration.
326 * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh.
327 * gdbarch.h: Regenerate.
328
8cfda98c
ML
3292002-04-10 Michal Ludvig <mludvig@suse.cz>
330
331 * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete.
332 (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h.
333 (kernel_u_size): Added.
334 * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete.
335 (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h.
336
ca439ad2
JI
3372002-04-04 Jim Ingham <jingham@apple.com>
338
339 * valarith.c (find_size_for_pointer_math): New function, either returns
340 the size for a pointer's target, returns 1 for void *, or errors for
341 incomplete types.
342 (value_add, value_sub): use find_size_for_pointer_math.
343
2f2893d9
DJ
3442002-04-09 Daniel Jacobowitz <drow@mvista.com>
345
346 * linux-low.c (linux_look_up_symbols): New hook.
347 (linux_target_ops): Add linux_look_up_symbols.
348 * remote-utils.c (decode_address): New function.
349 (look_up_one_symbol): New function.
350 * server.c (handle_query): Call target look_up_symbols hook.
351 * server.h (look_up_one_symbol): Add prototype.
352 * target.h (struct target_ops): Add look_up_symbols hook.
353
2ec06d2e
DJ
3542002-04-09 Daniel Jacobowitz <drow@mvista.com>
355
d64b8841
DJ
356 * gdbserver/server.h: Include <string.h> if HAVE_STRING_H.
357 * ChangeLog: Correct paths in last ChangeLog entry.
358
3592002-04-09 Daniel Jacobowitz <drow@mvista.com>
360
361 * gdbserver/linux-low.h: Remove obsolete prototypes.
2ec06d2e
DJ
362 (struct linux_target_ops): New.
363 (extern the_low_target): New.
d64b8841 364 * gdbserver/linux-low.c (num_regs, regmap): Remove declarations.
2ec06d2e
DJ
365 (register_addr): Use the_low_target explicitly.
366 (fetch_register): Likewise.
367 (usr_fetch_inferior_registers): Likewise.
368 (usr_store_inferior_registers): Likewise.
d64b8841 369 * gdbserver/linux-arm-low.c (num_regs): Remove.
2ec06d2e
DJ
370 (arm_num_regs): Define.
371 (arm_regmap): Renamed from regmap, made static.
372 (arm_cannot_fetch_register): Renamed from cannot_fetch_register,
373 made static.
374 (arm_cannot_store_register): Renamed from cannot_store_register,
375 made static.
376 (the_low_target): New.
d64b8841 377 * gdbserver/linux-i386-low.c (num_regs): Remove.
2ec06d2e
DJ
378 (i386_num_regs): Define.
379 (i386_regmap): Renamed from regmap, made static.
380 (i386_cannot_fetch_register): Renamed from cannot_fetch_register,
381 made static.
382 (i386_cannot_store_register): Renamed from cannot_store_register,
383 made static.
384 (the_low_target): New.
d64b8841 385 * gdbserver/linux-ia64-low.c (num_regs): Remove.
2ec06d2e
DJ
386 (ia64_num_regs): Define.
387 (ia64_regmap): Renamed from regmap, made static.
388 (ia64_cannot_fetch_register): Renamed from cannot_fetch_register,
389 made static.
390 (ia64_cannot_store_register): Renamed from cannot_store_register,
391 made static.
392 (the_low_target): New.
d64b8841 393 * gdbserver/linux-m68k-low.c (num_regs): Remove.
2ec06d2e
DJ
394 (m68k_num_regs): Define.
395 (m68k_regmap): Renamed from regmap, made static.
396 (m68k_cannot_fetch_register): Renamed from cannot_fetch_register,
397 made static.
398 (m68k_cannot_store_register): Renamed from cannot_store_register,
399 made static.
400 (the_low_target): New.
d64b8841 401 * gdbserver/linux-mips-low.c (num_regs): Remove.
2ec06d2e
DJ
402 (mips_num_regs): Define.
403 (mips_regmap): Renamed from regmap, made static.
404 (mips_cannot_fetch_register): Renamed from cannot_fetch_register,
405 made static.
406 (mips_cannot_store_register): Renamed from cannot_store_register,
407 made static.
408 (the_low_target): New.
d64b8841 409 * gdbserver/linux-ppc-low.c (num_regs): Remove.
2ec06d2e
DJ
410 (ppc_num_regs): Define.
411 (ppc_regmap): Renamed from regmap, made static.
412 (ppc_cannot_fetch_register): Renamed from cannot_fetch_register,
413 made static.
414 (ppc_cannot_store_register): Renamed from cannot_store_register,
415 made static.
416 (the_low_target): New.
d64b8841 417 * gdbserver/linux-s390-low.c (num_regs): Remove.
2ec06d2e
DJ
418 (s390_num_regs): Define.
419 (s390_regmap): Renamed from regmap, made static.
420 (s390_cannot_fetch_register): Renamed from cannot_fetch_register,
421 made static.
422 (s390_cannot_store_register): Renamed from cannot_store_register,
423 made static.
424 (the_low_target): New.
d64b8841 425 * gdbserver/linux-sh-low.c (num_regs): Remove.
2ec06d2e
DJ
426 (sh_num_regs): Define.
427 (sh_regmap): Renamed from regmap, made static.
428 (sh_cannot_fetch_register): Renamed from cannot_fetch_register,
429 made static.
430 (sh_cannot_store_register): Renamed from cannot_store_register,
431 made static.
432 (the_low_target): New.
d64b8841 433 * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap.
2ec06d2e
DJ
434 (the_low_target): New.
435
96cb11df
AC
4362002-04-09 Andrew Cagney <ac131313@redhat.com>
437
438 * frame.c (read_relative_register_raw_bytes_for_frame): Do not
439 override FP_REGNUM with frame->fp. Update copyright.
440 * parse.c (num_std_regs, std_regs): Delete.
441 (target_map_name_to_register): Do not search std_regs. Update
442 function description.
443 * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete
444 declarations. Update copyright.
445 Fix PR gdb/251.
446
c3a3ccc7
DJ
4472002-04-09 Daniel Jacobowitz <drow@mvista.com>
448
449 * gdbserver/Makefile.in: Add stamp-h target.
450 * gdbserver/configure.in: Create stamp-h.
451 * gdbserver/configure: Regenerated.
452
ce3a066d
DJ
4532002-04-09 Daniel Jacobowitz <drow@mvista.com>
454
455 * gdbserver/inferiors.c: New file.
456 * gdbserver/target.c: New file.
457 * gdbserver/target.h: New file.
458 * gdbserver/Makefile.in: Add target.o and inferiors.o. Update
459 dependencies.
460 * gdbserver/linux-low.c (inferior_pid): New static variable,
461 moved from server.c.
462 (linux_create_inferior): Renamed from create_inferior.
463 Call add_inferior. Return 0 on success instead of a PID.
464 (linux_attach): Renamed from myattach.
465 (linux_kill): Renamed from kill_inferior. Call clear_inferiors ().
466 (linux_thread_alive): Renamed from mythread_alive.
467 (linux_wait): Renamed from mywait. Call clear_inferiors () if the
468 child dies.
469 (linux_resume): Renamed from myresume. Add missing ``return 0''.
470 (regsets_store_inferior_registers): Correct error message.
471 Add missing ``return 0''.
472 (linux_fetch_registers): Renamed from fetch_inferior_registers.
473 (linux_store_registers): Renamed from store_inferior_registers.
474 (linux_read_memory): Renamed from read_inferior_memory.
475 (linux_write_memory): Renamed from write_inferior_memory.
476 (linux_target_ops): New structure.
477 (initialize_low): Call set_target_ops ().
478 * gdbserver/remote-utils.c (unhexify): New function.
479 (hexify): New function.
480 (input_interrupt): Send signals to ``signal_pid''.
481 * gdbserver/server.c (inferior_pid): Remove.
482 (start_inferior): Update create_inferior call.
483 (attach_inferior): Call add_inferior.
484 (handle_query): New function.
485 (main): Call handle_query for `q' packets.
486 * gdbserver/server.h: Include "target.h". Remove obsolete prototypes.
487 Add prototypes for "inferiors.c", "target.c", hexify, and unhexify.
488
0729219d
DJ
4892002-04-09 Daniel Jacobowitz <drow@mvista.com>
490
491 * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury
492 dependencies.
493 * gdbserver/configure.in: Check for <string.h>
494 * gdbserver/configure: Regenerate.
495 * gdbserver/config.in: Regenerate.
496 * gdbserver/gdbreplay.c: Include needed system headers.
497 (remote_open): Remove strchr prototype.
498 * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS.
499 * gdbserver/regcache.c (supply_register): Change buf argument to const void *.
500 (supply_register_by_name): Likewise.
501 (collect_register): Change buf argument to void *.
502 (collect_register_by_name): Likewise.
503 * gdbserver/regcache.h: Add missing prototypes.
504 * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa.
505 * gdbserver/server.c (handle_query): New function.
506 (attached): New static variable, moved out of main.
507 (main): Quiet longjmp clobber warnings.
508 * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes.
509 * gdbserver/utils.c (error): Remove NORETURN.
510 (fatal): Likewise.
511
97658e92
DJ
5122002-04-09 Daniel Jacobowitz <drow@mvista.com>
513
514 * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer
515 after the last symbol in a block.
516
6044e3eb
PM
5172002-04-09 Pierre Muller <muller@ics.u-strasbg.fr>
518
519 * p-exp.y (yylex): Handle also the fact that is_a_field_of_this
520 is non zero as a found symbol.
521
0406ec40
AC
5222002-04-08 Andrew Cagney <ac131313@redhat.com>
523
524 * findvar.c: Include "builtin-regs.h".
525 (value_of_register): Call value_of_builtin_reg when applicable.
526 * parse.c: Include "builtin-regs.h" and "gdb_assert.h".
527 (target_map_name_to_register): Call
528 builtin_reg_map_name_to_regnum.
529 * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c.
530 (COMMON_OBS): Add builtin-regs.o and std-regs.o.
531 (builtin_regs_h): Define.
532 (builtin-regs.o): New target.
533 (findvar.o): Add $(builtin_regs_h).
534 * builtin-regs.c, builtin-regs.h: New files.
535 * std-regs.c: New file.
536 Partial fix for PR gdb/251.
537
56a6dfb9
KB
5382002-04-08 Kevin Buettner <kevinb@redhat.com>
539
540 * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn;
541 it's no longer required.
542
3a808432
AC
5432002-04-08 Andrew Cagney <ac131313@redhat.com>
544
545 * Makefile.in (gdbtk-wrapper.o): Add missing dependencies.
546
7c40d541
KB
5472002-04-08 Kevin Buettner <kevinb@redhat.com>
548
549 From Jimi X <jimix@watson.ibm.com>:
550 * rs6000-tdep.c (rs6000_software_single_step): Use
551 rs6000_breakpoint_from_pc() to fetch breakpoint instruction
552 and size. Use target_insert_breakpoint() and
553 target_remove_breakpoint() to insert and remove breakpoints
554 instead of explicit memory reads and writes.
555
cc9836a8
KB
5562002-04-08 Kevin Buettner <kevinb@redhat.com>
557
558 * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
559 * rs6000-tdep.c (rs6000_push_arguments): Eliminate
560 ELF_OBJECT_FORMAT ifdef.
561
7495d1dc
KB
5622002-04-08 Kevin Buettner <kevinb@redhat.com>
563
564 From Jimi X <jimix@watson.ibm.com>:
565 * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn().
566
4288e836
KB
5672002-04-08 Kevin Buettner <kevinb@redhat.com>
568
569 From Jimi X <jimix@watson.ibm.com>:
570 * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro
571 definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET.
572
a4e4e501
MK
5732002-04-07 Mark Kettenis <kettenis@gnu.org>
574
575 * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions):
576 s/asprintf/xasprintf/.
577 (fbsd_make_corefile_notes): s/strdup/xstrdup/.
578
006defba
AC
5792002-04-07 Andrew Cagney <ac131313@redhat.com>
580
581 I believe Jeff Law denies responsability for this one:
582 * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork.
583 * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork.
584 * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork.
585 Work-around for PR gdb/366.
586
7aa83cac
EZ
5872002-04-07 Elena Zannoni <ezannoni@redhat.com>
588
589 * remote-e7000.c (write_small, e7000_read_inferior_memory,
590 e7000_read_inferior_memory_large, e7000_insert_breakpoint,
591 e7000_remove_breakpoint): Use paddr_nz() to print addresses.
592
cf1fcca1
EZ
5932002-04-07 Elena Zannoni <ezannoni@redhat.com>
594
595 * sh-tdep.c (sh_fp_frame_init_saved_regs,
596 sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
597 information.
598
3f289e6f
AC
5992002-04-07 Andrew Cagney <ac131313@redhat.com>
600
601 * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
602 maintainer.
603
129188f6
AC
6042002-04-07 Andrew Cagney <ac131313@redhat.com>
605
606 * README (Reporting Bugs in GDB): Document the bug web page as the
607 prefered way of submitting bugs.
608 Fix PR gdb/402.
609
1200cd6e
AC
6102002-04-06 Andrew Cagney <ac131313@redhat.com>
611
612 * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
613 -1. Update comment.
614 * gdbarch.h, gdbarch.c: Re-generate.
615
2853c33c
AS
6162002-04-07 Andreas Schwab <schwab@suse.de>
617
618 * m68klinux-nat.c (fill_fpregset): Properly pass address of
619 buffer to regcache_collect.
620
c2169756
AC
6212002-04-06 Andrew Cagney <ac131313@redhat.com>
622
623 * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
624 * gdbarch.c, gdbarch.h: Re-generate.
625
25f1b008
AC
6262002-04-06 Andrew Cagney <ac131313@redhat.com>
627
628 * symtab.c (lookup_symtab): Remove ``const'' from ``rp''
629 declaration. Fix -Werror.
630
59263426
DJ
6312002-04-05 Daniel Jacobowitz <drow@mvista.com>
632
633 * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap.
634 * gdbarch.c: Regenerate.
635
f5db4da3
MS
6362002-04-05 Michael Snyder <msnyder@redhat.com>
637
80f8a6eb
MS
638 * breakpoint.c (clear_command): Rewrite middle section to
639 combine two loops with identical control conditions.
640 Add a cleanup to eliminate a memory leak.
f5db4da3
MS
641 * cli/cli-dump.c (restore_section_callback): Use paddr_nz.
642
ad3dcc5c
L
6432002-04-05 H.J. Lu (hjl@gnu.org)
644
645 * solib-svr4.c (bkpt_names): Add "__start".
646
f32e7a74
AC
6472002-04-04 Andrew Cagney <ac131313@redhat.com>
648
649 * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
650 as test for 64 bit target.
651
8227c0ff
AC
6522002-04-05 Andrew Cagney <ac131313@redhat.com>
653
654 * h8500-tdep.c (h8500_write_fp): Delete function.
655 * dwarf2cfi.c (cfi_write_fp): Document as not used.
656 * mips-tdep.c (mips_gdbarch_init): Do not set write_fp.
657 * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp.
658 * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp.
659 * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp.
660 * s390-tdep.c (s390_gdbarch_init): Do not set write_fp.
661 (s390_write_fp):
662 * sh-tdep.c (sh_gdbarch_init): Do not set write_fp.
663 * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp.
664 * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp.
665 (d10v_write_fp): Delete function.
666 * inferior.h (write_fp, generic_target_write_fp): Delete
667 declarations.
668 * regcache.c (generic_target_write_fp): Delete function.
669 (write_fp): Delete function.
670 * gdbarch.sh (TARGET_WRITE_FP): Delete.
671 * gdbarch.h, gdbarch.c: Regenerate.
672 * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro.
673 * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro.
674 (sparc64_write_fp): Delete declaration.
675 * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro.
676 (h8500_write_fp): Delete declaration.
677
2757dd86
AC
6782002-04-04 Andrew Cagney <ac131313@redhat.com>
679
680 * sparc-tdep.c (sparc64_write_fp): Delete.
681 (sparc_push_dummy_frame): Replace write_fp call with code to store
682 the FP directly.
683 (sparc_gdbarch_init): Do not initialize write_fp.
684
c69255e1
KB
6852002-04-05 Kevin Buettner <kevinb@redhat.com>
686
687 * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
688 clause.
689
ae767bfb
JB
6902002-03-29 Jim Blandy <jimb@redhat.com>
691
692 * stack.c (get_selected_block): Add new argument `addr_in_block',
693 used to return the exact code address we used to select the block,
694 not just the block.
695 * blockframe.c (get_frame_block, get_current_block): Same.
696 * frame.h (get_frame_block, get_current_block,
697 get_selected_block): Update declarations.
698 * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c,
699 linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed.
700
84d2ac95
MS
7012002-04-05 Michael Snyder <msnyder@redhat.com>
702
703 * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in
704 warning message.
705
596aa3bf
JB
7062002-04-05 J. Brobecker <brobecker@gnat.com>
707
708 * utils.c (xfullpath): New function.
709 * defs.h (xfullpath): Add declaration.
710 * source.c (openp): Use xfullpath in place of gdb_realpath to
711 avoid resolving the basename part of filenames when the
712 associated file is a symbolic link. This fixes a potential
713 inconsistency between the filenames known to GDB and the
714 filenames it prints in the annotations.
715 * symtab.c (lookup_symtab): Use the new xfullpath function, in order
716 to be able to match a filename with either the real filename, or
717 the name of any symbolic link to this file.
718 (lookup_partial_symtab): Ditto.
719
c02f5703
MS
7202002-04-04 Michael Snyder <msnyder@redhat.com>
721
722 * breakpoint.c: Add support for hardware breakpoints in overlays.
723 (overlay_events_enabled): New state variable.
724 (insert_breakpoints): Use overlay_events_enabled to decide
725 whether to attempt to set a breakpoint at the overlay load addr.
726 Handle bp_hardware_breakpoint as well as bp_breakpoint.
727 (remove_breakpoint): Use overlay_events_enabled to decide
728 whether breakpoints need to be removed from overlay load addr.
729 Handle bp_hardware_breakpoint as well as bp_breakpoint.
730 (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays.
731 (create_overlay_event_breakpoint, enable_overlay_breakpoints,
732 disable_overlay_breakpoints): Update overlay_events_enabled.
733
5fb290d7
DJ
7342002-04-04 Daniel Jacobowitz <drow@mvista.com>
735
736 * dwarf2read.c (struct function_range): New.
737 (cu_first_fn, cu_last_fn, cu_cached_fn): New.
738 (check_cu_functions): New.
739 (read_file_scope): Initialize global function lists.
740 Call dwarf_decode_line after processing children.
741 (read_func_scope): Add to global function list.
742 (dwarf_decode_lines): Call check_cu_functions everywhere
743 record_line is called. Call record_line with a linenumber
744 of 0 to mark sequence ends.
745
7b3fabf0
ML
7462002-04-04 Michal Ludvig <mludvig@suse.cz>
747
748 * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI
749 change sync with glibc.
750
bce58c09
JB
7512002-04-03 Jim Blandy <jimb@redhat.com>
752
753 * configure.in: Call AC_C_INLINE.
754 * configure: Regenerated.
755
2fccf04a
DJ
7562002-04-01 Daniel Jacobowitz <drow@mvista.com>
757
758 * rs6000-tdep.c: Change #include of "bfd/libcoff.h"
759 and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
760
2d1bfe2e
MK
7612002-03-31 Mark Kettenis <kettenis@gnu.org>
762
a5941fbf
MK
763 * NEWS: Mention gcore support on FreeBSD/i386.
764
a90cd31d
MK
765 * fbsd-proc.c: New file.
766 * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define.
767 * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.
768
2d1bfe2e
MK
769 * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
770 while statement.
771
9eb6e5a1
JB
7722002-03-29 Jim Blandy <jimb@redhat.com>
773
774 * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
775 unescaped newlines in string literals, but newer ones don't. So
776 escape them.
777
f02df580
MS
7782002-03-26 Michael Snyder <msnyder@redhat.com>
779 Andrew Cagney <cagney@redhat.com>
780
781 * cli/cli-dump.c: New file. Dump memory to file,
782 restore file to memory.
783 * cli/cli-dump.h: New file.
784 * Makefile.in: Add rules, dependencies for cli-dump.o.
89743e04 785 * NEWS: Mention new commands.
f02df580 786
109f874e
MS
7872002-03-28 Michael Snyder <msnyder@redhat.com>
788
789 * symfile.c (symbol_file_add): Move test for null symbols to later.
790
520f6ade
AC
7912002-03-27 Andrew Cagney <ac131313@redhat.com>
792
793 From veksler at il.ibm.com:
794 * utils.c (gdb_realpath): If canonicalize_file_name fails, return
795 the xstrduped original path.
796 Fix PR gdb/417.
797
d4654627
MS
7982002-03-27 Michael Snyder <msnyder@redhat.com>
799
800 * breakpoint.c (_initialize_breakpoint): Clean up help string.
801 * infcmd.c (_initialize_infcmd): Ditto.
802 * language.c (_initialize_language): Ditto.
803 * symfile.c (_initialize_symfile): Ditto.
804 * top.c (_init_main): Ditto.
805 * cli/cli-cmds.c (init_cli_cmds): Ditto.
806
6be8bc0c
EZ
8072002-03-27 Elena Zannoni <ezannoni@redhat.com>
808
809 * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec
810 vector registers handling.
811 (skip_prologue): Handle new AltiVec instructions. Fill in new
812 fields of frame data.
813 (frame_get_saved_regs): Fill in information for AltiVec registers.
814
12af6855
JB
8152002-03-27 Jim Blandy <jimb@redhat.com>
816
817 * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
818 a function; leave this macro here to invoke that function.
819 (symbol_init_mangled_name): Declaration for that function.
820 * symtab.c (symbol_init_mangled_name): New function.
821
dc672865
AC
8222002-03-27 Andrew Cagney <ac131313@redhat.com>
823
824 * valarith.c: Replace strerror with safe_strerror.
825 * tracepoint.c: Ditto.
826 * lin-lwp.c: Ditto.
827 * go32-nat.c: Ditto.
828 * inflow.c: Ditto.
829 * gnu-nat.c: Ditto.
830
d96429cd
AS
8312002-03-27 Andreas Schwab <schwab@suse.de>
832
833 * event-top.c (command_line_handler): Remove useless if.
834
7e336ba1
AJ
8352002-03-27 Andreas Jaeger <aj@suse.de>
836
837 * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
838 comment.
839
de220d0f
ML
8402002-03-27 Michal Ludvig <mludvig@suse.cz>
841
842 * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
843 (x86_64_num_regs, x86_64_num_gregs): Added extern variables.
844 * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS.
845 (x86_64_linux_dr_get_status, supply_gregset),
846 (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs.
847 * x86-64-tdep.c (x86_64_register_raw_size_table): Delete.
848 (x86_64_register_info_table): Add.
849 (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add.
850 (x86_64_register_raw_size, x86_64_register_virtual_type),
851 (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new
852 general x86_64_register_info_table.
853 (i386_gdbarch_init): gdbarch_register_bytes is now set
854 dynamicaly during initialization.
855 * regformats/reg-x86-64.dat: Synced with changes to registers above.
856 * gdbserver/linux-x86-64-low.c: Ditto.
7e336ba1 857
0e98d0a7
DJ
8582002-03-27 Daniel Jacobowitz <drow@mvista.com>
859
860 * gdbserver/server.c (main): Call target_signal_to_host_p
861 and target_signal_to_host on signals received from the remote.
862 * gdbserver/remote-utils.c (prepare_resume_reply): Call
863 target_signal_from_host on signals sent to the remote.
864 * gdbserver/server.h: Add prototypes. Include "gdb/signals.h".
865 * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}.
866
3130066b
DJ
8672002-03-27 Daniel Jacobowitz <drow@mvista.com>
868
869 * signals/signals.c: Include "server.h" in gdbserver build.
870 (target_signal_from_name): Don't use STREQ.
871 (_initialize_signals): Likewise. Don't include function in
872 gdbserver build.
873
9aedf4f4
DJ
8742002-03-27 Daniel Jacobowitz <drow@mvista.com>
875
876 * signals.c: Moved to...
877 * signals/signals.c: Here.
7e336ba1 878 * Makefile (signals.o): Update.
9aedf4f4 879
3fa41cdb
JL
8802002-03-26 Jeff Law (law@redhat.com)
881
882 * somread.c (som_symtab_read): Remove some commented out code and
883 updated related comments. Do not set the minimal symbol table to
884 mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
885 in a dynamic executable.
886 * hppa-tdep.c (find_proc_framesize): Sanely handle the case
887 where we are unable to find the minimal symbol for the given
888 PC value.
889
ee677e8d
MS
8902002-03-25 Jeff Law (law@redhat.com)
891
892 * linux-proc.c (read_mapping): Scan up to end of line for filename.
893
e76e1718
ML
8942002-03-25 Michal Ludvig <mludvig@suse.cz>
895
896 * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
897
18a642a1
AC
8982002-03-23 Andrew Cagney <ac131313@redhat.com>
899
900 * command.h: Update copyright.
901 (struct cmd_list_element): Replace definition with opaque
902 declaration.
903 (enum cmd_types): Document that it will eventually be moved to
904 cli/cli-decode.h
905 (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
906 (MALLOCED_REPLACEMENT): Delete macro.
907 * Makefile.in (cli_decode_h): Add $(command_h).
908 (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
7e336ba1 909 * top.c: Include "cli/cli-decode.h".
18a642a1
AC
910 * completer.c: Include "cli/cli-decode.h".
911 * maint.c: Include "cli/cli-decode.h".
912 * cli/cli-decode.h: Include "command.h".
913 (enum command_class): Delete.
914 (enum cmd_types): Comment out.
915 (enum cmd_auto_boolean): Delete.
916 (enum var_types): Delete.
917
b2875cc0
AC
9182002-03-23 Andrew Cagney <ac131313@redhat.com>
919
920 * cli/cli-decode.c: Include "gdb_assert.h".
921 (add_set_or_show_cmd): New static function.
922 (add_set_cmd): Rewrite. Use add_set_or_show_cmd.
923 (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy
924 all fields, such as func, from the set command.
925
3b45974e
AC
9262002-03-23 Andrew Cagney <ac131313@redhat.com>
927
928 * MAINTAINERS (sh-elf): Change warning flag to -w.
929
823ca731
AC
9302002-03-23 Andrew Cagney <cagney@redhat.com>
931
932 * defs.h (error): Add printf format attribute.
933 * thread-db.c (thread_from_lwp): Fix error format string.
934 * stack.c (parse_frame_specification): Ditto.
935 * cli/cli-decode.c (undef_cmd_error): Ditto.
936 * scm-lang.c (scm_lookup_name): Ditto.
937 * tracepoint.c (trace_error): Ditto.
938 * remote-utils.c (usage): Ditto.
939 * remote.c (compare_sections_command): Ditto.
940 Fix PR gdb/328.
941
0e101458
AC
9422002-03-22 Andrew Cagney <ac131313@redhat.com>
943
944 * gdbtypes.c (append_composite_type_field): New function.
945 (init_composite_type): New function.
946 * gdbtypes.h (append_composite_type_field): Declare.
947 (init_composite_type): Ditto.
948
8e0662df
EZ
9492002-03-22 Elena Zannoni <ezannoni@redhat.com>
950
951 * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
7e336ba1 952 function.
8e0662df
EZ
953 * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
954 * rs6000-tdep.c (rs6000_gdbarch_init): Use different
955 structure returning convention for SYSV ABI case, but not
956 for GNU/Linux, FreeBSD, or NetBSD.
957
3121eff0
DJ
9582002-03-22 Daniel Jacobowitz <drow@mvista.com>
959
960 * symtab.h (lookup_block_symbol): Add mangled_name argument
961 to prototype.
962
963 * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
964 with new mangled_name argument.
965 * linespec.c (decode_line_1): Likewise.
966 * valops (value_of_this): Likewise.
967 * symtab.c (lookup_transparent_type): Likewise.
968 (lookup_symbol_aux): Likewise. Accept new mangled_name argument.
969 (lookup_symbol): If we are given a mangled name, pass it down
970 to lookup_symbol_aux.
971 (lookup_block_symbol): If we are given a mangled name to check
972 against, only return symbols which match it.
973
349b409f
CF
9742002-03-22 Christopher Faylor <cgf@redhat.com>
975
976 * win32-nat.c (child_create_inferior): Check for proper shell to use
977 here, in case the user changes it on the fly.
978 (_initialize_inftarg): Remove shell path considerations.
979
2a873819
EZ
9802002-03-21 Elena Zannoni <ezannoni@redhat.com>
981
982 * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
983 for gdbarch_max_register_raw_size and max_register_virtual_size.
984 Adjust copyright year.
985
a1b9830c
DJ
9862002-03-21 Daniel Jacobowitz <drow@mvista.com>
987
988 * dbxread.c (process_one_symbol): Extend the first N_SLINE
989 in a function to cover the entire beginning of the function
990 as well if it does not already.
991
8b5790f2
TR
9922002-03-21 Tom Rix <trix@redhat.com>
993
994 * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32.
995 (rs6000_ptrace64): Renamed from ptrace64.
996
bdbe5747
MH
9972002-03-20 Martin M. Hunt <hunt@redhat.com>
998
999 * gdbserver/remote-utils.c (remote_open): Don't call
1000 getprotobyname, we're all using TCP here so just use
1001 IPPROTO_TCP.
7e336ba1 1002 * gdbserver/gdbreplay.c (remote_open): Ditto.
bdbe5747
MH
1003
10042002-03-20 Martin M. Hunt <hunt@redhat.com>
7e336ba1 1005
bdbe5747
MH
1006 * regcache.c (_initialize_regcache): No need to call
1007 build_regcache() at this time; it gets called whenever
1008 the gdbarch changes.
1009
7781cd62
DB
10102002-03-20 David O'Brien <obrien@FreeBSD.org>
1011
1012 * sparc-nat.c: Include sys/param.h where possible.
1013
f65ca430
DJ
10142002-03-20 Daniel Jacobowitz <drow@mvista.com>
1015
1016 Fix PR gdb/422.
1017 * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
1018 FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
1019 * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
1020 complex types.
1021 * stabsread.c (rs6000_builtin_type): Likewise.
1022 (read_sun_floating_type): Likewise.
1023
0c867556
PS
10242002-03-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1025
1026 * stabsread.c (read_member_functions): Remove skip code for duplicate
1027 constructor/destructor methods. Use standard parsing for these
1028 methods and just do not chain them to the list of methods after
1029 parsing.
1030
12b9c64f
AO
10312002-03-19 Alexandre Oliva <aoliva@redhat.com>
1032
1033 * coffread.c: Remove redundant static declarations. Replace
1034 occurrences of `PTR' with `void *'.
1035 * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
1036 * top.h (quit_cover): Likewise.
1037 * defs.h (catch_errors): Likewise.
1038
349c5d5f
AC
10392002-03-18 Andrew Cagney <ac131313@redhat.com>
1040
1041 * defs.h (XMALLOC): Define.
1042 * gdb-events.sh (XMALLOC): Delete macro.
1043 * gdb-events.c, gdb-events.h: Regenerate.
1044 * gdbarch.sh (XMALLOC): Delete macro.
1045 * gdbarch.c: Regenerate.
1046 * serial.c (XMALLOC): Delete macro.
1047 * ui-file.c (XMALLOC): Ditto.
1048 * ser-unix.h (XMALLOC): Ditto.
1049 * sh-tdep.c (XMALLOC): Ditto.
1050 * ui-out.c (XMALLOC): Ditto.
1051 * utils.c (XMALLOC): Ditto.
1052 * i386-tdep.c (XMALLOC): Ditto.
1053 * gdb-events.c (XMALLOC): Ditto.
1054 * d10v-tdep.c (XMALLOC): Ditto.
1055 * cli-out.c (XMALLOC): Ditto.
1056
1057 * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
1058 * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
1059 * ui-file.c, ui-out.c: Ditto.
1060
7d0766f3
AC
10612002-03-18 Andrew Cagney <ac131313@redhat.com>
1062
1063 * command.h (struct cmd_list_element): Add field context.
1064 (set_cmd_context, get_cmd_context): Declare.
1065 * cli/cli-decode.h: Ditto.
1066 * cli/cli-decode.c (get_cmd_context): New function.
1067 (set_cmd_context): New function.
1068 (add_cmd): Initialize context.
1069 Part of fixing PR gdb/145 and PR gdb/146.
1070
5913bcb0
AC
10712002-03-17 Andrew Cagney <ac131313@redhat.com>
1072
1868c04e
AC
1073 * cli/cli-decode.c (cmd_type): New function.
1074 * command.h (cmd_type): Declare.
1075 * infrun.c (set_schedlock_func): Call function cmd_type.
1076 * kod.c (kod_set_os): Call cmd_type.
1077 * cris-tdep.c (cris_version_update): Use function cmd_type.
1078 (cris_mode_update, cris_abi_update): Ditto.
1079
5913bcb0
AC
1080 * command.h: (execute_cmd_post_hook): Declare.
1081 (execute_cmd_pre_hook): Declare.
1082 * cli/cli-script.c (clear_hook_in_cleanup): New function.
1083 (execute_cmd_post_hook, execute_cmd_pre_hook): New
1084 functions. Execute pre/post hook while ensuring that afterwords
1085 hook_in is cleared.
1086 * top.c (execute_command): Use execute_cmd_post_hook, and
1087 execute_cmd_pre_hook to execute pre/post commands.
1088 * infrun.c (normal_stop): Pass stop_command and not pre_hook to
1089 hook_stop_stub.
1090 (hook_stop_stub): Call execute_cmd_pre_hook.
1091
b51450c9
AC
10922002-03-17 Andrew Cagney <ac131313@redhat.com>
1093
1094 * kod.c (kod_set_os): Revert previous change. Is called by ``info
1095 set'' and this leads to a core dump. Move xstrdup of
1096 operating_system to after check that it is not NULL.
1097
f66c9f11
AC
10982002-03-17 Andrew Cagney <ac131313@redhat.com>
1099
8e694ecf
AC
1100 * kod.c (kod_set_os): Remove unnecessary check that
1101 ``command->type'' is set_cmd.
1102
f66c9f11
AC
1103 * valprint.c (set_input_radix): Use input_radix.
1104 (set_output_radix): Use output_radix.
1105 (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
1106 isn't reverted.
1107
9d01611c
AC
11082002-03-16 Andrew Cagney <ac131313@redhat.com>
1109
1110 * value.h (struct value): Delete field ``substring_addr''. Change
1111 aligner fields to force_doublest_align, force_longest_align,
ee2d3b3a
AC
1112 force_core_addr_align and force_pointer_aligh.
1113
1114 * value.h (struct value): Fix typo in above change.
9d01611c 1115
4156bb53
PS
11162002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1117
1118 * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
1119 to fix internal_error from ``maintenance print architecture''.
1120
0e5e3ea6
PS
11212002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1122
1123 * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
1124 for gcc versions after gcc-2.8.1.
1125
9b013045
PS
11262002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1127
1128 * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
1129 for method resolution. Restore adjustment of ``this'' pointer after
1130 calling value_struct_elt, which was accidentally removed during the
1131 HP merge.
1132
376c9600
AC
11332002-03-15 Andrew Cagney <ac131313@redhat.com>
1134
1135 * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
1136 value_of_register.
1137 * findvar.c (value_of_register): Add ``frame'' parameter. Pass to
1138 get_saved_register.
1139 * value.h (value_of_register): Update.
1140
a4db0f07
RH
11412002-03-14 Richard Henderson <rth@redhat.com>
1142
1143 * configure.in: Detect declaration for canonicalize_file_name.
1144 * utils.c (canonicalize_file_name): Declare, if needed.
1145 (gdb_realpath): Prefer realpath if available and usable.
1146 * config.in, configure: Rebuild.
1147
96383835
RH
11482002-03-14 Richard Henderson <rth@redhat.com>
1149
1150 * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
1151 a constant array bound.
1152
1153 * MAINTAINERS: Add myself to write-after-approval.
1154
75245b24
MS
11552002-03-14 Michael Snyder <msnyder@redhat.com>
1156
1157 * symfile.c (syms_from_objfile): Return immediately if no syms.
1158 (symbol_file_add): Return immediately if no syms.
1159 (find_sym_fns): Return immediately if no syms.
1160
e641a1ca
ML
11612002-03-13 Michal Ludvig <mludvig@suse.cz>
1162
1163 * gdbserver/remote-util.c (remote_open): Print remote-side's
1164 IP address when remote debugging over the network.
7e336ba1 1165
df08bfec
DB
11662002-03-12 David O'Brien <obrien@FreeBSD.org>
1167
1168 * config/sparc/fbsd.mh: Fix copyright.
1169 * config/sparc/fbsd.mt: Likewise.
1170
9a57864f
RE
11712002-03-11 Richard Earnshaw <rearnsha@arm.com>
1172
1173 * MAINTAINERS: Fix typo in name of gdb warnings option.
1174 (x86-64): Fix formating so that this can be parsed by awk.
1175
dd7bf85e
DJ
11762002-03-10 Daniel Jacobowitz <drow@mvista.com>
1177
1178 * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
1179 * defs.h: Include "gdb/signals.h".
1180 (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.
1181
33a0a2ac
ML
11822002-03-10 Michal Ludvig <mludvig@suse.cz>
1183
1184 * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
7e336ba1 1185 * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
33a0a2ac
ML
1186 from x86-64-tdep.h
1187
dd824b04
DJ
11882002-03-10 Daniel Jacobowitz <drow@mvista.com>
1189 Don Howard <dhoward@redhat.com>
1190
1191 * mips-tdep.c (ST0_FR): Define.
1192 (mips2_fp_compat): New function, temporarily disabled.
1193 (mips_read_fp_register_single): New function.
1194 (mips_read_fp_register_double): New function.
1195 (mips_print_register): Use them.
1196 (do_fp_register_row): Likewise.
1197
6a41ff59
AC
11982002-03-09 Andrew Cagney <ac131313@redhat.com>
1199
1200 * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
1201 approval''.
1202
4ea09c10
PS
12032002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1204
1205 * stabsread.c (read_member_functions): Fix is_stub test for
1206 static member functions, improve comment.
1207
6ccc741d
RE
12082002-03-07 Richard Earnshaw <rearnsha@arm.com>
1209
1210 * remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
1211 (mywrite, mywritec, mypause, myreadc, mygets): Likewise.
1212 (_initialize_remote_rdi): Use add_set_boolean_cmd to register
1213 commands that set boolean values.
1214 (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
1215 (arm_rdi_resume): Always initialize PC.
1216 (arm_rdi_open): Don't use rslt as a boolean.
1217 (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
1218 (arm_rdi_fetch_registers, arm_rdi_store_registers)
1219 (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
1220 (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
1221
438013df
AO
12222002-03-06 Alexandre Oliva <aoliva@redhat.com>
1223
1224 * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
1225 * configure: Rebuilt.
1226
70ed8774
SC
12272002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1228
1229 * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
1230 (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
1231
5ba2abeb
AC
12322002-03-06 Andrew Cagney <ac131313@redhat.com>
1233
1234 * cli/cli-decode.c (set_cmd_completer): New function.
1235 * command.h (set_cmd_completer): Declare.
1236 * cli/cli-decode.h (set_cmd_completer): Ditto.
1237
1238 * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
1239 * cli/cli-cmds.c (init_cli_cmds): Ditto.
1240 * win32-nat.c (_initialize_inftarg): Ditto.
1241 * remote-rdi.c (_initialize_remote_rdi): Ditto.
1242 * proc-api.c (_initialize_proc_api): Ditto.
1243 * hppa-tdep.c (_initialize_hppa_tdep): Ditto.
1244 * source.c (_initialize_source): Ditto.
1245 * exec.c (_initialize_exec): Ditto.
1246 * solib.c (_initialize_solib): Ditto.
1247 * top.c (init_main): Ditto.
1248 * tracepoint.c (_initialize_tracepoint): Ditto.
1249 * symfile.c (_initialize_symfile): Ditto.
1250 * printcmd.c (_initialize_printcmd): Ditto.
1251 * infcmd.c (_initialize_infcmd): Ditto.
1252 * corefile.c (_initialize_core): Ditto.
1253
f779ca99
AC
12542002-03-05 Andrew Cagney <ac131313@redhat.com>
1255
1256 * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
1257
01a3934b
AC
12582002-03-05 Andrew Cagney <ac131313@redhat.com>
1259
1260 * MAINTAINERS: Fix Mac OS X and Objective-C/C++.
1261
37057839
AC
12622002-03-05 Andrew Cagney <ac131313@redhat.com>
1263
1264 * NEWS: Update headings, 5.2 has branched.
1265
c6ecbae5
DJ
12662002-03-04 Daniel Jacobowitz <drow@mvista.com>
1267
1268 * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
1269 (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
1270 (register_addr, REGISTER_RAW_SIZE): Likewise.
1271 (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
1272 * gdbserver/linux-x86-64-low.c: Remove extra #endif.
1273
e9f30c21
ML
12742002-03-03 Michal Ludvig <mludvig@suse.cz>
1275
1276 * MAINTAINERS (x86-64): Add myself.
1277 * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
1278 changed value_ptr -> struct value *
1279
54394ac3
DB
12802002-03-01 David O'Brien <obrien@FreeBSD.org>
1281
1282 * configure.host (sparc64-*-freebsd): Add.
1283 * configure.tgt: Likewise.
1284 * config/sparc/fbsd.mh: New file.
1285 * config/sparc/fbsd.mt: Likewise.
1286 * config/sparc/nm-fbsd.h: Likewise.
1287 * config/sparc/tm-fbsd.h: Likewise.
1288
bfe95955
DJ
12892002-03-01 Daniel Jacobowitz <drow@mvista.com>
1290
1291 * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
1292 regformats/reg-s390x.dat.
1293
f33c6cbf
AC
12942002-03-01 Andrew Cagney <ac131313@redhat.com>
1295
1296 * utils.c: Add FIXME explaining true/false problem.
1297
5ecaa7dd
AC
12982002-02-28 Andrew Cagney <ac131313@redhat.com>
1299
1300 * MAINTAINERS (Past Maintainers): Add J.T. Conklin.
1301
2a251cc2
MC
13022002-02-28 Michael Chastain <mec@shout.net>
1303
1304 * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .
1305
6a8031a3 13062002-02-28 Daniel Jacobowitz <drow@mvista.com>
265f716b
DJ
1307
1308 * gdbserver/linux-s390-low.c: New file.
1309 * regformats/reg-s390.dat: New file.
1310 * regformats/reg-s390x.dat: New file.
1311 * gdbserver/configure.srv: Add S/390.
1312 * gdbserver/Makefile.in: Add S/390.
1313 * configure.tgt: Enable gdbserver for S/390.
1314
ac469903
EZ
13152002-02-28 Eli Zaretskii <eliz@is.elta.co.il>
1316
1317 * go32-nat.c (_initialize_go32_nat): Don't use periods in the
1318 first line of the doc string for "info dos", except at the end of
1319 the sentence, since the short help stops at the first period.
1320
985cb1a3
JM
13212002-02-28 Jason Merrill <jason@redhat.com>
1322
1323 * dwarf2read.c (dwarf_cfi_name): Add new codes.
1324
c570663e
FF
13252002-02-27 Fred Fish <fnf@redhat.com>
1326
1327 * blockframe.c (generic_fix_call_dummy): Fix obvious typo in
1328 comment (dumy -> dummy).
1329
43630227
PS
13302002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1331
1332 * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
1333
b84911e8
RB
13342002-02-27 Rodney Brown <rbrown64@csc.com.au>
1335
1336 * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
1337
58caa3dc
DJ
13382002-02-27 Daniel Jacobowitz <drow@mvista.com>
1339
1340 * gdbserver/acconfig.h: New file.
1341 * gdbserver/i387-fp.c: New file.
1342 * gdbserver/i387-fp.h: New file.
1343 * gdbserver/linux-x86-64.c: New file.
1344 * regformats/reg-x86-64.dat: New file.
1345 * configure.tgt: Add x86_64-*-linux* gdbserver support.
1346 * gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
1347 * gdbserver/configure.in: Add support for regsets.
1348 * gdbserver/config.in: Regenerate.
1349 * gdbserver/configure: Regenerate.
1350 * gdbserver/Makefile.in: Likewise. Add $(linux_low_h).
1351 * gdbserver/linux-low.h: New file.
1352 * gdbserver/linux-low.c: Include "linux-low.h". Add support
1353 for regsets.
1354 * gdbserver/linux-arm-low.c: Include "linux-low.h".
1355 * gdbserver/linux-ia64-low.c: Include "linux-low.h".
1356 * gdbserver/linux-m68k-low.c: Include "linux-low.h".
1357 * gdbserver/linux-mips-low.c: Include "linux-low.h".
1358 * gdbserver/linux-ppc-low.c: Include "linux-low.h".
1359 * gdbserver/linux-sh-low.c: Include "linux-low.h".
1360 * gdbserver/linux-i386-low.c: Include "linux-low.h". Include
1361 "i387-fp.h". Add PTRACE_GETREGS and friends.
1362 * gdbserver/regcache.c (supply_register): New function.
1363 (supply_register_by_name): New function.
1364 (collect_register): New function.
1365 (collect_register_by_name): New function.
1366
93652174
DJ
13672002-02-27 Daniel Jacobowitz <drow@mvista.com>
1368
1369 * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
1370 (config.status): Add configure.srv dependency.
1371 (server_h): Add config.h dependency.
1372
a02e4a61
DJ
13732002-02-27 Daniel Jacobowitz <drow@mvista.com>
1374
1375 * regformats/reg-i386-linux.dat: New file, with $orig_eax.
1376 * gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
1377 * gdbserver/configure.srv: Change i386-*-linux* to use
1378 reg-i386-linux.o.
1379
ce0eebec
AC
13802002-02-26 Andrew Cagney <ac131313@redhat.com>
1381
1382 * x86-64-tdep.c: Re-indent. Update copyright date.
1383
82dbc5f7
AC
13842002-02-26 Andrew Cagney <ac131313@redhat.com>
1385
1386 From Michal Ludvig <mludvig@suse.cz>:
1387 * x86-64-tdep.c (value.h): Delete.
1388 (gdb_assert.h): Include.
1389 (x86_64_register_convert_to_virtual,
1390 x86_64_register_convert_to_raw ): Add check which lets only
1391 floating-point values to be converted.
1392 (value_push): Delete.
1393 (x86_64_push_arguments): Order of arguments pushed on stack fixed.
1394 (i386_gdbarch_init): Number of register_bytes fixed.
1395
e4621584
AC
13962002-02-26 Andrew Cagney <ac131313@redhat.com>
1397
1398 * MAINTAINERS: Add x86-64 target.
1399
81a9a963
AC
14002002-02-26 Andrew Cagney <ac131313@redhat.com>
1401
1402 * memattr.c (mem_command): Eliminate ``true'' and ``false''.
1403 * osfsolib.c (solib_map_sections): Ditto.
1404 * irix5-nat.c (solib_map_sections): Ditto.
1405 * corelow.c (gdb_check_format): Ditto.
1406 * symfile.c (symfile_bfd_open): Ditto.
1407 * solib.c (solib_map_sections): Ditto.
1408 Fix PR gdb/354.
7e336ba1 1409
0f017ab9
AC
14102002-02-26 Andrew Cagney <ac131313@redhat.com>
1411
1412 * remote.c (_initialize_remote): By default, disable ``e'' and
1413 ``E'' step out-of-range packets.
1414
75738c29
AS
14152002-02-26 Andreas Schwab <schwab@suse.de>
1416
1417 * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
1418 m68k_linux_frame_saved_pc.
1419 (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
1420 in_sigtramp.
1421 (SIGCONTEXT_PC_OFFSET): Remove.
1422 * m68klinux-nat.c (m68k_linux_frame_saved_pc,
1423 m68k_linux_sigtramp_saved_pc): New functions.
1424 (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
1425 (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
1426 (UCONTEXT_PC_OFFSET): Define.
1427 (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
1428 non-RT and RT signal trampolines.
1429
7e8ed687
RE
14302002-02-26 Richard Earnshaw <rearnsha@arm.com>
1431
1432 * config/arm/tm-embed.h (TARGET_UPAGES): Delete.
1433 (TARGET_NBPG, STACK_END_ADDR): Delete
1434 (VARIABLES_INSIDE_BLOCK): Delete.
1435
6972bc8b
AC
14362002-02-25 Andrew Cagney <ac131313@redhat.com>
1437
1438 * utils.c (perror_with_name): Make string parameter constant.
1439 (print_sys_errmsg): Ditto.
1440 (query): Ditto.
1441 * defs.h (perror_with_name): Update.
1442 (print_sys_errmsg): Update.
1443 (query): Update.
1444
aa32f823
DJ
14452002-02-25 Daniel Jacobowitz <drow@mvista.com>
1446
1447 From Eliot Dresselhaus <eliot@ayrnetworks.com>:
1448 * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
1449
19caaa45
PS
14502002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1451
1452 * rs6000-nat.c (set_host_arch): Do not switch to a new architecture
1453 if it already matches the current architecture from the exec file.
1454 Include arch-utils.h for gdbarch_info_init prototype.
1455 * Makefile.in (rs6000-nat.o): Update dependencies.
1456
d951901f
EZ
14572002-02-25 Eli Zaretskii <eliz@is.elta.co.il>
1458
1459 * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the
1460 list of exported variables.
1461
7ea81414
DJ
14622002-02-24 Daniel Jacobowitz <drow@mvista.com>
1463
1464 * gdbserver/configure.srv: New file.
1465 * gdbserver/configure.in: Use configure.srv instead
1466 of the host/target makefile fragments. Set GDBSERVER_DEPFILES
1467 from it.
1468 * gdbserver/configure: Regenerated.
1469 * gdbserver/terminal.h: New file.
1470 * gdbserver/Makefile.in: Update for configure changes. Remove
1471 more unneeded include paths.
1472
080fe24b
AC
14732002-02-24 Andrew Cagney <ac131313@redhat.com>
1474
1475 From wiz at danbala:
1476 * config/sparc/tm-sp64.h: Fix grammar and typos.
1477 Fix PR gdb/287.
1478
8605d56e
AC
14792002-02-24 Andrew Cagney <ac131313@redhat.com>
1480
1481 * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
a4b6fc86
AC
1482 with either ``GNU/Linux'' or ``Linux kernel''. Update copyright.
1483 * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto.
1484 * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto.
ca557f44
AC
1485 * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto.
1486 * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto.
1487 * s390-tdep.c: Ditto.
92362027
AC
1488 * config/nm-linux.h, config/alpha/nm-linux.h: Ditto.
1489 * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h:
1490 * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto.
1491 * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto.
1492 * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto.
1493 * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto.
1494 * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto.
1495 * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto.
1496 * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto.
1497 * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto.
8605d56e 1498 Fix PR gdb/378.
7e336ba1 1499
8ed32cc0
AC
15002002-02-23 Andrew Cagney <ac131313@redhat.com>
1501
a3007b6f
AC
1502 * lin-thread.c: Delete file.
1503 * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer
1504 to gdb_proc_service.h.
1505 * configure: Re-generate.
1506
50a9e2f1
AC
1507 * ocd.c (ocd_open): Do not try to open the "ocd" device.
1508 * serial.c (serial_open): Delete check for "ocd".
1509 Fix PR gdb/349.
1510
8b6e7932
AC
1511 * Makefile.in (linux-thread.o): Delete target.
1512 * linux-thread.c: Delete file.
1513
d155c46b
AC
1514 * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
1515 renamed SH files to be consistent.
1516
8ed32cc0
AC
1517 * symtab.c (sort_search_symbols): Use xfree.
1518
0e18d038
RE
15192002-02-23 Richard Earnshaw <rearnsha@arm.com>
1520
1521 * arm-linux-tdep.c (arm_linux_init_abi): Register
1522 IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
1523 * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
1524 definition with undef, since we don't want the sysvr4 definition.
1525 (SKIP_TRAMPOLINE_CODE): Likewise.
1526
27aac7ff
AC
15272002-02-23 Andrew Cagney <ac131313@redhat.com>
1528
1529 From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
1530
1531 * configure.in: (AC_CHECK_FUNCS) Added test for
1532 canonicalize_file_name Regenerated.
1533 * config.in, configure: Regenerated.
1534 * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
1535 defined use canonicalize_file_name.
7e336ba1 1536
65a6e0ee
MC
15372002-02-23 Michael Chastain <mec@shout.net>
1538
1539 * MAINTAINERS: Remove Michael Chastain from "paper trail" list.
1540
47b95330
AC
15412002-02-23 Andrew Cagney <ac131313@redhat.com>
1542
1543 * README: Remove references to cygnus.com.
1544 * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar
1545 dot com'' form. Remove references to cygnus.com and sourceware.
1546
696f451b
AC
15472002-02-23 Andrew Cagney <ac131313@redhat.com>
1548
1549 From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
1550 * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
1551 1003.1-2001 no longer allows "head -1".
1552 * gdb/Makefile.in (version.c): Likewise.
1553 * gdb/doc/Makefile.in (GDBvn.texi): Likewise.
1554 * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
1555 equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
1556
bbaca940
AC
15572002-02-23 Andrew Cagney <ac131313@redhat.com>
1558
1559 * cli/cli-decode.c (cmd_cfunc_eq): New function.
1560 * command.h (cmd_cfunc_eq): Declare.
1561 * cli/cli-decode.h (cmd_cfunc_eq): Ditto.
1562
1563 * cli/cli-cmds.h (is_complete_command): Change parameter to a
1564 ``struct cmd_list_element *''.
1565 * cli/cli-cmds.c (is_complete_command): Update. Use
1566 cmd_cfunc_eq.
1567 * top.c (execute_command): Pass the command to
1568 is_complete_command.
1569 * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
1570
b8b8b047
AC
15712002-02-23 Andrew Cagney <ac131313@redhat.com>
1572
1573 From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
1574 * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
1575 architecture defines.
1576 * s390-tdep.c (s390_gdbarch_init): Likewise.
1577
19d3fc80
RE
15782002-02-23 Richard Earnshaw <rearnsha@arm.com>
1579
1580 * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
1581 (arm_linux_push_arguments): Likewise.
1582 (arm_linux_init_abi): Register them. Also register linux-specific
1583 call_dummy_words.
1584 (find_minsym_and_objfile): Use strcmp, not STREQ.
1585 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
1586 (arm_linux_call_dummy_words): Delete declaration.
1587 (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
1588 (arm_linux_extract_return_value, arm_linux_push_arguments): Delete
1589 declarations.
1590 (LOWEST_PC): Delete.
1591
3ab13650
PS
15922002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1593
1594 * maint.c (print_section_info): Do not prepend `0x' to filepos
1595 output, it will be handled by local_hex_string_custom.
1596
19d3fc80 15972002-02-23 Richard Earnshaw <rearnsha@arm.com>
85ae890c
RE
1598
1599 * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
1600 (store_newfpe_double, store_newfpe_extended, store_fpregister)
1601 (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
1602
d85a5daf
JB
16032002-02-22 Jim Blandy <jimb@redhat.com>
1604
1605 Indicate that the bcache functions don't change the strings
1606 they're passed.
1607 * bcache.h (bcache, hash): Add `const' keywords to declarations.
1608 * bcache.c (bcache, hash): Add `const' keywords to definitions.
1609
eeb25b8a
PM
16102002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
1611
1612 * win32-nat.c (child_create_inferior): Fix create flags setting bug.
1613
6badb179
CF
16142002-02-21 Christopher Faylor <cgf@redhat.com>
1615
1616 * win32-nat.c (register_loaded_dll): Just use raw name when we can't
1617 find the complete path to a loaded DLL.
1618
e8717518
FF
16192002-02-21 Fred Fish <fnf@redhat.com>
1620
1621 * dbxread.c (process_one_symbol): When finding an N_FUN symbol
1622 that marks the end of the range of a function, enter a line number
1623 entry that has a line number of zero and a PC offset that matches
1624 the end of the function. This starts a range of PC's for which no
1625 line number information is known.
1626 * symtab.c (find_pc_sect_line): If our best fit is in a range of
1627 PC's for which no line number info is found (line number is zero)
1628 then we didn't find any valid line information.
1629 * symtab.h: Document use of zero line number entry.
1630
9abe5450
EZ
16312002-02-21 Elena Zannoni <ezannoni@redhat.com>
1632
1633 * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
1634 (have_ptrace_getvrregs): Define for run time checks.
1635 (gdb_vrregset_t): New type for Altivec register handling.
1636 (fetch_register, store_register): Fetch/store altivec register
1637 when needed.
1638 (fetch_altivec_register, store_altivec_register): New functions.
1639 (supply_vrregset, fill_vrregset): New functions.
1640 (fetch_altivec_registers, store_altivec_registers): New functions.
1641 (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
1642 registers as well.
1643
aaa38bb5
AJ
16442002-02-21 Jiri Smid <smid@suse.cz>
1645
1646 * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
1647
b34db576
RE
16482002-02-21 Richard Earnshaw <rearnsha@arm.com>
1649
1650 * Makefile.in (armnbsd-nat.o): Update dependencies.
1651 * armnbsd-nat.c (supply_gregset): New function. Common code to
1652 supply the integer register set.
1653 (supply_fparegset): New function. Similar for FPA registers.
1654 (fetch_regs, fetch_fp_regs): Use them.
1655 (fetch_core_registers): Likewise.
1656 (fetch_elfcore_registers): New function.
1657 (arm_netbsd_elfcore_fns): New core-file type specification.
1658 (_initialize_arm_netbsd_nat): Register it.
1659
3e56fc4b
RE
16602002-02-21 Richard Earnshaw <rearnsha@arm.com>
1661
1662 * armnbsd-nat.c: Include gdbcore.h.
1663 (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
1664 (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
1665 'void' to declaration, to shut up ARI.
1666 (fetch_core_registers): Make static. Rewrite using supply_register.
1667 (arm_netbsd_core_fns): New core-file type specification.
1668 (_initialize_arm_netbsd_nat): New function.
1669
097f6b0b
CF
16702002-02-21 Christopher Faylor <cgf@redhat.com>
1671
1672 * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
1673 value.
1674
c914e0cc
CF
16752002-02-20 Christopher Faylor <cgf@redhat.com>
1676
1677 * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile
1678 fails.
1679
385fa495
DJ
16802002-02-20 Daniel Jacobowitz <drow@mvista.com>
1681
1682 * jv-exp.y (parse_number): Change type of implicit longs
1683 to builtin_type_uint64.
1684
e5f1222d
DJ
16852002-02-20 Daniel Jacobowitz <drow@mvista.com>
1686
1687 * gdbserver/linux-low.c (mywait): Change argument to waitpid
1688 to be an integer instead of a `union wait'.
1689
75c9abc6
DJ
16902002-02-20 Daniel Jacobowitz <drow@mvista.com>
1691
1692 * mips-linux-nat.c: Call the operating system GNU/Linux.
1693 * mips-linux-tdep.c: Likewise.
1694 * mips-tdep.c: Likewise.
1695
551792a5
DJ
16962002-02-20 Daniel Jacobowitz <drow@mvista.com>
1697
1698 Fix PR gdb/265.
1699 * jv-exp.y (parse_number): Handle 64-bit integers.
1700
ee6e2b82
DJ
17012002-02-20 Daniel Jacobowitz <drow@mvista.com>
1702
1703 * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
1704 AC_STDC_HEADERS to AC_HEADER_STDC.
1705 * gdbserver/configure: Regenerated.
1706
a48442a0
RE
17072002-02-20 Richard Earnshaw <rearnsha@arm.com>
1708
1709 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
1710 is defined.
1711 * sparc-tdep.c (get_longjmp_target): Likewise.
1712
fe419ffc
RE
17132002-02-20 Richard Earnshaw <rearnsha@arm.com>
1714
1715 * News: Add news about ARM and Multi-arch. Mention the new target
1716 arm*-*-netbsd*.
1717
5832ed7e
JB
17182002-02-19 Jim Blandy <jimb@redhat.com>
1719
1720 * stabsread.c (error_type_complaint): Improve error message.
1721
84563040
DJ
17222002-02-19 Daniel Jacobowitz <drow@mvista.com>
1723
1724 * gdbserver/README: Update documentation.
1725 * gdbserver/configure.in: Update configury to match documentation.
1726 * gdbserver/Makefile.in: Likewise.
1727 * gdbserver/configure: Regenerated.
1728 * gdbserver/aclocal.m4: New file, generated by aclocal.
1729 * gdbserver/config.in: New file, generated by autoheader.
1730
375fd65b
RE
17312002-02-19 Richard Earnshaw <rearnsha@arm.com>
1732
1733 * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
1734 armnbsd-nat.c.
1735
08216dd7
RE
17362002-02-19 Richard Earnshaw <rearnsha@arm.com>
1737
1738 * arm-tdep.h (enum arm_float_model): New enum.
1739 (struct gdbarch_tdep): Add fp_model.
1740 * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
1741 up floating-point conversions until we know the floating-point model
1742 in use by the inferior. Don't complain about being unable to
1743 determine the ABI of the inferior when we don't have one.
1744 (arm_extract_return_value): Support different floating-point models.
1745 (arm_store_return_value): Likewise.
aaa38bb5 1746 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
08216dd7
RE
1747 ARM_FLOAT_SOFT.
1748 (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
1749
65d6d66a
PS
17502002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1751
1752 * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
1753 of ``current_gdbarch''.
1754
47221191
RE
17552002-02-19 Richard Earnshaw <rearnsha@arm.com>
1756
1757 * armnbsd-nat.c : ANSIfy all function declarations.
1758 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
1759 (fetch_inferior_registers): Re-implement in terms of above.
1760 (store_register, store_regs, store_fp_register, store_fp_regs): New.
1761 (store_inferior_registers): Re-implement in terms of above.
1762
fdf39c9a
RE
17632002-02-19 Richard Earnshaw <rearnsha@arm.com>
1764
aaa38bb5 1765 * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
fdf39c9a
RE
1766 kernel.
1767 * arm-linux-tdep.c: Likewise.
1768 * config/arm/tm-linux.h: Likewise.
1769
93247f88
RE
17702002-02-19 Richard Earnshaw <rearnsha@arm.com>
1771
1772 * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
1773 * config/arm/nbsd.mt (TM_FILE): Delete.
1774 * config/arm/tm-nbsd.h: Delete.
1775
d7b486e7
RE
17762002-02-19 Richard Earnshaw <rearnsha@arm.com>
1777
1778 * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
1779 Initialize CALL_DUMMY_LENGTH.
1780
41d39a95
RE
17812002-02-19 Richard Earnshaw <rearnsha@arm.com>
1782
1783 * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
1784 function.
1785 (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
aaa38bb5 1786 * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
41d39a95
RE
1787 defines one thing and that is incorrect for this port.
1788 (IN_SOLIB_CALL_TRAMPOLINE): Delete.
1789
e1195560
PM
17902002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1791
1792 * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
1793
c1748f97
PM
17942002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
1795
1796 * win32-nat.c (display_selector): New function. Displays information
1797 about the information returned by GetThreadSelectorEntry API function.
1798 (display_selectors): New function. Displays the infomation of
1799 the selector given as argument, or of CS, DS ans FS selectors
1800 if no argument is given.
1801 ( _initialize_inftarg): Add "w32" as info prefix command.
1802 Add "info w32 selector" as command calling display_selectors.
1803
e41e6bbf
PM
18042002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
1805
1806 * i386-tdep.c (get_longjmp_target): Fix compilation failure
1807 by setting dummy values to JB_PC and JB_ELEMENT_SIZE
1808 if not defined.
1809
0d3a9f48
RE
18102002-02-18 Richard Earnshaw <rearnsha@arm.com>
1811
1812 * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
1813
3fb4b924
RE
18142002-02-18 Richard Earnshaw <rearnsha@arm.com>
1815
1816 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
1817 (arm_fix_call_dummy): Call it.
1818 (arm_call_dummy_breakpoint_offset): Delete.
1819 (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
1820 * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
1821
7f55af32
AC
18222002-02-18 Andrew Cagney <ac131313@redhat.com>
1823
1824 * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
1825 Default to func_frame_chain_valid.
1826 * gdbarch.h, gdbarch.c: Re-generate.
1827 * frame.h (FRAME_CHAIN_VALID): Delete definition.
1828
05f13b9c
EZ
18292002-02-18 Elena Zannoni <ezannoni@redhat.com>
1830
1831 * ppc-linux-nat.c: Update copyright.
1832 (fetch_register, store_register): Add tid parameter, don't compute
1833 tid here.
1834 (fetch_ppc_registers, store_ppc_registers): Add tid
1835 parameter. Pass it along to callees.
1836 (fetch_inferior_registers, store_inferior_registers): Compute tid
1837 here, and pass it to calleed functions.
1838 (fill_gregset, supply_fpregset): Clean up formatting.
1839
d7afb4c9
RE
18402002-02-18 Richard Earnshaw <rearnsha@arm.com>
1841
1842 * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
1843 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
1844
9df628e0
RE
18452002-02-18 Richard Earnshaw <rearnsha@arm.com>
1846
1847 * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
1848 * gdbarch.c gdbarch.h: Regenerate.
1849 * breakpoint.c (create_longjmp_breakpoint): Always compile this
1850 function.
1851 (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
1852 * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
1853 (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
1854
1855 * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
1856 * arm-tdep.c (arm_get_longjmp_target): New function.
1857 (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
1858 this to a positive value register arm_get_longjmp_target as the
1859 longjmp handler.
1860 * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
1861 (arm_linux_init_abi): Set up longjmp description in tdep.
1862 * armnbsd-nat.c (get_longjmp_target): Delete.
1863 * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
1864 description in tdep.
1865 * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
1866 (get_longjmp_target): Delete declaration.
1867 (GET_LONGJMP_TARGET): Delete.
1868 * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
1869 (GET_LONGJMP_TARGET): Delete.
1870
57bc8964
KB
18712002-02-17 Kevin Buettner <kevinb@redhat.com>
1872
1873 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
1874 * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
1875 of ``current_gdbarch''.
1876
83d31a92
TT
18772002-02-17 Tom Tromey <tromey@redhat.com>
1878
1879 * cli/cli-cmds.c (compare_strings): New function.
1880 (complete_command): Only print each unique item once.
1881 * completer.h (complete_line): Declare.
1882 * completer.c (complete_line): New function.
1883 (line_completion_function): Use it.
1884
17ef5d92
AC
18852002-02-16 Andrew Cagney <ac131313@redhat.com>
1886
1887 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
1888 * gdbarch.h, gdbarch.c: Re-generate.
1889
491b8946
DJ
18902002-02-16 Daniel Jacobowitz <drow@mvista.com>
1891
1892 * valarith.c (value_x_unop): Fix decrement; support post-decrement.
1893
18942002-02-16 Daniel Jacobowitz <drow@mvista.com>
1895
1896 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
1897 * valops.c (value_arg_coerce): Don't take the address of a reference
1898 to convert an argument to a reference.
1899
dfe7f3ac
CF
19002002-02-15 Christopher Faylor <cgf@redhat.com>
1901
1902 * win32-nat.c (get_image_name): New function.
1903 (handle_load_dll): Use get_image_name function.
1904 (get_child_debug_event): Avoid registering debug events until possibly
1905 execed process is started.
1906 (child_create_inferior): Allow invocation via shell so that command
1907 line redirection, etc. works ok.
1908 (_initialize_inftarg): Add new command: "set shell" to control whether
1909 a shell is used to start a process.
1910
1d33e73a
DJ
19112002-02-15 Daniel Jacobowitz <drow@mvista.com>
1912
1913 * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
1914 instead of find_register_by_number.
1915 (cannot_store_register): Likewise.
1916
48cd0caa
PM
19172002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
1918
aaa38bb5 1919 * dwarf2read.c: Replace fprintf (stderr, ...) by
48cd0caa
PM
1920 fprintf_unfiltered (gdb_stderr, ...).
1921
8656e7d8
DJ
19222002-02-15 Daniel Jacobowitz <drow@mvista.com>
1923
1924 * gdbserver/gdbserver.1: Document --attach.
1925
66e810cd
RE
19262002-02-15 Richard Earnshaw <rearnsha@arm.com>
1927
1928 * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
1929 descriptions.
1930 * arm-tdep.c (arm_default_arm_le_breakpoint)
1931 (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
1932 (arm_default_thumb_be_breakpoint): New. Initialize them from
1933 traditional breakpoint defines.
1934 (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
1935 (arm_gdbarch_init): Initialize new breakpoint variables.
1936 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
1937 (arm_linux_init_abi): Initialize linux-specific breakpoint.
1938 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
1939 (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
1940 code out to ...
1941 (arm_netbsd_init_abi_common): ... here; new function.
1942 * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
1943 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
1944 * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
1945 * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
1946
97e03143
RE
19472002-02-15 Richard Earnshaw <rearnsha@arm.com>
1948
1949 * arm-tdep.h (enum arm_abi): New enum.
1950 (struct gdbarch_tdep): New structure.
1951 (LOWEST_PC): Provide a default.
1952 (arm_gdbarch_register_os_abi): Declare new function.
1953 * arm-tdep.c (arm_abi_names): New array.
1954 (process_note_abi_tag_sections): New function.
1955 (get_elfosabi): New function.
1956 (arm_gdbarch_register_os_abi): New function.
1957 (arm_gdbarch_init): Try to determine the ABI of the inferior. If
1958 support for that ABI has been built in, then call the appropriate
1959 configuration routine. Use gdbarch_num_regs() to get the number
1960 of registers.
1961 (arm_dump_tdep): New function.
1962 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
1963 place-holder functions.
1964 (_initialize_arm_tdep): Register them.
1965 * config/arm/tm-arm.h (LOWEST_PC): Delete.
1966
1967 * armnbsd-tdep.c: New file.
1968 * Makefile.in (armnbsd-tdep.o): Add dependencies.
1969 * config/arm/nbsd.mt (TDEPFILES): Add it.
1970 * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
1971
1972 * armnbsd-nat.c: Include regcache.h.
1973 * Makefile.in (armnbsd-nat.o): Update dependency list.
1974
1975 * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
1976
ad68be46
DJ
19772002-02-14 Daniel Jacobowitz <drow@mvista.com>
1978
1979 * gdbserver/Makefile.in: Fix typos in target rules.
1980
003d6d1d
DJ
19812002-02-14 Daniel Jacobowitz <drow@mvista.com>
1982
aaa38bb5 1983 Fix part of PR gdb/267.
003d6d1d
DJ
1984 * linespec.c (find_methods): Handle constructors specially for now.
1985
6b230f1b
CV
19862002-02-14 Corinna Vinschen <vinschen@redhat.com>
1987
1988 * arm-tdep.c (arm_push_arguments): Eliminate special float type
1989 handling.
1990 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
1991 standard_coerce_float_to_double().
1992
1ea98d12
CF
19932002-02-14 Christopher Faylor <cgf@redhat.com>
1994
1995 * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
1996 GDBINIT_FILENAME.
1997
dd47e6fd
EZ
19982002-02-14 Elena Zannoni <ezannoni@redhat.com>
1999
2000 * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
2001 find_variant_by_name, because it confuses the multiarch
2002 framework. Return NULL if there isn't an architecture with the
2003 user supplied name, instead of forcing a different one without
2004 recording the change with the multiarch machinery.
2005 (find_variant_by_name): Delete.
2006
d7e39b9e
PS
20072002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2008
2009 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
2010 i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
2011
76e42a4f
MH
20122002-02-13 Martin M. Hunt <hunt@redhat.com>
2013
aaa38bb5 2014 * stack.c (print_frame_info_base): When calling
76e42a4f
MH
2015 print_frame_info_listing_hook, set current_source_symtab.
2016
0a30fbc4
DJ
20172002-02-14 Daniel Jacobowitz <drow@mvista.com>
2018
2019 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
2020 and remove unused $(INCLUDE_DIR).
2021 Add regcache.c to OBS.
2022 Add generated register protocol files to clean target.
2023 Update dependencies for new objects, obsolete old target code.
2024
2025 * gdbserver/linux-low.c: Remove all platform-specific code to
2026 new files. Remove various dead code. Update to use regcache
2027 functionality.
2028 * gdbserver/remote-utils.c (fromhex): Add return statement
2029 to quiet warning.
2030 (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
2031 constant.
2032 (input_interrupt): Add integer parameter to match prototype
2033 of a signal handler.
2034 (outreg): Use register_data ().
2035 (prepare_resume_reply): Use gdbserver_expedite_regs.
2036 * gdbserver/server.c (main): Dynamically allocate own_buf because
2037 PBUFSIZ is no longer constant. Use registers_to_string () and
2038 registers_from_string ().
2039 * gdbserver/server.h: No longer include "defs.h". Add prototypes
2040 for error (), fatal (), and warning (). Update definition of
2041 PBUFSIZ to use regcache functionality. Add include guard.
2042 * gdbserver/utils.c (fatal): Add missing ``const''.
2043 (warning): New function.
2044
2045 * regformats/regdat.sh: Include "regcache.h" in generated files.
2046 Provide init_registers () function.
2047 * regformats/regdef.h: Add prototype for set_register_cache ().
2048 Add include guard.
2049
2050 * gdbserver/linux-arm-low.c: New file.
2051 * gdbserver/linux-i386-low.c: New file.
2052 * gdbserver/linux-ia64-low.c: New file.
2053 * gdbserver/linux-m68k-low.c: New file.
2054 * gdbserver/linux-mips-low.c: New file.
2055 * gdbserver/linux-ppc-low.c: New file.
2056 * gdbserver/linux-sh-low.c: New file.
2057
2058 * gdbserver/regcache.c: New file.
2059 * gdbserver/regcache.h: New file.
2060
2061 * gdbserver/low-linux.c: Removed obsolete file.
2062
4cc841d0
DJ
20632002-02-14 Daniel Jacobowitz <drow@mvista.com>
2064
2065 * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
2066 * config/i386/linux.mt: Likewise.
2067 * config/ia64/linux.mt: Likewise.
2068 * config/m68k/linux.mh: Likewise.
2069 * config/powerpc/linux.mh: Likewise.
2070 * config/mips/linux.mt: Likewise.
2071
2072 * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
2073
2074 * config/i386/i386lynx.mh: Mark gdbserver variables
2075 as (currently) obsolete for this target.
2076 * config/i386/nbsd.mt: Likewise.
2077 * config/i386/nbsdelf.mt: Likewise.
2078 * config/m32r/m32r.mt: Likewise.
2079 * config/m68k/m68klynx.mh: Likewise.
2080 * config/m68k/nbsd.mt: Likewise.
2081 * config/m68k/sun3os4.mh: Likewise.
2082 * config/mips/vr5000.mt: Likewise.
2083 * config/ns32k/nbsd.mt: Likewise.
2084 * config/pa/hppabsd.mh: Likewise.
2085 * config/pa/hppaosf.mh: Likewise.
2086 * config/powerpc/nbsd.mt: Likewise.
2087 * config/rs6000/rs6000lynx.mh: Likewise.
2088 * config/s390/s390.mt: Likewise.
2089 * config/s390/s390x.mt: Likewise.
2090 * config/sparc/sparclynx.mh: Likewise.
2091 * config/sparc/sun4os4.mh: Likewise.
2092 * config/i386/x86-64linux.mt: Likewise.
2093 * config/sparc/linux.mh: Likewise.
2094
a85f51e7
DJ
20952002-02-14 Daniel Jacobowitz <drow@mvista.com>
2096
2097 * configure.tgt: Configure gdbserver only for known working
2098 targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
2099 * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
2100 SUBDIRS if it is configured. Update comment for ${nativefile}.
2101 * configure: Regenerated.
2102
65554fef
MS
21032002-02-13 Michael Snyder <msnyder@redhat.com>
2104
670a52db
MS
2105 * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES.
2106
6dbdc4a3
MS
2107 * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
2108 (default_gcore_mach): Just return 0, work around a problem in bfd.
2109 (default_gcore_target): OK to return NULL if exec_bfd is null.
2110 (make_mem_sec): Use a cast, avoid a warning.
2111
2112 * procfs.c (find_memory_regions_callback): Use a cast instead of
aaa38bb5 2113 calling host_pointer_to_address (which complains if
6dbdc4a3
MS
2114 sizeof (host pointer) != sizeof (target pointer)).
2115 (procfs_make_note_section): Avoid overflow in psargs string.
2116
aaa38bb5 2117 * procfs.c (procfs_make_note_section): Make the default
65554fef
MS
2118 implementation return an error.
2119
21202002-02-13 Rodney Brown <rbrown64@csc.com.au>
2121
2122 * procfs.c (procfs_make_note_section): Provide a default definition
2123 (for alpha-dec-osf4.0f). Fix typos.
2124
1e4d76e7
EZ
21252002-02-13 Elena Zannoni <ezannoni@redhat.com>
2126
2127 * linux-proc.c: Add include of regcache.h.
2128 * Makefile.in (linux-proc.o): Add dependency on regcache.h.
2129
b6d1a1d5
AC
21302002-02-13 Andrew Cagney <ac131313@redhat.com>
2131
2132 From 2002-01-18 Greg McGary <greg@mcgary.org>:
aaa38bb5
AJ
2133 * memattr.c (create_mem_region): Disallow useless empty region.
2134 Regions are half-open intervals, so allow [A..B) [B..C) as
65554fef 2135 non-overlapping.
b6d1a1d5 2136
6c6ea35e
MC
21372002-02-13 Michael Chastain <mec@shout.net>
2138
2139 * defs.h: Kill CONST_PTR.
2140 * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
2141 * c-lang.c (c_builtin_types): Likewise.
2142 * ch-lang.c (ch_builtin_types): Likewise.
2143 * f-lang.c (f_builtin_types): Likewise.
2144 * language.c (unknown_builtin_types): Likewise.
2145 * m2-lang.c (m2_builtin_types): Likewise.
2146 * p-lang.c (pascal_builtin_types): Likewise.
2147 * scm-lang.c (c_builtin_types): Likewise.
2148
3e0b0f48
KS
21492002-02-13 Keith Seitz <keiths@redhat.com>
2150
2151 * arm-tdep.h (arm_get_next_pc): Add declaration.
2152
67255d04
RE
21532002-02-13 Richard Earnshaw <rearnsha@arm.com>
2154
2155 * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
2156 with other related struct-returning functions.
2157 (arm_extract_struct_value_address): New function.
2158 (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
2159 initialize float_format, double_format and long_double_format as
2160 appropriate to the endianness of the target.
2161 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
2162 (arm_use_struct_convention): Delete declaration.
2163 (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
2164
079777f6
KS
21652002-02-13 Keith Seitz <keiths@redhat.com>
2166
2167 * defs.h (core_addr_to_string_nz): New function.
2168
34588f23
MK
21692002-02-13 Mark Kettenis <kettenis@gnu.org>
2170
2171 Apply missing bits of 2002-01-15 patch.
2172 * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
2173 (fill_fpregset): Use i387_fill_fsave.
2174
49b563f9
KS
21752002-02-12 Keith Seitz <keiths@redhat.com>
2176
49b563f9
KS
2177 * utils.c (core_addr_to_string): Use phex instead of phex_nz.
2178 (core_addr_to_string_nz): New function.
2179
aeb98c60
RE
21802002-02-11 Richard Earnshaw <rearnsha@arm.com>
2181
2182 * arm-linux-nat.c: Really include arm-tdep.h.
2183 * config/arm/tm-linux.h (struct type, struct value): Declare.
2184
65554fef
MS
21852002-02-11 Michael Snyder <msnyder@redhat.com>
2186
2187 * procfs.c: Include elf-bfd.h (for elfcore_write functions).
2188 (gcore section): Ifdef for Solaris and Unixware only.
2189 (procfs_do_thread_registers): Unixware needs one lwpstatus
2190 per thread (not one prstatus or pstatus).
2191 (procfs_make_note_section): Iterate only over kernel threads (lwps),
2192 not over all gdb threads. For unixware, call elfcore_write_pstatus
2193 once before iterating over threads.
2194
34e8f22d
RE
21952002-02-11 Richard Earnshaw <rearnsha@arm.com>
2196
2197 * arm-tdep.h: New file.
2198 * arm-tdep.c: Include arm-tdep.h.
2199 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
2200 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
2201 (arm_print_float_info, arm_register_type, convert_to_extended)
2202 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
2203 (arm_extract_return_value, arm_register_name): Make static.
2204 (arm_software_single_step): Similarly. Fix types in declaration.
2205 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
2206 (arm_store_return_value, arm_store_struct_return): New functions.
2207 (arm_gdbarch_init): Register the above functions. Also register
2208 call_dummy_start_offset, sizeof_call_dummy_words,
2209 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
2210 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
aaa38bb5 2211 max_register_virtual_size, register_size. Set up
34e8f22d
RE
2212 prologue_cache.saved_regs here, rather than ...
2213 (_initialize_arm_tdep): ... here.
2214 * config/arm/tm-arm.h (struct type, struct value): Delete forward
2215 declarations.
2216 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
2217 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
2218 (arm_print_float_info, arm_register_type, convert_to_extended)
2219 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
2220 (arm_extract_return_value, arm_register_name): Delete declarations.
2221 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
2222 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
2223 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
2224 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
2225 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
2226 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
2227 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
2228 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
2229 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
2230 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
2231 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
2232 (arm_get_next_pc): No-longer static -- these are needed by the RDI
2233 interface.
2234 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
2235 * remote-rdi.c remote-rdp.c: Likewise.
2236 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
2237 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
2238 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
2239 definition.
2240
2241 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
2242 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
2243 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
2244 from non-ARM_ prefixed definitions.
2245 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
2246 all uses of above.
2247 * remote-rdi.c remote-rdp.c: Likewise.
2248 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
2249
148754e5
RE
22502002-02-11 Richard Earnshaw <rearnsha@arm.com>
2251
2252 * arm-tdep.c (arm_frameless_function_invocation)
2253 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
2254 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
2255 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
2256 (arm_pop_frame, arm_get_next_pc): Make static.
2257 (arm_gdbarch_init): Register above in gdbarch structure.
2258 (arm_read_fp): Renamed from arm_target_read_fp.
2259 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
2260 * config/arm/tm-arm.h (arm_frameless_function_invocation)
2261 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
2262 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
2263 (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
2264 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
2265 (arm_pc_is_thumb_dummy): Delete declarations.
fcfb8836
RE
2266 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
2267 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
2268 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
2269 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
148754e5 2270
434d2d4f
DJ
22712002-02-10 Daniel Jacobowitz <drow@mvista.com>
2272
2273 * symtab.c (compare_search_syms): New function.
2274 (sort_search_symbols): New function.
2275 (search_symbols): Sort symbols after searching rather than
2276 before.
2277
55241689
AC
22782002-02-10 Andrew Cagney <ac131313@redhat.com>
2279
2280 * NEWS: Linux -> GNU/Linux.
2281
028c194b
AC
22822002-02-10 Andrew Cagney <ac131313@redhat.com>
2283
2284 * gdbarch.sh: For for level one methods, disallow a definition
2285 when partially multi-arched. Add comments explaining rationale.
2286 * gdbarch.h: Re-generate.
2287
6acf50cd
AC
22882002-02-10 Andrew Cagney <ac131313@redhat.com>
2289
2290 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
2291 multi-arch partial.
aaa38bb5 2292
50248794
AC
22932002-02-10 Andrew Cagney <ac131313@redhat.com>
2294
2295 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
2296 field. Use diff -u.
2297 * gdbarch.c: Re-generate.
2298
c30e0066
AC
22992002-02-10 Andrew Cagney <ac131313@redhat.com>
2300
9b56c5f3 2301 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
c30e0066
AC
2302 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
2303 partial.
2304
6e6d6484
AC
23052002-02-10 Andrew Cagney <ac131313@redhat.com>
2306
2307 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
2308 multi-arch partial.
2309 (PUSH_ARGUMENTS): Switch to using predefault.
2310 * gdbarch.c: Regenerate.
2311
c203844d
AC
23122002-02-10 Andrew Cagney <ac131313@redhat.com>
2313
2314 * valops.c (PUSH_ARGUMENTS): Delete definition.
2315 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
2316 partial. Default to default_push_arguments.
2317 * gdbarch.h, gdbarch.c: Regenerate.
2318
b5a2688f
AC
23192002-02-09 Andrew Cagney <ac131313@redhat.com>
2320
2321 * defs.h (throw_exception): Rename return_to_top_level. Update
2322 comments.
2323 * utils.c (error_stream, internal_verror, quit): Ditto.
2324 * top.c (throw_exception, catcher): Ditto.
2325 * sparclet-rom.c (sparclet_load): Ditto.
2326 * remote.c (interrupt_query, minitelnet): Ditto.
2327 * remote-sds.c (interrupt_query): Ditto.
2328 * remote-mips.c (mips_error, mips_kill): Ditto.
2329 * ocd.c (interrupt_query): Ditto.
2330 * monitor.c (monitor_interrupt_query): Ditto.
2331 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
2332 * target.h: Update comment.
aaa38bb5 2333
b5a2688f 2334 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
aaa38bb5 2335
2fa5c1e0
AC
23362002-02-09 Andrew Cagney <ac131313@redhat.com>
2337
2338 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
2339 default_double_format.
2340 * gdbarch.h, gdbarch.c: Re-generate.
2341 * findvar.c (floatformat_unknown): Delete variable definition.
2342 * doublest.h (floatformat_unknown): Delete variable declaration.
2343
da966255
JB
23442002-02-09 Jim Blandy <jimb@redhat.com>
2345
2346 * stabsread.c (read_type): Add code to parse Sun's syntax for
2347 prototyped function types.
2348
123a4891
AC
23492002-02-09 Andrew Cagney <ac131313@redhat.com>
2350
2351 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
2352 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
2353
fb39c8f3
PS
23542002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2355
2356 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
2357 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
2358 now _initialize_xcoffsolib gets called again and overrides the
2359 commands from solib.c in a native configuration.
2360
0b87a11d
MK
23612002-02-09 Mark Kettenis <kettenis@gnu.org>
2362
2363 * doublest.c (store_typed_floating): Don't try to return a value.
2364 Fixes PR gdb/290.
2365
bdc2fc72
JB
23662002-02-08 Jim Blandy <jimb@redhat.com>
2367
2368 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
2369 is prototyped and has no arguments, print its argument list as
2370 `(void)'.
2371
da69bbcf
CD
23722002-02-08 Chris Demetriou <cgd@broadcom.com>
2373
2374 * MAINTAINERS (write-after-approval): Add myself.
2375 (paper-trail): I've escaped!
aaa38bb5 2376
b69571f5
CF
23772002-02-08 Christopher Faylor <cgf@redhat.com>
2378
2379 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
2380 changes.
2381 (_initialize_check_for_gdb_ini): Ditto.
2382
f6871398
MH
23832002-02-08 Martin M. Hunt <hunt@redhat.com>
2384
2385 * win32-nat.c (cygwin_pid_to_str): Fix typo.
2386 xaprintf -> xasprintf.
2387
4e52d31c
PM
23882002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
2389
2390 * win32-nat.c: Remove use of printf and sprintf functions.
2391
39bbf761
RE
23922002-02-08 Richard Earnshaw <rearnsha@arm.com>
2393
2394 * arm-tdep.c (arm_frame_chain_valid): Make static.
2395 (arm_push_arguments): Likewise.
2396 (arm_gdbarch_init): New function.
2397 (_initialize_arm_tdep): Call it.
2398 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
2399 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
2400 (FRAME_CHAIN_VALID): Delete.
2401 (arm_frame_chain_valid): Delete declaration.
2402 (PUSH_ARGUMENTS): Delete.
2403 (arm_push_arguments): Delete declaration.
2404 (CALL_DUMMY_P): Delete.
2405
9c9532c9
CV
24062002-02-08 Andrew Cagney <ac131313@redhat.com>
2407 Corinna Vinschen <vinschen@redhat.com>
2408
2409 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
2410 on builtin float types.
2411
4e8f7a8b
DJ
24122002-02-08 Daniel Jacobowitz <drow@mvista.com>
2413
2414 * utils.c: Include <curses.h> before "bfd.h".
2415 * tui/tui-hooks.c: Likewise.
2416 * tui/tui.c: Likewise.
2417 * tui/tuiCommand.c: Likewise.
2418 * tui/tuiData.c: Likewise.
2419 * tui/tuiDataWin.c: Likewise.
2420 * tui/tuiDisassem.c: Likewise.
2421 * tui/tuiGeneralWin.c: Likewise.
2422 * tui/tuiIO.c: Likewise.
2423 * tui/tuiLayout.c: Likewise.
2424 * tui/tuiRegs.c: Likewise.
2425 * tui/tuiSource.c: Likewise.
2426 * tui/tuiSourceWin.c: Likewise.
2427 * tui/tuiStack.c: Likewise.
2428 * tui/tuiWin.c: Likewise.
2429
cd4bffcf
EZ
24302002-02-07 Elena Zannoni <ezannoni@redhat.com>
2431
2432 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
2433 to include space for pseudoregs as well. Update loops accordingly.
2434 (sh_fp_frame_init_saved_regs): Ditto.
2435 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
2436
26806ce2
AC
24372002-02-07 Andrew Cagney <ac131313@redhat.com>
2438
2439 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
2440 Add Richard Earnshaw to Arm maintainers.
2441
97fdab62
AC
24422002-02-07 Andrew Cagney <ac131313@redhat.com>
2443
a6b98203
AC
2444 * defs.h (warning_begin): Delete declaration.
2445
97fdab62
AC
2446 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
2447 Delete macro.
2448
78b29b40
MS
24492002-02-07 Michael Snyder <msnyder@redhat.com>
2450
aaa38bb5 2451 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
78b29b40
MS
2452 Logic bug, remove misplaced else.
2453
d8849953
KD
24542002-02-07 Klee Dienes <klee@apple.com>
2455
2456 * fork-inferior.c (fork_inferior): Add '!' to the list of
2457 characters that need to be quoted when building a string for the
2458 shell. Quote '!' specifically with a backslash, since CSH chokes
2459 when trying to evaluate "str!str".
aaa38bb5 2460
095778a0
NC
24612002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
2462
2463 * rdi-share/host.h: Only provide a typedef for bool if it is not
2464 defined.
2465
1900040c
MS
24662002-02-04 Michael Snyder <msnyder@redhat.com>
2467
2468 * breakpoint.h (enum bptype): Add new overlay event bp type.
2469 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
aaa38bb5 2470
1900040c
MS
2471 * breakpoint.c (create_internal_breakpoint): New function.
2472 (internal_breakpoint_number): Moved into create_internal_breakpoint.
2473 (create_longjmp_breakpoint): Use create_internal_breakpoint.
2474 (create_thread_event_breakpoint): Ditto.
2475 (create_solib_event_breakpoint): Ditto.
2476 (create_overlay_event_breakpoint): New function.
2477 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
2478 (update_breakpoints_after_exec): Delete and re-initialize
2479 overlay event breakpoints after an exec. Add FIXME comment
2480 about longjmp breakpoint.
2481 (print_it_typical): Ignore overlay event breakpoints.
2482 (print_one_breakpoint): Ditto.
2483 (mention): Ditto.
2484 (bpstat_what): Do not stop for overlay event breakpoints.
2485 (delete_breakpoint): Don't delete overlay event breakpoints.
2486 (breakpoint_re_set_one): Delete the overlay event breakpoint.
2487 (breakpoint_re_set): Re-create overlay event breakpoint.
2488
2489 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
2490 (overlay_manual_command): Disable overlay breakpoints.
2491 (overlay_off_command): Disable overlay breakpoints.
2492
082fc60d
RE
24932002-02-06 Richard Earnshaw <rearnsha@arm.com>
2494
2495 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
2496 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
2497 to here from config/tm-arm.h.
2498 (coff_sym_is_thumb): Make static.
2499 (arm_elf_make_msymbol_special): New function.
2500 (arm_coff_make_msymbol_special): New function.
2501 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
2502 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
2503 (coff_sym_is_thumb): Delete declaration.
2504 (arm_elf_make_msymbol_special): Declare.
2505 (arm_coff_make_msymbol_special): Declare.
2506 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
2507 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
2508
039c5766
RE
25092002-02-06 Richard Earnshaw <rearnsha@arm.com>
2510
2511 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
2512
25132002-02-06 Richard Earnshaw <rearnsha@arm.com>
2514
2515 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
2516 * gdbarch.c gdbarch.h: Regenerate.
2517 * arch-utils.c (default_print_float_info): New function.
2518 * arch-utils.h (default_print_float_info): Prototype it.
2519 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
2520 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
2521 (PRINT_FLOAT_INFO): Document it.
2522
2523 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
2524 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
2525 (PRINT_FLOAT_INFO): Define.
2526
58fa08f0
PM
25272002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
2528
aaa38bb5 2529 * win32-nat.c (_initialize_check_for_gdb_ini):
58fa08f0
PM
2530 Add typecast to sprintf argument to suppress a warning.
2531
7393af7c
PM
25322002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
2533
58fa08f0 2534 * win32-nat.c (last_sig): Changed type of variable to target_signal,
7393af7c
PM
2535 to allow easier handling of pass state.
2536 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
2537 that gives exception name and address.
2538 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
aaa38bb5 2539 and set last_sig value to ourstatus->value.sig. Some missing
7393af7c 2540 exceptions added.
aaa38bb5
AJ
2541 (child_continue): Correctly report continue_status.
2542 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
7393af7c 2543 TARGET_SIGNAL_0 (new default value).
aaa38bb5 2544 (child_resume): consider sig argument passed to decide if
7393af7c
PM
2545 the exception should be passed to debuggee or not.
2546
6af4589c
MS
25472002-02-05 Michael Snyder <msnyder@redhat.com>
2548
2549 * regcache.c (fetch_register): Call target_fetch_register
2550 only if we don't call FETCH_PSEUDO_REGISTER.
2551 (store_register): Call target_store_register only if we
2552 don't call STORE_PSEUDO_REGISTER.
2553
a2cf933a
EZ
25542002-02-05 Elena Zannoni <ezannoni@redhat.com>
2555
2556 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
2557 ELF_MAKE_MSYMBOL_SPECIAL.
2558 * gdbarch.c, gdbarch.h: Regenerate.
2559 * arch-utils.c (default_make_msymbol_special): New function.
aaa38bb5 2560 * arch-utils.h (default_make_msymbol_special): Export.
a2cf933a
EZ
2561 * elfread.c (elf_symtab_read): Compile use of
2562 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
2563 multiarched.
2564 * coffread.c (coff_symtab_read): Ditto, for
2565 COFF_MAKE_MSYMBOL_SPECIAL.
2566
6bb7be43
JB
25672002-02-05 Jim Blandy <jimb@redhat.com>
2568
2569 * solib-svr4.c (svr4_truncate_ptr): New function.
2570 (svr4_relocate_section_addresses): Do the address arithmetic with
2571 the appropriate truncation for target addresses, even when
2572 CORE_ADDR is larger than a target address.
2573
e18651ec
DJ
25742002-02-05 Daniel Jacobowitz <drow@mvista.com>
2575
2576 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
2577 to (int *).
2578
6b2725be
DJ
25792002-02-05 Daniel Jacobowitz <drow@mvista.com>
2580
2581 * gdbserver/linux-low.c (kill_inferior): Remove commented out
2582 code.
2583
fca9e603
DJ
25842002-02-05 Daniel Jacobowitz <drow@mvista.com>
2585
2586 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
2587
6c537a52
DJ
25882002-02-05 Daniel Jacobowitz <drow@mvista.com>
2589
2590 * gdbserver/linux-low.c: Remove unused include files.
2591
d844cde6
DJ
25922002-02-05 Daniel Jacobowitz <drow@mvista.com>
2593
2594 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
2595 (read_inferior_memory): Use it.
2596 (write_inferior_memory): Likewise.
2597
d07c63e7
DJ
25982002-02-05 Daniel Jacobowitz <drow@mvista.com>
2599
2600 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
2601 grubbing through sys_errlist.
2602
da6d8c04
DJ
26032002-02-05 Daniel Jacobowitz <drow@mvista.com>
2604
2605 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
2606
5b421780
PM
26072002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
2608 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
2609
9f60d481
AC
26102002-02-04 Andrew Cagney <ac131313@redhat.com>
2611
2612 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
2613 (do_sfunc, set_cmd_sfunc): New functions.
2614
2615 * command.h (struct cmd_list_element): Add field func.
2616 * cli/cli-decode.h (struct cmd_list_element): Ditto.
2617 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
2618 * cli/cli-decode.h: Ditto.
2619
2620 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
2621 (help_all, help_cmd_list): Ditto.
2622 (find_cmd, complete_on_cmdlist): Ditto.
2623 * top.c (execute_command): Ditto.
2624
2625 * cli/cli-setshow.c (do_setshow_command): Call func instead of
2626 function.sfunc.
2627
2628 * infcmd.c (notice_args_read): Fix function signature.
2629
2630 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
2631 * cli/cli-decode.c (add_set_cmd): Ditto.
2632 * utils.c (initialize_utils): Ditto.
2633 * maint.c (_initialize_maint_cmds): Ditto.
2634 * infrun.c (_initialize_infrun): Ditto.
2635 * demangle.c (_initialize_demangler): Ditto.
2636 * remote.c (add_packet_config_cmd): Ditto.
2637 * mips-tdep.c (_initialize_mips_tdep): Ditto.
2638 * cris-tdep.c (_initialize_cris_tdep): Ditto.
2639 * proc-api.c (_initialize_proc_api): Ditto.
2640 * kod.c (_initialize_kod): Ditto.
2641 * valprint.c (_initialize_valprint): Ditto.
2642 * top.c (init_main): Ditto.
2643 * infcmd.c (_initialize_infcmd): Ditto.
2644 * corefile.c (_initialize_core): Ditto.
2645 * arm-tdep.c (_initialize_arm_tdep): Ditto.
2646 * arch-utils.c (initialize_current_architecture): Ditto.
2647 (_initialize_gdbarch_utils): Ditto.
2648 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
2649
2650 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
2651 * wince.c (_initialize_inftarg): Ditto.
2652 * symfile.c (_initialize_symfile): Ditto.
2653 * mips-tdep.c (_initialize_mips_tdep): Ditto.
2654 * language.c (_initialize_language): Ditto.
2655 * arc-tdep.c (_initialize_arc_tdep): Ditto.
2656
f9ba0717
MS
26572002-02-04 Michael Snyder <msnyder@redhat.com>
2658
2659 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
2660
0c74b2a7
DJ
26612002-02-04 Daniel Jacobowitz <drow@mvista.com>
2662
2663 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
2664 Add rules for building the register data files.
2665
c638789f
DJ
26662002-02-04 Daniel Jacobowitz <drow@mvista.com>
2667
2668 * regformats/regdat.sh: Add braces to the definition of
2669 expedite_regs_${arch}.
2670
db253027
DJ
26712002-02-04 Daniel Jacobowitz <drow@mvista.com>
2672
2673 * regformats/regdef.h (struct reg): Add comment describing the
2674 requirements for offset and size fields.
2675
206be19c
AS
26762002-02-04 Andreas Schwab <schwab@suse.de>
2677
2678 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
2679 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
2680
181c1381
RE
26812002-02-04 Richard Earnshaw <rearnsha@arm.com>
2682
2683 * gdbarch.sh (copyright): Update years in generated header.
2684 (SMASH_TEXT_ADDRESS): Add rule.
db253027 2685 * gdbarch.h, gdbarch.c: Re-generate.
181c1381
RE
2686 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
2687 * dbxread.c: Likewise.
2688 * dwarfread.c: Likewise.
2689 * elfread.c: Likewise.
2690 * somread.c: Likewise.
2691
2692 * arm-tdep.c (arm_smash_text_address): New function.
2693 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
2694
fa4ba8da
PM
26952002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
2696
2697 Add support for hardware watchpoints on win32 native.
aaa38bb5 2698 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
fa4ba8da 2699 CONTEXT_DEBUG_REGISTERS.
aaa38bb5 2700 (dr variable): New variable. Static array containing a local copy
fa4ba8da
PM
2701 of debug registers.
2702 (debug_registers_changed): New variable. Reflects when debug registers
2703 are changed and need to be written to inferior.
aaa38bb5 2704 (debug_registers_used): New variable. Reflects when any debug register
fa4ba8da
PM
2705 was set, used when new threads are created.
2706 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
2707 i386-nat code.
2708 (thread_rec): Set dr array if id is the thread of current_event .
2709 (child_continue, child_resume): Change the debug registers for all
2710 threads if debug_registers_changed.
2711 (child_add_thread): Change the debug registers if debug_registers_used.
2712 * config/i386/cygwin.mh: Add use of i386-nat.o file.
2713 Link nm.h to new nm-cygwin.h file.
2714 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
2715 of hardware registers.
2716
a73c86fb
AC
27172002-02-03 Andrew Cagney <ac131313@redhat.com>
2718
2719 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
2720 Restore behavour broken by 2002-01-20 Andrew Cagney
2721 <ac131313@redhat.com> IEEE_FLOAT removal.
2722
acf5ed49
DJ
27232002-02-03 Daniel Jacobowitz <drow@mvista.com>
2724
2725 * c-valprint.c (c_val_print): Pass a proper valaddr to
2726 cp_print_class_method.
2727 * valops.c (search_struct_method): If there is only one method
2728 and args is NULL, return that method.
2729
493d28d5
DJ
27302002-02-03 Daniel Jacobowitz <drow@mvista.com>
2731
2732 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
2733 accessing tag_name directly.
2734
7495dfdb
DJ
27352002-02-03 Daniel Jacobowitz <drow@mvista.com>
2736
2737 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
2738 of accessing tag_name directly.
2739
dd6bda65
DJ
27402002-02-03 Daniel Jacobowitz <drow@mvista.com>
2741
2742 PR gdb/280
2743 * gdbtypes.c (replace_type): New function.
2744 * gdbtypes.h (replace_type): Add prototype.
2745 * stabsread.c (read_type): Use replace_type.
2746
88fe217c
RE
27472002-02-03 Richard Earnshaw <rearnsha@arm.com>
2748
2749 * Makefile.in (memattr.o): Add missing dependencies rule.
2750
e5d66720
PS
27512002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2752
2753 * breakpoint.c (break_at_finish_command): Really export.
2754 (break_at_finish_at_depth_command): Ditto.
2755 (tbreak_at_finish_command): Ditto.
2756 * hppa-tdep.c: Include completer.h.
2757 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
2758 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
2759
fffee0be
AC
27602002-02-01 Andrew Cagney <ac131313@redhat.com>
2761
2762 * utils.c (do_write): New function.
2763 (error_stream): Rewrite combining the code from error_begin and
2764 verror.
2765 (verror): Rewrite using error_stream.
2766 (error_begin): Delete function.
2767
255e7dbf
AC
27682002-02-01 Andrew Cagney <ac131313@redhat.com>
2769
2770 * utils.c (error_begin): Make static.
2771 * defs.h (error_begin): Delete declaration.
2772
2773 * linespec.c (cplusplus_error): Replace cplusplus_hint.
2774 (decode_line_1): Use cplusplus_error instead of error_begin,
2775 cplusplus_hint and return_to_top_level.
2776 * coffread.c (coff_symfile_read): Use error instead of error_begin
2777 and return_to_top_level.
2778 * infrun.c (default_skip_permanent_breakpoint): Ditto.
2779
ddfe3c15
AC
27802002-02-01 Andrew Cagney <ac131313@redhat.com>
2781
2782 * language.h (type_error, range_error): Make string parameter
2783 constant.
2784 * language.c (warning_pre_print): Delete extern declaration.
2785 * dwarfread.c (warning_pre_print): Ditto.
2786 * language.c (type_error, range_error): Rewrite to use verror and
2787 vwarning instead of warning_begin.
2788
03ac34d5
MS
27892002-02-01 Michael Snyder <msnyder@redhat.com>
2790
261c4ca2
MS
2791 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
2792 (set_ignore_count): Move misplaced comment back where it belongs.
03ac34d5 2793
e00d1dc8
AC
27942002-02-01 Andrew Cagney <ac131313@redhat.com>
2795
2796 * command.h (NO_FUNCTION): Delete macro.
2797 * cli/cli-decode.h (NO_FUNCTION): Ditto.
2798 * top.c (execute_command): Replace NO_FUNCTION with NULL.
2799 * tracepoint.c (_initialize_tracepoint): Ditto.
2800 * cli/cli-decode.c (add_set_cmd): Ditto.
2801 * cli/cli-cmds.c (init_cli_cmds): Ditto.
aaa38bb5 2802
76b79d6e
DJ
28032002-02-01 Daniel Jacobowitz <drow@mvista.com>
2804
2805 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
2806 Update ``this'' pointer when calling virtual functions.
2807
799f9e91
MS
28082002-02-01 Michael Snyder <msnyder@redhat.com>
2809
c7bd442c 2810 * breakpoint.c (create_temp_exception_breakpoint): Delete.
799f9e91
MS
2811 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
2812
3cf384d4
DJ
28132002-02-01 Daniel Jacobowitz <drow@mvista.com>
2814
2815 * regformats/reg-arm.dat: New file.
2816 * regformats/reg-i386.dat: New file.
2817 * regformats/reg-ia64.dat: New file.
2818 * regformats/reg-m68k.dat: New file.
2819 * regformats/reg-mips.dat: New file.
2820 * regformats/reg-ppc.dat: New file.
2821 * regformats/reg-sh.dat: New file.
2822 * regformats/regdef.h: New file.
2823 * regformats/regdat.sh: New file.
2824
0defa245
RE
28252002-02-01 Richard Earnshaw <reanrsha@arm.com>
2826
2827 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
2828 (arm_frame_args_address, arm_frame_locals_address): New functions.
2829 (arm_frame_num_args): New function.
2830 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
2831 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
2832 (FRMA_NUM_ARGS): Call arm_frame_num_args.
2833
405f26e6
MS
28342002-01-31 Michael Snyder <msnyder@redhat.com>
2835
502fd408
MS
2836 * breakpoint.c (break_at_finish_command): Export.
2837 (break_at_finish_at_depth_command): Export.
2838 (tbreak_at_finish_command): Export.
2839 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
2840 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
2841 "tbreak" commands, which are HPPA specific.
2842
7d35e135
MS
2843 * printcmd.c (disassemble_command): Remove an ancient
2844 artifact of an old merge.
2845
aaa38bb5 2846 * symfile.h (enum overlay_debugging_state):
d874f1e2
MS
2847 Define enum constant values for overlay mode.
2848 * symfile.c (overlay_debugging): Use enums instead of literals.
aaa38bb5
AJ
2849 (overlay_is_mapped, overlay_auto_command,
2850 overlay_manual_command): Ditto.
d874f1e2 2851
aaa38bb5
AJ
2852 * breakpoint.c (insert_breakpoints, remove_breakpoint,
2853 breakpoint_here_p, breakpoint_inserted_here_p,
2854 breakpoint_thread_match, bpstat_stop_status,
9f04af04
MS
2855 describe_other_breakpoints, check_duplicates, clear_command):
2856 Coding standard fixes.
2857
8add0441 2858 * target.c (target_xfer_memory): Add spaces, coding standard.
9f04af04 2859 (do_xfer_memory): Add missing line to trust-readonly
405f26e6
MS
2860 code: check bfd SEC_READONLY flag for section.
2861
e351066e
AC
28622002-01-31 Andrew Cagney <ac131313@redhat.com>
2863
7d35e135 2864 * PROBLEMS: Fix typo, 5.1->5.1.1.
e351066e 2865
8a48e967
DJ
28662002-01-30 Daniel Jacobowitz <drow@mvista.com>
2867
2868 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
2869 data symbols, since we search based on textlow and texthigh.
2870 (find_pc_sect_symtab): Likewise.
2871
f5a96129
AC
28722002-01-30 Andrew Cagney <ac131313@redhat.com>
2873
2874 * defs.h (vwarning): Declare.
f5a96129
AC
2875 * utils.c (vwarning): New function.
2876 (warning): Call vwarning.
2877 (warning_begin): Delete function.
2878
2879 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
2880 the warning message.
2881 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
2882 warning_begin.
2883
cefd4ef5
MS
28842002-01-30 Michael Snyder <msnyder@redhat.com>
2885
1a703748
MS
2886 * NEWS: Mention "set trust-readonly-sections" command.
2887 Mention generate-core-file command.
cefd4ef5 2888
3a11626d
MS
28892002-01-15 Michael Snyder <msnyder@redhat.com>
2890
2891 * target.c: New command, "set trust-readonly-sections on".
2892 (do_xfer_memory): Honor the suggestion to trust readonly sections
2893 by reading them from the object file instead of from the target.
2894 (initialize_targets): Register command "set trust-readonly-sections".
2895
d1c7e53b
AC
28962002-01-29 Andrew Cagney <ac131313@redhat.com>
2897
2898 * parse.c (target_map_name_to_register): Simplify, search regs and
2899 pseudo-regs using a single loop.
2900
e2c9a72c
AC
29012002-01-30 Andrew Cagney <ac131313@redhat.com>
2902
2903 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
2904
69824b4e
MK
29052002-01-15 Rodney Brown <rbrown64@csc.com.au>
2906
2907 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
2908 * config/i386/i386v42mp.mh: Add i387-nat.o .
2909 * i386v4-nat.c: Include i387-nat.h.
2910 (supply_fpregset): Use i387_supply_fsave.
2911 (fill_fpregset): Use i387_fill_fsave.
2912
6eb69eab
RE
29132002-01-30 Richard Earnshaw <rearnsha@arm.com>
2914
2915 * arm-tdep.c (arm_call_dummy_words): Define.
2916 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
2917 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
2918 (CALL_DUMMY_WORDS): Define.
2919 (arm_call_dummy_words): Declare.
2920 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
2921 (arm_linux_call_dummy_words): Declare.
2922
9852326a
AS
29232002-01-30 Andreas Schwab <schwab@suse.de>
2924
2925 * m68klinux-nat.c: Fix last change to use regcache_collect
2926 instead of referencing registers[] directly.
2927
977a3030
AC
29282002-01-29 Andrew Cagney <ac131313@redhat.com>
2929
2930 * parse.c (target_map_name_to_register): Delete code wrapped in
2931 #ifdef REGISTER_NAME_ALIAS_HOOK.
2932
2076c72b
MS
29332002-01-28 Michael Snyder <msnyder@redhat.com>
2934
2935 * regcache.c (legacy_read_register_gen): Need to be able to
2936 read pseudo-register as well as real register.
2937 (legacy_write_register_gen): Ditto.
2938
8fcc723b
AC
29392002-01-28 Andrew Cagney <ac131313@redhat.com>
2940
2941 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
2942 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
2943 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
2944 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
2945 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
2946 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
2947 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
2948 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
2949 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
2950 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
2951 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
2952 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
2953 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
2954 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
2955 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
2956 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
2957 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
2958 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
2959 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
2960 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
2961
afe64c1a
AC
29622002-01-28 Andrew Cagney <ac131313@redhat.com>
2963
2964 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
2965 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
2966 (initialize_current_architecture): Update target_byte_order using
2967 information from BFD.
aaa38bb5 2968 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
afe64c1a
AC
2969 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
2970
75bc7ddf
AC
29712002-01-28 Andrew Cagney <ac131313@redhat.com>
2972
2973 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
2974 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
2975
2976 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
2977 #ifdef INVALID_FLOAT.
2978 * infcmd.c (do_registers_info): Ditto.
2979 * values.c (unpack_double): Ditto. Add comment.
2980
2981 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
2982 already commented out.
2983
0280a90a
AS
29842002-01-26 Andreas Schwab <schwab@suse.de>
2985
2986 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
2987 * m68klinux-nat.c: Update ptrace interface for fetching/storing
2988 registers and add support for PTRACE_GETREGS.
2989
7072a954
AC
29902002-01-24 Andrew Cagney <ac131313@redhat.com>
2991
2992 GDB 5.1.1 released from 5.1 branch.
2993 * NEWS: Add 5.1.1 news.
2994 * README: Sync with 5.1 branch.
2995
86f902e0
FF
29962002-01-23 Fred Fish <fnf@redhat.com>
2997
2998 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
2999 stabstring on initial malloc. Reallocing will copy it for us,
3000 if necessary.
3001
8af51c36
EZ
30022002-01-23 Elena Zannoni <ezannoni@redhat.com>
3003
aaa38bb5 3004 * Makefile.in (hpread_h): Delete.
8af51c36
EZ
3005 (HFILES_NO_SRCDIR): Remove hpread.h.
3006 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
3007 (hpread.o): Update dependencies.
3008 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
3009
3010 * hp-psymtab-read.c: Remove file.
3011 * hp-symtab-read.c: Remove file.
3012 * hpread.h: Remove file.
3013
3014 * hpread.c: Merge all contents of hp-psymtab-read.c,
3015 hp-symtab-read.c and hpread.h into this file, as it was prior to
3016 January 1999.
3017
3018 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
aaa38bb5 3019 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
8af51c36
EZ
3020 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
3021 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
3022
dc5cfeb6
EZ
30232002-01-23 Elena Zannoni <ezannoni@redhat.com>
3024
3025 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
3026 fill_gregset): Call gdbarch_tdep() just once, assign result to
3027 variable and use that, instead of calling the function several
3028 times.
3029
ea87b71b
AO
30302002-01-24 Alexandre Oliva <aoliva@redhat.com>
3031
3032 * configure.host: Accept sparcv9 as alias for sparc64.
3033 * configure.tgt: Likewise.
3034
13fc0c2f
KB
30352002-01-22 Kevin Buettner <kevinb@redhat.com>
3036
3037 * solib-aix5.c (build_so_list_from_mapfile)
3038 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
3039 arguments is not reversed.
3040 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
3041 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
aaa38bb5 3042
7bd872fe
EZ
30432002-01-22 Elena Zannoni <ezannoni@redhat.com>
3044
3045 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
3046 modified version of obsolete sh_fetch_pseudo_register.
3047 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
3048 (sh4_register_read): New function.
3049 (sh_pseudo_register_write): New function. Renamed and modified
3050 version of obsolete sh_store_pseudo_register.
3051 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
3052 (sh4_register_write): New function.
3053 (sh_gdbarch_init): Remove setting of gdbarch function
3054 fetch_pseudo_register and store_pseudo_register. Remove setting of
3055 register_convert_to_raw, register_convert_to_virtual,
3056 register_convertible.
3057 (sh_sh4_register_convertible): Delete. No longer needed. All is
3058 taken care by architecture specific functions
3059 register_read/register_write.
3060 (sh_sh4_register_convert_to_virtual): Make static.
3061 (sh_sh4_register_convert_to_raw): Ditto.
3062
069e84fd
AC
30632002-01-22 Andrew Cagney <ac131313@redhat.com>
3064
3065 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
3066 (floatformat_is_nan, floatformat_mantissa): Ditto.
3067
3068 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
3069 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
3070 builtin_type_ieee_double_little,
3071 builtin_type_ieee_double_littlebyte_bigword,
3072 builtin_type_m68881_ext, builtin_type_i960_ext,
3073 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
3074 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
3075 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
3076 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
3077
211a4f69
CV
30782002-01-22 Corinna Vinschen <vinschen@redhat.com>
3079
3080 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
3081 parameter. Set frameless flag if it exists and depended of
3082 whether the scanned function is frameless or not.
3083 (xstormy16_skip_prologue): If function is frameless, return
3084 result of xstormy16_scan_prologue().
3085 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
3086 call.
3087
f81353e4
EZ
30882002-01-21 Elena Zannoni <ezannoni@redhat.com>
3089
3090 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
3091 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
3092 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
3093 sh_sh4_register_byte, sh_sh4_register_raw_size,
3094 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
3095 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
3096 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
3097 sh_store_pseudo_register, sh_do_pseudo_register): Call
3098 gdbarch_tdep() just once, assign result to variable and use that,
3099 instead of calling the function several times.
3100
63c73a17
MK
31012002-01-20 Mark Kettenis <kettenis@gnu.org>
3102
3103 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
3104 macros instead of LAST_FPU_CTRL_REGNUM.
3105 (store_register): Likewise.
3106
39ad761d
JB
31072002-01-21 Jim Blandy <jimb@redhat.com>
3108
3109 * infcmd.c (run_command): Check that the `exec' target layer's BFD
3110 is up-to-date before running the program, not just when a program
3111 exits.
3112
3d74b771
FF
31132002-01-21 Fred Fish <fnf@redhat.com>
3114
3115 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
3116 when we have found all instructions we are looking for.
3117
966fbf70
RE
31182002-01-21 Richard Earnshaw <rearnsha@arm.com>
3119
3120 * arm-tdep.c (arm_register_name): New function.
3121 (arm_registers_names): Make static.
3122 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
3123 (arm_register_name): Declare.
3124 (REGISTER_NAME): Use it.
3125
c3b4394c
RE
31262002-01-21 Richard Earnshaw <rearnsha@arm.com>
3127 Kevin Buettner <kevinb@redhat.com>
3128
3129 Convert arm targets to new FRAME interface.
3130 * arm-tdep.c (struct frame_extra_info): Remove fsr.
3131 (arm_frame_find_save_regs): Delete.
3132 (arm_frame_init_saved_regs): New.
3133 (arm_init_extra_frame_info): Alloacte saved_regs as required.
3134 Allocate extra_info as required. Convert all uses of fsr.regs
3135 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
3136 to use extra_info.
3137 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
3138 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
3139 (check_prologue_cache, save_prologue_cache): Likewise.
3140 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
3141 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
3142 (FRAME_FIND_SAVED_REGS): Delete.
3143 (arm_frame_find_saved_regs): Delete prototype.
3144 (arm_frame_init_saved_regs): New prototype.
3145 (FRAME_INIT_SAVED_REGS): Define.
3146
61d99182
AC
31472002-01-20 Andrew Cagney <ac131313@redhat.com>
3148
3149 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
3150
6aaea291
AC
31512002-01-20 Andrew Cagney <ac131313@redhat.com>
3152
3153 From Jeff Law <law@redhat.com>:
3154 * infttrace.c: Include <sys/pstat.h>.
3155 (child_pid_to_exec_file): Revamp. Use pstat call to get the
3156 exec file if the ttrace equivalent fails.
3157
15f698d2
AC
31582002-01-20 Andrew Cagney <ac131313@redhat.com>
3159
3160 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
3161 (closeLogFile): Ditto.
3162
f86ddd7c
MC
31632002-01-20 Michael Chastain <mec@shout.net>
3164
3165 * top.c (print_gdb_version): Bump copyright year to 2002.
3166
904507ce
AC
31672002-01-20 Andrew Cagney <ac131313@redhat.com>
3168
3169 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
3170 Zannoni and Eli Zaretskii.
3171
d7f0b9ce
DJ
31722002-01-20 Daniel Jacobowitz <drow@mvista.com>
3173
3174 * buildsym.c: Update copyright years.
3175 * c-typeprint.c: Likewise.
3176 * dwarf2read.c: Likewise.
3177 * f-typeprint.c: Likewise.
3178 * gdbtypes.c: Likewise.
3179 * gdbtypes.h: Likewise.
3180 * hp-symtab-read.c: Likewise.
3181 * hpread.c: Likewise.
3182 * mdebugread.c: Likewise.
3183 * p-typeprint.c: Likewise.
3184
3fd3d7d2
AC
31852002-01-20 Andrew Cagney <ac131313@redhat.com>
3186
3187 * remote-sim.c (gdbsim_open): Simplify code testing the macro
3188 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
3189 byte-order selectable.
3190 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
3191 * arch-utils.c: Ditto.
3192 (set_endian): Ditto.
3193 (set_endian_from_file): Ditto.
3194 * gdbserver/low-sim.c (create_inferior): Ditto.
3195 * gdbarch.sh: Ditto.
3196 * gdbarch.h: Re-generate.
aaa38bb5
AJ
3197 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
3198 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
3199 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
3200 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
3201 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
3202 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
3203 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
3fd3d7d2
AC
3204 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
3205 macro definition.
3206 * config/mips/tm-wince.h: Remove #undef of macro
3207 TARGET_BYTE_ORDER_SELECTABLE.
3208 * config/sh/tm-wince.h: Ditto.
3209
b02dede2
DJ
32102002-01-20 Daniel Jacobowitz <drow@mvista.com>
3211
3212 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
3213 member function fields. Add accessor macro
3214 TYPE_FN_FIELD_ARTIFICIAL.
3215 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
3216 * c-typeprint.c (c_type_print_base): Skip artificial member
3217 functions.
3218
c3643761
DJ
32192002-01-20 Daniel Jacobowitz <drow@mvista.com>
3220
3221 * f-typeprint.c: Delete unused function f_type_print_args.
3222 * p-typeprint.c: Delete unused function pascal_type_print_args.
3223
8176bb6d
DJ
32242002-01-20 Daniel Jacobowitz <drow@mvista.com>
3225
3226 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
3227 comment. Add ``artificial'' to ``union field_location''.
3228
3229 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
3230
3231 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
3232 * mdebugread.c (parse_symbol): Likewise.
3233 * stabsread.c (define_symbol): Likewise.
3234 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
3235 initializing TYPE_FIELD_BITPOS to n (obsolete).
3236 (hpread_doc_function_type): Likewise.
3237 * hpread.c (hpread_function_type): Likewise.
3238
7fd60527
AC
32392002-01-20 Andrew Cagney <ac131313@redhat.com>
3240
3241 * configure.in (host_makefile_frag): Only require a host makefile
3242 fragment when a native build.
3243 * configure: Re-generate.
3244
c2f05ac9
AC
32452002-01-20 Andrew Cagney <ac131313@redhat.com>
3246
3247 * doublest.h (floatformat_from_type): Declare.
3248 * doublest.c (floatformat_from_type): New function.
3249 (convert_typed_floating): Use.
3250
3251 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
3252 call to function floatformat_from_type.
3253
3254 * gdbarch.sh (IEEE_FLOAT): Delete.
3255 * gdbarch.h, gdbarch.c: Re-generate.
3256 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
3257 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
3258 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
3259 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
3260 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
3261 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
3262 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
3263 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
3264 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
3265 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
3266 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
3267 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
3268
3269 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
3270 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
3271 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
3272 * sh-tdep.c (sh_gdbarch_init): Ditto.
3273 * mips-tdep.c (mips_gdbarch_init): Ditto.
3274 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
3275 * cris-tdep.c (cris_gdbarch_init): Ditto.
3276
abf22e64
AJ
32772002-01-20 Jiri Smid <smid@suse.cz>
3278
3279 * configure.host, configure.tgt: Support x86-64.
3280 * NEWS: Note new target x86-64.
3281
b7c4cbf8
AJ
3282 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
3283 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
3284 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
3285 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
3286 x86-64-linux-nat.o): Fix dependencies.
3287
82600034
AC
32882002-01-19 Andrew Cagney <ac131313@redhat.com>
3289
3290 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
3291 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
3292 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
3293 * config/sparc/xm-sun4os4.h: Delete file.
3294 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 3295
bbe5c628
AC
32962002-01-19 Andrew Cagney <ac131313@redhat.com>
3297
3298 * config/sparc/sparclynx.mh (XM_FILE): Delete.
3299 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
3300 * config/m68k/m68klynx.mh (XM_FILE): Delete.
3301 * config/i386/i386lynx.mh (XM_FILE): Delete.
3302 * config/rs6000/xm-rs6000ly.h: Delete file.
3303 * config/sparc/xm-sparclynx.h: Delete file.
3304 * config/m68k/xm-m68klynx.h: Delete file.
3305 * config/i386/xm-i386lynx.h: Delete file.
3306 * config/xm-lynx.h: Delete file.
3307 * config/djgpp/fnchange.lst: Update.
3308
f8453e34
JT
33092002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
3310
3311 * alpha-tdep.c (alpha_register_byte): New function.
3312 (alpha_register_raw_size): Ditto.
3313 (alpha_register_virtual_size): Ditto.
3314 (alpha_skip_prologue_internal): Renamed from
3315 alpha_skip_prologue.
3316 (alpha_skip_prologue): New version that calls
3317 alpha_skip_prologue_internal.
3318 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
3319 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
3320 second argument from alpha_skip_prologue.
3321 (REGISTER_BYTE): Use alpha_register_byte.
3322 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
3323 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
3324 (FRAMELESS_FUNCTION_INVOCATION): Use
3325 generic_frameless_function_invocation_not.
3326 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
3327 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
3328
52d9e613
AC
33292002-01-19 Andrew Cagney <ac131313@redhat.com>
3330
3331 * config/mips/xm-news-mips.h: Delete file.
3332 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
3333
3334 * config/m88k/xm-m88k.h: Delete file.
3335 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
3336 * config/m88k/xm-delta88v4.h: Ditto.
3337 * config/m88k/xm-delta88.h: Ditto.
3338
3339 * config/alpha/xm-fbsd.h: Delete file.
3340 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
3341
3342 * config/sparc/xm-sparc.h: Delete file.
3343 * Makefile.in (xm-sun4os4.h): Delete dependency.
3344 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
3345 * config/sparc/xm-sun4os4.h: Ditto.
3346 * config/sparc/xm-linux.h: Ditto.
3347
3348 * config/i386/xm-windows.h: Delete file.
3349
2d1b2124
AC
33502002-01-19 Andrew Cagney <ac131313@redhat.com>
3351
3352 * utils.c: Include <sys/param.h> for MAXPATHLEN.
3353 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
3354
ee1f65f0
JT
33552002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
3356
3357 * alpha-tdep.c (alpha_call_dummy_words): New.
3358 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
3359 (CALL_DUMMY_P): Define.
3360 (CALL_DUMMY_WORDS): Define.
3361 (SIZEOF_CALL_DUMMY_WORDS): Define.
3362
98081e55
PB
33632002-01-19 Per Bothner <per@bothner.com>
3364
3365 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
3366 isn't NULL, which can happen with some gcj-3.x-produced code.
3367
0d056799
JT
33682002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
3369
3370 * alpha-tdep.c (alpha_register_virtual_type): New function.
3371 (alpha_init_frame_pc_first): Ditto.
3372 (alpha_fix_call_dummy): Ditto.
3373 (alpha_store_struct_return): Ditto.
3374 (alpha_extract_struct_value_address): Ditto.
3375 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
3376 alpha_register_virtual_type.
3377 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
3378 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
3379 alpha_extract_struct_value_address.
3380 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
3381 (INIT_FRAME_PC): Use init_frame_pc_noop.
3382 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
3383
4604bcad
MK
33842002-01-19 Mark Kettenis <kettenis@gnu.org>
3385
3386 * i386gnu-nat.c: Include "i386-tdep.h".
3387 (fetch_fpregs): Simplify code dealing with uninitialized floating
3388 point states such that it doesn't require FP7_REGNUM.
3389
140f9984
JT
33902002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3391
abf22e64
AJ
3392 * alpha-tdep.c (frame_extra_info): New.
3393 (alpha_find_saved_regs): Make static. Use
140f9984
JT
3394 frame->extra_info.
3395 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
3396 (alpha_frame_saved_pc): Use frame->extra_info.
3397 (temp_saved_regs): Don't declare as struct frame_saved_regs.
3398 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
3399 (init_extra_frame_info): Rename to...
3400 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 3401 (alpha_print_extra_frame_info): New function.
140f9984
JT
3402 (alpha_frame_locals_address): Ditto.
3403 (alpha_frame_args_address): Ditto.
abf22e64 3404 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
3405 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
3406 alpha_frame_args_address.
abf22e64 3407 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 3408 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
3409 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
3410 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
3411 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
3412 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
3413
d734c450
JT
34142002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3415
3416 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
3417 (alpha_cannot_fetch_register): Ditto.
3418 (alpha_cannot_store_register): Ditto.
3419 (alpha_register_convertible): Ditto.
3420 (alpha_use_struct_convention): Ditto.
3421 * config/alpha/tm-alpha.h: Update copyright years.
3422 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
3423 (INNER_THAN): Use core_addr_lessthan.
3424 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
3425 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
3426 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
3427 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
3428 (FRAME_CHAIN): Remove unnecessary cast.
3429
b4ceaee6
AC
34302002-01-18 Andrew Cagney <ac131313@redhat.com>
3431
3432 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
3433 obsolete.
3434
0a65a603
AC
34352002-01-18 Andrew Cagney <ac131313@redhat.com>
3436
3437 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
3438 * monitor.c, remote-array.c, remote-bug.c: Ditto.
3439 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
3440 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
3441 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
3442 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
3443 * x86-64-linux-nat.c: Ditto.
3444
636a6dfc
JT
34452002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3446
abf22e64 3447 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
3448 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
3449 (REGISTER_NAME): Define.
3450
acceddb6
JT
34512002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3452
3453 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
3454
ec32e4be
JT
34552002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3456
3457 * alpha-tdep.c: Update copyright years.
3458 (alpha_next_pc): New function.
3459 (alpha_software_single_step): Ditto.
3460 * config/alpha/tm-alpha.h: Add prototype for
3461 alpha_software_single_step.
3462
e771a871
JT
34632002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
3464
3465 * alphabsd-nat.c: Update copyright years.
3466 (fill_gregset): Use regcache_collect.
3467 (fill_fpregset): Likewise.
3468 (fetch_inferior_registers): Only fetch integer registers
3469 if requested to do so.
3470 (store_inferior_registers): Only store integer registers
3471 if requested to do so.
3472
7708fa01
AC
34732002-01-17 Andrew Cagney <ac131313@redhat.com>
3474
3475 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
3476 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
3477 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
3478 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
3479 * config/alpha/fbsd.mh (XDEPFILES): Delete.
3480 * config/arm/linux.mh (XDEPFILES): Delete.
3481 * config/arm/nbsd.mh (XDEPFILES): Delete.
3482 * config/i386/i386dgux.mh (XDEPFILES): Delete.
3483 * config/i386/i386sol2.mh (XDEPFILES): Delete.
3484 * config/i386/i386m3.mh (XDEPFILES): Delete.
3485 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
3486 * config/i386/i386gnu.mh (XDEPFILES): Delete.
3487 * config/i386/fbsd.mh (XDEPFILES): Delete.
3488 * config/i386/i386bsd.mh (XDEPFILES): Delete.
3489 * config/i386/i386sco5.mh (XDEPFILES): Delete.
3490 * config/i386/i386v4.mh (XDEPFILES): Delete.
3491 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
3492 * config/i386/i386sco4.mh (XDEPFILES): Delete.
3493 * config/i386/i386aix.mh (XDEPFILES): Delete.
3494 * config/i386/go32.mh (XDEPFILES): Delete.
3495 * config/i386/cygwin.mh (XDEPFILES): Delete.
3496 * config/i386/i386lynx.mh (XDEPFILES): Delete.
3497 * config/i386/i386mach.mh (XDEPFILES): Delete.
3498 * config/i386/i386v32.mh (XDEPFILES): Delete.
3499 * config/i386/linux.mh (XDEPFILES): Delete.
3500 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
3501 * config/i386/ncr3000.mh (XDEPFILES): Delete.
3502 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
3503 * config/i386/i386sco.mh (XDEPFILES): Delete.
3504 * config/i386/i386v.mh (XDEPFILES): Delete.
3505 * config/i386/nbsd.mh (XDEPFILES): Delete.
3506 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
3507 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
3508 * config/i386/symmetry.mh (XDEPFILES): Delete.
3509 * config/i386/obsd.mh (XDEPFILES): Delete.
3510 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
3511 * config/ia64/linux.mh (XDEPFILES): Delete.
3512 * config/ia64/aix.mh (XDEPFILES): Delete.
3513 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
3514 * config/m68k/dpx2.mh (XDEPFILES): Delete.
3515 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
3516 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
3517 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
3518 * config/m68k/linux.mh (XDEPFILES): Delete.
3519 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
3520 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
3521 * config/m68k/nbsd.mh (XDEPFILES): Delete.
3522 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
3523 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
3524 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
3525 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
3526 * config/m88k/delta88.mh (XDEPFILES): Delete.
3527 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
3528 * config/m88k/m88k.mh (XDEPFILES): Delete.
3529 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
3530 * config/mips/linux.mh (XDEPFILES): Delete.
3531 * config/mips/irix6.mh (XDEPFILES): Delete.
3532 * config/mips/irix5.mh (XDEPFILES): Delete.
3533 * config/mips/irix4.mh (XDEPFILES): Delete.
3534 * config/mips/irix3.mh (XDEPFILES): Delete.
3535 * config/mips/decstation.mh (XDEPFILES): Delete.
3536 * config/mips/mipsm3.mh (XDEPFILES): Delete.
3537 (NATDEPFILES): Move core-aout.o to here.
3538 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
3539 * config/pa/hpux1020.mh (XDEPFILES): Delete.
3540 * config/pa/hppabsd.mh (XDEPFILES): Delete.
3541 * config/pa/hppahpux.mh (XDEPFILES): Delete.
3542 * config/pa/hpux11w.mh (XDEPFILES): Delete.
3543 * config/pa/hppaosf.mh (XDEPFILES): Delete.
3544 * config/pa/hpux11.mh (XDEPFILES): Delete.
3545 * config/powerpc/aix.mh (XDEPFILES): Delete.
3546 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
3547 * config/powerpc/linux.mh (XDEPFILES): Delete.
3548 * config/romp/rtbsd.mh: Rename XDEPFILES.
3549 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
3550 * config/rs6000/aix4.mh (XDEPFILES): Delete.
3551 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
3552 * config/s390/s390.mh (XDEPFILES): Delete.
3553 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
3554 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
3555 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
3556 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
3557 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
3558 * config/sparc/nbsd.mh (XDEPFILES): Delete.
3559 * config/sparc/linux.mh (XDEPFILES): Delete.
3560 * config/vax/vaxult.mh (XDEPFILES): Delete.
3561 * config/vax/vaxult2.mh (XDEPFILES): Delete.
3562 * Makefile.in (DEPFILES): Remove XDEPFILES.
3563
375fc983
AC
35642002-01-17 Andrew Cagney <ac131313@redhat.com>
3565
3566 * utils.c (internal_verror): Fix comments, default is yes not no.
3567 Update queries to match. Default to quit and dump core.
3568
8926118c
AC
35692002-01-17 Andrew Cagney <ac131313@redhat.com>
3570
3571 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
3572 copyright.
3573 * defs.h, event-top.c, gdbcmd.h: Ditto.
3574 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
3575 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
3576 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
3577 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
3578 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
3579 * mi/mi-main.c:Ditto.
3580
3581 * stack.c, symfile.c: Update copyright.
3582
45b7b345
DJ
35832002-01-17 Daniel Jacobowitz <drow@mvista.com>
3584
db728ff7
DJ
3585 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
3586 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
3587 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
3588 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 3589
db728ff7
DJ
35902002-01-17 Daniel Jacobowitz <drow@mvista.com>
3591
3592 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
3593 * gdbserver/low-lynx.c (myattach): Likewise.
3594 * gdbserver/low-nbsd.c (myattach): Likewise.
3595 * gdbserver/low-sim.c (myattach): Likewise.
3596 * gdbserver/low-sparc.c (myattach): Likewise.
3597 * gdbserver/low-sun3.c (myattach): Likewise.
3598
3599 * gdbserver/low-linux.c (myattach): New function.
45b7b345 3600
db728ff7 3601 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
3602 (main): Handle "--attach".
3603
8de3c354
AC
36042002-01-16 Andrew Cagney <ac131313@redhat.com>
3605
3606 * MAINTAINERS (language support): Daniel Jacobwitz is C++
3607 maintainer.
3608
b0129042
DJ
36092002-01-15 Daniel Jacobowitz <drow@mvista.com>
3610
3611 * c-typeprint.c (is_type_conversion_operator): Add additional
3612 check for non-conversion operators.
3613
ba8679fb 36142002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
3615
3616 * linux-proc.c: Add "info proc" command, a la procfs.c.
3617 (read_mapping): New function, abstract and re-use code.
3618 (linux_find_memory_regions): Use new func read_mapping.
3619 (linux_info_proc_cmd): New function, implement "info proc".
3620 (_initialize_linux_proc): Add new command "info proc".
3621
e4f9b4d5
MS
36222002-01-15 Michael Snyder <msnyder@redhat.com>
3623
3624 * symfile.c (generic_load): Use bfd_map_over_sections method
3625 instead of manipulating bfd structure members directly.
3626 (add_section_size_callback): New function, bfd sections callback
3627 used by generic_load.
3628 (load_sections_callback): New function, bfd sections callback
3629 used by generic_load.
3630
08cf96df
EZ
36312002-01-15 Elena Zannoni <ezannoni@redhat.com>
3632
abf22e64 3633 [Based on work by Jim Blandy]
08cf96df
EZ
3634 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
3635 (builtin_type_vec128): Export.
3636 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
3637 types.
3638 (builtin_type_vec128): New builtin type for 128 bit vector
3639 registers.
3640 (build_gdbtypes): Initialize builtin_type_v16qi and
3641 builtin_type_v8hi. Create the vec128 register builtin type
3642 structure.
3643 (build_builtin_type_vec128): New function.
abf22e64 3644 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
3645 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
3646 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
3647 AltiVec register to new builtin type.
3648
d7242108
DJ
36492001-01-15 Daniel Jacobowitz <drow@mvista.com>
3650
3651 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
3652 to make_cv_type.
3653
4ee3352d
AC
36542002-01-14 Andrew Cagney <ac131313@redhat.com>
3655
3656 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
3657 CLEAN_UP_REGISTER_VALUE.
3658 * regcache.c (supply_register): Update only call.
3659
f015b2e7
AC
36602002-01-14 Andrew Cagney <ac131313@redhat.com>
3661
3662 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
3663 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
3664 a29k-*-vxworks* targets as obsolete.
3665
356ae49d
MS
36662002-01-14 Michael Snyder <msnyder@redhat.com>
3667
3668 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
3669 until we can resolve portability issues.
3670 * gregset.h: Remove references to fpxregs.
3671 * gcore.c (gcore_command): Initialize note_sec to NULL.
3672
ade8f45e
AC
36732002-01-13 Andrew Cagney <ac131313@redhat.com>
3674
3675 * signals.c (target_signal_to_name): Rewrite. Only use
3676 signals[].name when in bounds and non-NULL.
abf22e64 3677
89c49e7a
AC
36782002-01-13 Andrew Cagney <ac131313@redhat.com>
3679
3680 From Petr Ledvina <ledvinap@kae.zcu.cz>:
3681 * signals.c (target_signal_to_name): Verify that SIG is within the
3682 bounds of the signals array.
3683
4daa9f9f
AC
36842002-01-13 Andrew Cagney <ac131313@redhat.com>
3685
3686 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
3687
ba4bbdcb
KS
36882002-01-13 Keith Seitz <keiths@redhat.com>
3689
3690 * stack.c (print_frame_info_base): Print the frame's pc
3691 only if when print_frame_info_listing_hook is not defined.
3692
575bbeb6
KS
36932002-01-13 Keith Seitz <keiths@redhat.com>
3694
3695 * varobj.c (varobj_set_value): Make sure that there were no
3696 errors evaluating the object before attempting to set its
3697 value.
3698 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
3699 so this offset adjustment is no longer necessary.
3700 (create_child): Don't set the error flag if the child is
3701 a CPLUS_FAKE_CHILD.
3702 (value_of_child): If value_fetch_lazy fails, return NULL
3703 so that callers will be notified that an error occurred.
3704 (c_value_of_variable): Delay check of variable's validity
3705 until later. We actually want all structs and unions to have
3706 the value "{...}".
3707 Do not return "???" for variables which could not be evaluated.
3708 This error condition must be returned to the caller so that it
3709 can get the error condition from gdb.
3710 (cplus_name_of_child): Adjust index for vptr before figuring
3711 out the name of the child.
3712 (cplus_value_of_child): If a child's (real) parent is not valid,
3713 don't even bother trying to give a value for it. Just return
3714 an error. Change all instances in this function.
3715 (cplus_type_of_child): If our parent is one of the "fake"
3716 parents, we need to get at the type of the real parent, and
3717 derive the child's true type using this information.
3718
b76898ab
AC
37192002-01-13 Andrew Cagney <ac131313@redhat.com>
3720
3721 From 2002-01-09 John Marshall <johnm@falch.net>:
3722 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
3723 sources.redhat.com, and tweak some related URLs which had
3724 suffered from linkrot.
3725
b6649e88
AC
37262002-01-13 Andrew Cagney <ac131313@redhat.com>
3727
3728 From Jeff law:
3729 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
3730 structures passed in registers.
3731
82cc5033
EZ
37322002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
3733
3734 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
3735 white space which prevented compilation. Reported by DSK
3736 <dsk@student.unsw.edu.au>.
3737
ba5f2f8a
MS
37382002-01-11 Michael Snyder <msnyder@redhat.com>
3739
fbd35540
MS
3740 * symfile.c (build_section_addr_info_from_section_tab):
3741 Use bfd access method instead of manipulating bfd directly.
3742 (syms_from_objfile): Ditto.
3743 (simple_overlay_update_1): Ditto.
3744 (simple_overlay_update): Ditto.
3745 (generic_load): Ditto.
3746 (overlay_unmapped_address): FIXME comment, bfd access methods.
3747 (sections_overlap): FIXME comment, bfd access methods.
3748 (pc_in_mapped_range): FIXME comment, bfd access methods.
3749 (pc_in_unmapped_range): FIXME comment, bfd access methods.
3750 (section_is_mapped): FIXME comment, bfd access methods.
3751 (section_is_overlay): FIXME comment, bfd access methods.
3752
ba5f2f8a
MS
3753 * symfile.c (generic_load): Whitespace and long line cleanups.
3754 Remove duplicate variable, change several local variables to
3755 more appropriate data types.
3756 (print_transfer_performance): Use %lu instead of %ld for ulongs.
3757
17df2af6
AC
37582002-01-12 Andrew Cagney <ac131313@redhat.com>
3759
3760 From Peter Schauer:
3761 * language.c (longest_local_hex_string_custom): Use phex_nz to
3762 convert NUM to a hex string.
3763
ec920329
EZ
37642002-01-12 Elena Zannoni <ezannoni@redhat.com>
3765
3766 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
3767 the function.
538a76d6 3768 Update Copyright year.
ec920329 3769
3abd2e01
AC
37702002-01-12 Andrew Cagney <ac131313@redhat.com>
3771
3772 * language.c (longest_raw_hex_string): Delete unused function.
3773
b21b22e0
PS
37742002-01-11 Petr Sorfa <petrs@caldera.com>
3775
3776 * MAINTAINERS (write-after-approval): Add myself.
3777 * dwarf2read.c (read_tag_string_type): Handling of
3778 DW_AT_byte_size.
3779 (read_tag_string_type): FORTRAN fix to prevent propagation of
3780 first string size.
3781 (set_cu_language): Handling of DW_LANG_Fortran95
3782
747fe712
RE
37832002-01-11 Richard Earnshaw <rearnsha@arm.com>
3784
3785 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
3786 GETPID(inferior_ptid).
3787 (store_inferior_registers): Likewise.
3788
f1bea926
JM
37892002-01-10 Jason Merrill <jason@redhat.com>
3790
3791 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
3792 Fix DW_OP_minus.
3793
ae940673
AC
37942002-01-10 Andrew Cagney <ac131313@redhat.com>
3795
3796 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
3797 and bfd/elf32-sh-nbsd.c.
3798
00546b04
MS
37992002-01-10 Michael Snyder <msnyder@redhat.com>
3800
352ed7b4
MS
3801 * NEWS: Mention --pid and corefile/proc-id behavior change.
3802
c18be923
MS
3803 * Makefile.in: Add rules for gcore.o and linux-proc.o.
3804 * gcore.c: Include cli/cli-decode.h instead of command.h.
3805
00546b04
MS
3806 * main.c (captured_main): Add new command line option "--pid".
3807 If the second command line argument (following the symbol-file)
3808 begins with a digit, try to attach to it before trying to open
3809 it as a corefile.
3810 (print_gdb_help): Document the "--pid" argument.
3811
db60ec62
EZ
38122002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
3813
3814 * completer.c (command_completer): New function.
3815
3816 * completer.h <command_completer>: Add prototype.
3817
3818 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
3819 completer for the "help" command.
3820
39c22d1a
JM
38212002-01-09 Jason Merrill <jason@redhat.com>
3822
3823 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
3824
c564377f
MS
38252002-01-09 Michael Snyder <msnyder@redhat.com>
3826
975aec09
MS
3827 * i386-linux-nat.c (fill_fpxregset): Make global.
3828 (store_fpxregset): Ditto.
3829
db4a10fa
MS
3830 * gregset.h (gdb_fpxregset_t): Define.
3831 (supply_fpxregset): Prototype.
3832 (fill_fpxregset): Prototype.
3833
c564377f
MS
3834 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
3835
c3d45d70
RE
38362002-01-09 Richard Earnshaw <rearnsha@arm.com>
3837
3838 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
3839 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
3840 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
3841
fcc87af1
AC
38422002-01-09 Andrew Cagney <ac131313@redhat.com>
3843
3844 * MAINTAINERS: Update target maintainer rules so that any
3845 Maintainer can approve a tested patch for a maintenance-only
3846 target.
3847
dd96c05b
RE
38482002-01-09 Richard Earnshaw <rearnsha@arm.com>
3849
d4297db9 3850 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 3851
d4297db9 3852 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
3853 IN_SIGTRAMP.
3854
145fdc6e
MS
38552002-01-08 Michael Snyder <msnyder@redhat.com>
3856
3857 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
3858 real name of the executable, rather than the /proc name.
3859
be4d1333
MS
38602002-01-03 Michael Snyder <msnyder@redhat.com>
3861
3862 Implement a "generate-core-file" command in gdb, save target state.
3863 * gcore.c: New file. Implement new command 'generate-core-file'.
3864 Save a corefile image of the current state of the inferior.
3865 * linux-proc.c: Add linux-specific code for saving corefiles.
3866 * target.h (struct target_ops): Add new target vectors for saving
3867 corefiles; to_find_memory_regions and to_make_corefile_notes.
3868 (target_find_memory_regions): New macro.
3869 (target_make_corefile_notes): New macro.
3870 * target.c (update_current_target): Inherit new target methods.
3871 (dummy_find_memory_regions): New place-holder method.
3872 (dummy_make_corefile_notes): New place-holder method.
3873 (init_dummy_target): Initialize new dummy target vectors.
3874 * exec.c (exec_set_find_memory_regions): New function.
3875 Allow the exec_ops vector for memory regions to be taken over.
3876 (exec_make_note_section): New function, target vector method.
3877 * defs.h (exec_set_find_memory_regions): Export prototype.
3878 * procfs.c (proc_find_memory_regions): New function, corefile method.
3879 (procfs_make_note_section): New function, corefile method.
3880 (init_procfs_ops): Set new target vector pointers.
3881 (find_memory_regions_callback): New function.
3882 (procfs_do_thread_registers): New function.
3883 (procfs_corefile_thread_callback): New function.
3884 * sol-thread.c (sol_find_memory_regions): New function.
3885 (sol_make_note_section): New function.
3886 (init_sol_thread_ops): Initialize new target vectors.
3887 * inftarg.c (inftarg_set_find_memory_regions): New function.
3888 Allow to_find_memory_regions vector to be taken over.
3889 (inftarg_set_make_corefile_notes): New function.
3890 Allow to_make_corefile_notes vector to be taken over.
3891 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
3892 interface layer if not target_has_execution (may be a corefile).
3893 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
3894 * config/sparc/sun4sol2.mh: Ditto.
3895 * config/alpha/alpha-linux.mh: Ditto.
3896 * config/arm/linux.mh: Ditto.
3897 * config/i386/x86-64linux.mh: Ditto.
3898 * config/ia64/linux.mh: Ditto.
3899 * config/m68k/linux.mh: Ditto.
3900 * config/mips/linux.mh: Ditto.
3901 * config/powerpc/linux.mh: Ditto.
3902 * config/sparc/linux.mh: Ditto.
3903
c6b92abd
MS
39042002-01-07 Michael Snyder <msnyder@redhat.com>
3905
3906 * arm-linux-nat.c: Remove references to regcache.c internal data
3907 (registers[] and register_valid[]).
3908
4b09dc8c
MS
39092002-01-07 Michael Snyder <msnyder@redhat.com>
3910
abf22e64
AJ
3911 * linux-proc.c: New file. Implement child_pid_to_exec_file,
3912 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
3913 symbol file and shlibs.
3914 * Makefile.in: Add rule for linux-proc.o.
3915 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
3916 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
3917 * config/arm/linux.mh: Ditto.
3918 * config/i386/linux.mh: Ditto.
3919 * config/i386/x86-64linux.mh: Ditto.
3920 * config/ia64/linux.mh: Ditto.
3921 * config/m68k/linux.mh: Ditto.
3922 * config/mips/linux.mh: Ditto.
3923 * config/powerpc/linux.mh: Ditto.
3924 * config/sparc/linux.mh: Ditto.
3925
c25b74ac
PM
39262002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
3927
3928 * win32-nat.c: Add i386-tdep.h dependency.
3929
94cd915f
MS
39302002-01-07 Michael Snyder <msnyder@redhat.com>
3931
c7cccb76
MS
3932 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
3933 instead of bfd_get_arch_size. Don't bail out just because
3934 there's no exec_bfd.
abf22e64 3935
34c0bd93
MS
3936 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
3937 * p-valprint.c (pascal_object_print_value): Ditto.
3938 * somread.c (som_symtab_read): Ditto.
3939 * symfile.c (simple_free_overlay_region_table): Ditto.
3940 * valops.c (value_assign): Ditto.
3941
21c1c920
MS
3942 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
3943 use tilde_expand and strerror for opening save-tracepoints file.
3944
5bbd998e
MS
3945 * thread-db.c (thread_db_new_objfile): Indendation fix.
3946
94cd915f
MS
3947 * infptrace.c (GDB_MAX_ALLOCA): New define.
3948 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 3949 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
3950 can be overridden with whatever value is appropriate to the host).
3951 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
3952 alloca to allocate potentially large buffer.
3953 * rs6000-nat.c (child_xfer_memory): Ditto.
3954 * symm-nat.c (child_xfer_memory): Ditto.
3955 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
3956
494e8a93
JSC
39572002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
3958
3959 From Nick Clifton <nickc@redhat.com>
3960 * d10v-tdep.c: Set STACK_START to 0x200bffe.
3961
d0e1d48e
MS
39622002-01-07 Michael Snyder <msnyder@redhat.com>
3963
abf22e64 3964 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
3965 Don't use exec_bfd if it's NULL.
3966
290b2c7a
MK
39672002-01-06 Mark Kettenis <kettenis@gnu.org>
3968
abf22e64 3969 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 3970
aef21287
AC
39712002-01-06 Andrew Cagney <ac131313@redhat.com>
3972
3973 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
3974 * gnu-nat.c: Ditto.
3975
30efa627
AC
39762002-01-06 Andrew Cagney <ac131313@redhat.com>
3977
3978 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
3979 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
3980 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
3981 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
3982 z8k-coff have not been multi-arched. Update z8k-coff build
3983 status.
3984
9b4ff276
AC
39852002-01-06 Andrew Cagney <ac131313@redhat.com>
3986
3987 * MAINTAINERS: Mark a29k target as obsolete.
3988 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
3989 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
3990 comments.
3991 * NEWS: Note that a29k targets are obsolete.
3992 * a29k-tdep.c: Mark as obsolete.
3993 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
3994 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
3995 a29k-*-vxworks* targets as obsolete.
3996 * remote-adapt.c: Obsolete.
3997 * remote-eb.c: Obsolete.
3998 * remote-mm.c: Obsolete.
3999 * remote-udi.c: Obsolete.
4000 * config/a29k/a29k-udi.mt: Obsolete.
4001 * config/a29k/a29k.mt: Obsolete.
4002 * config/a29k/tm-a29k.h: Obsolete.
4003 * config/a29k/tm-vx29k.h: Obsolete.
4004 * config/a29k/vx29k.mt: Obsolete.
4005
a9011d31
AC
40062002-01-05 Andrew Cagney <ac131313@redhat.com>
4007
4008 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
4009 with BFD_ENDIAN_BIG.
4010
9299404e
AC
40112002-01-05 Andrew Cagney <ac131313@redhat.com>
4012
4013 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
4014 * configure, config.in: Re-generate.
4015 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
4016 * defs.h: Do not include <endian.h>.
4017
7e89e357
JT
40182002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
4019
4020 * acconfig.h (HAVE_PT_GETXMMREGS): New.
4021 * config.in: Regenerate.
4022 * configure.in: Update copyright years.
4023 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
4024 * configure: Regenerate.
4025 * i386bsd-nat.c: Update copyright years.
4026 (fill_gregset): Use regcache_collect.
4027 (fetch_inferior_registers): Only fetch integer registers
4028 if requested to do so. Add support for XMM registers
4029 using PT_GETXMMREGS.
4030 (store_inferior_registers): Only store integer registers
4031 if requested to do so. Add support for XMM registers
4032 using PT_SETXMMREGS.
4033 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
4034 (store_inferior_registers): Remove.
4035 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
4036 (fetch_elfcore_registers): New function.
4037 (i386nbsd_elfcore_fns): New.
4038 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
4039 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
4040 i386bsd-nat.o.
4041 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
4042 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
4043 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
4044 * config/i386/tm-nbsd.h: Update copyright years.
4045 (HAVE_SSE_REGS): Define.
4046 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
4047 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
4048 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
4049 (SIGCONTEXT_PC_OFFSET): Remove.
4050 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
4051
a752853e
AC
40522002-01-05 Andrew Cagney <ac131313@redhat.com>
4053
4054 * configure.tgt: Remove powerpc-*-macos* target.
4055 * config/m68k/xm-mpw.h: Delete file.
4056 * config/xm-mpw.h: Delete file.
4057 * ser-mac.c: Delete file.
4058 * mpw-make.sed: Delete file.
4059 * mpw-config.in: Delete file.
4060 * mac-xdep.c: Delete file.
4061 * mac-gdb.r: Delete file.
4062 * mac-defs.h: Delete file.
4063 * mac-nat.c: Delete file.
4064 * config/powerpc/macos.mh: Delete file.
4065 * config/powerpc/macos.mt: Delete file.
4066 * config/powerpc/nm-macos.h: Delete file.
4067 * config/powerpc/tm-macos.h: Delete file.
4068 * source.c (openp, open_source_file): Remove obsolete code.
4069 * top.c (gdb_readline): Ditto.
4070 * utils.c (query): Ditto.
4071 * event-top.c (display_gdb_prompt): Ditto.
4072 * Makefile.in (ser-mac.o): Delete obsolete target.
4073 * NEWS: Update.
4074
d7449b42
AC
40752002-01-04 Andrew Cagney <ac131313@redhat.com>
4076
4077 * defs.h (BIG_ENDIAN): Delete macro definition.
4078 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
4079 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
4080 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
4081 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
4082 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
4083 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
4084 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
4085 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
4086 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
4087 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
4088 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
4089 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
4090 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
4091 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
4092 * gdbarch.c: Re-generate.
4093
356374e8
DJ
40942002-01-04 Daniel Jacobowitz <drow@mvista.com>
4095
4096 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
4097 for core files.
4098
a2b8f8f8
JT
40992002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
4100
4101 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
4102
12466af9
AC
41032002-01-04 Andrew Cagney <ac131313@redhat.com>
4104
4105 * value.h (value_ptr): Delete typedef.
4106
3549ab40
JT
41072002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
4108
4109 * i386nbsd-nat.c: Update copyright years.
4110 Include i386-tdep.h.
4111
fedbd091
EZ
41122002-01-04 Elena Zannoni <ezannoni@redhat.com>
4113
4114 * stabsread.c: Update copyright years.
4115
4116 From Debashis Mahata <debashis.mahata@wipro.com>:
4117 (read_struct_fields): Deal with Sun C compiler erroneous stab
4118 output for structs and unions.
fec8b34f 4119 Fix PR gdb/269.
fedbd091 4120
eb43544b
DJ
41212002-01-04 Daniel Jacobowitz <drow@mvista.com>
4122
4123 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
4124 prototype.
4125
1514d34e
DJ
41262002-01-04 Daniel Jacobowitz <drow@mvista.com>
4127
4128 * cp-abi.c: Fix whitespace.
4129 (baseclass_offset): New wrapper function.
4130 * cp-abi.h (baseclass_offset): Add prototype.
4131 (struct cp_abi_ops): Add baseclass_offset pointer.
4132
4133 * valops.c (vb_match): Move to...
4134 * gnu-v2-abi.c (vb_match): here.
4135 * valops.c (baseclass_offset): Move to...
4136 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
4137
4138 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
4139
4140 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
4141 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
4142 * hpacc-abi.c (init_hpacc_ops): Likewise.
4143
7f8c9282
DJ
41442002-01-04 Daniel Jacobowitz <drow@mvista.com>
4145
4146 * valops.c (find_overload_match): Accept obj as a
4147 reference parameter. Update it before returning.
4148 * value.h (find_overload_match): Update prototype.
4149 * eval.c (evaluate_subexp_standard): Pass object to
4150 find_overload_match by reference.
4151
f23631e4
AC
41522002-01-03 Andrew Cagney <ac131313@redhat.com>
4153
4154 * valarith.c: Replace value_ptr with struct value pointer. Remove
4155 register attribute from value declarations.
4156 * valops.c: Ditto.
4157 * value.h: Ditto.
4158 * scm-lang.c (scm_lookup_name): Ditto.
4159
79e10fab 41602002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 4161
79e10fab
AC
4162 Abstract the functionality of iterating over mapped memory
4163 regions into a general purpose iterator function.
abf22e64 4164 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
4165 iterator for memory sections.
4166 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
4167 (solib_mappings_callback): New function, callback for above.
4168 (info_proc_mappings): Reimpliment using iterate_over_mappings.
4169 (info_mappings_callback): New function, callback for above.
4170
4171 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
4172
c5ad026a
MK
41732002-01-01 Mark Kettenis <kettenis@gnu.org>
4174
d2a7c97a
MK
4175 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
4176 * i386-tdep.c: Include "elf-bfd.h".
4177 (process_note_abi_tag_sections): New function.
4178 (i386_gdbarch_init): Add code to recognize various OS/ABI
4179 combinations.
4180
c5ad026a
MK
4181 * maint.c (_initialize_maint_cmds): Add missing \ in
4182 string-literal.
4183
a1a5b71e 4184For older changes see ChangeLog-2001
c906108c
SS
4185\f
4186Local Variables:
4187mode: change-log
4188left-margin: 8
4189fill-column: 74
4190version-control: never
4191End:
This page took 0.452135 seconds and 4 git commands to generate.