2002-05-11 Eric Christopher <echristo@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
361d1df0
EC
12002-05-11 Eric Christopher <echristo@redhat.com>
2
3 * mips-tdep.c (mips_double_register_type): Fix thinko.
4 (mips_single_register_type): Ditto.
5 * MAINTAINERS: Add self.
6
92dd7cee
MK
72002-05-11 Mark Kettenis <kettenis@gnu.org>
8
9 * i387-nat.c (i387_supply_register, i387_fill_fsave,
10 i387_supply_fxsave, i387_fill_fxsave): Rewrite in order to do the
11 right thing on architectures with different endianness and/or
12 integer sizes.
13
e27da16d
JT
142002-05-10 Jason Thorpe <thorpej@wasabisystems.com>
15
16 From Christian Limpach <chris@Pin.LU>
17 * configure.in: Change sed expression which comments out
18 NATDEPFILES to also comment out continuation lines.
19 * configure: Regenerate.
20
ddde02bd
EZ
212002-05-10 Elena Zannoni <ezannoni@redhat.com>
22
23 * sh-tdep.c: Clean up code erroneously reintroduced by previous
24 big patch.
25
1c922164
EZ
262002-05-10 Elena Zannoni <ezannoni@redhat.com>
27
28 * sh-tdep.c: Include correct file.
29
283150cd
EZ
302002-05-10 Elena Zannoni <ezannoni@redhat.com>
31
32 New support for sh64-elf (sh5) target.
33
34 * configure.tgt: For sh64-elf target, default to sh-elf.
35
36 * config/sh/tm-sh.h (enum sh-abi): Possible ABI's.
37 (struct gdbarch_tdep): Add new fields for new registers and ABI
38 info.
361d1df0 39
283150cd
EZ
40 * sh-tdep.c: Include elf-bfd.h, elf/sh.h, gdb/sim-sh.h.
41 (NUM_PSEUDO_REGS_SH_MEDIA, NUM_PSEUDO_REGS_SH_COMPACT,
42 MSYMBOL_IS_SPECIAL, IS_ISA32_ADDR, MAKE_ISA32_ADDR,
43 UNMAKE_ISA32_ADDR, IS_PTABSL_R18, IS_STS_R0, IS_STS_PR,
44 IS_MOV_TO_R15, IS_MOV_R14, IS_STQ_R18_R14, IS_STQ_R18_R15,
45 IS_STL_R18_R15, IS_STQ_R14_R15, IS_STL_R14_R15, IS_ADDIL_SP_MEDIA,
46 IS_ADDI_SP_MEDIA, IS_ADDL_SP_FP_MEDIA, IS_ADD_SP_FP_MEDIA,
47 IS_MOV_SP_FP_MEDIA, IS_MOV_R0, IS_MOVL_R0, IS_ADD_SP_R0,
48 IS_MOV_R14_R0, IS_MEDIA_IND_ARG_MOV, IS_MEDIA_ARG_MOV,
49 IS_MEDIA_MOV_TO_R14, IS_COMPACT_IND_ARG_MOV, IS_COMPACT_ARG_MOV,
50 IS_COMPACT_MOV_TO_R14, IS_JSR_R0, IS_NOP): New macros.
51 (sh_sh64_register_name, sh64_elf_make_msymbol_special,
52 pc_is_isa32, sh_sh64_breakpoint_from_pc, look_for_args_moves,
53 sh64_skip_prologue_hard_way, sh64_use_struct_convention,
54 gdb_print_insn_sh64, translate_insn_rn, sh64_frame_chain,
55 sh64_get_saved_pr, fpp_reg_base_num, is_media_pseudo,
56 sh64_get_gdb_regnum, sh64_media_reg_base_num,
57 sh64_compact_reg_base_num, translate_rn_to_arch_reg_num,
58 sign_extend, sh64_nofp_frame_init_saved_regs,
59 sh64_init_extra_frame_info, sh64_get_saved_register,
60 sh64_extract_struct_value_address, sh64_pop_frame,
61 sh64_push_arguments, sh64_extract_return_value,
62 sh64_store_return_value, sh64_show_media_regs,
63 sh64_show_compact_regs, sh64_show_regs, sh_sh64_register_byte,
64 sh_sh64_register_raw_size, sh_sh64_register_virtual_size,
65 sh_sh64_register_virtual_type,
66 sh_sh64_register_convert_to_virtual,
67 sh_sh64_register_convert_to_raw, sh64_pseudo_register_read,
68 sh64_register_read, sh64_pseudo_register_write,
69 sh64_register_write, do_fv_c_register_info, do_dr_c_register_info,
70 do_r_c_register_info, do_fpp_register_info, do_cr_c_register_info,
71 sh64_do_pseudo_register, sh_compact_do_registers_info,
72 sh64_do_registers_info, sh_gdbarch_init): New functions.
73
3117ed25
EZ
742002-05-10 Elena Zannoni <ezannoni@redhat.com>
75
76 * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type.
77
2654e6d4
DJ
782002-05-10 Daniel Jacobowitz <drow@mvista.com>
79
80 * linespec.c (decode_line_1): Check for a double quote after
81 a filename correctly.
82
9ab3e532
JB
832002-05-10 Jim Blandy <jimb@redhat.com>
84
85 Properly track the size of the current objfile's .debug_line section.
86 * dwarf2read.c (struct dwarf2_pinfo): New member: dwarf_line_size.
87 (DWARF_LINE_SIZE): New macro.
88 (dwarf2_build_psymtabs_hard): Record the line section's size in
89 the partial symbol table.
90 (psymtab_to_symtab_1): Restore dwarf_line_size from the partial
91 symbol table.
92
126fa72d
PS
932002-05-10 Petr Sorfa <petrs@caldera.com>
94
95 * ia64-tdep.c: Handle breakpoints on L instruction type
96 in MLX instruction bundle by moving the breakpoint to
97 the third slot (X instruction type) as L holds only data.
98
1f077a3e
KB
992002-05-10 Kevin Buettner <kevinb@redhat.com>
100
101 * dbxread.c (discarding_local_symbols_complaint): New complaint.
102 (process_one_symbol): Complain about discarding local symbols
103 due to a misplaced N_LBRAC entry.
104
8120c9d5 1052002-05-09 Elena Zannoni <ezannoni@redhat.com>
361d1df0
EC
106
107 From Daniel Berlin <dan@cgsoftware.com>
8120c9d5
EZ
108 * linespec.c (find_toplevel_char): '<' and '>' also increase and
109 decrease the depth we are at, in the case of templates.
361d1df0 110
67b2c998
DJ
1112002-05-09 Daniel Jacobowitz <drow@mvista.com>
112
113 * mips-tdep.c (mips_float_register_type): New function.
114 (mips_double_register_type): New function.
115 (mips_print_register): Use them.
116 (do_fp_register_row): Likewise.
117
fd326606
DJ
1182002-05-09 Daniel Jacobowitz <drow@mvista.com>
119
6609d9af 120 * signals/signals.c (signals): Remove conditional compilation around
fd326606 121 Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT.
6609d9af 122 (target_signal_from_name): Loop until TARGET_SIGNAL_LAST.
fd326606 123
bef35864
MS
1242002-05-09 Michael Snyder <msnyder@redhat.com>
125
126 * remote-rdp.c (remote_rdp_can_run): Remove.
127
c55a3f73
TT
1282002-05-09 Tom Tromey <tromey@redhat.com>
129
130 * jv-valprint.c (java_val_print): Handle `char' as a special case
131 of TYPE_CODE_INT.
132
b8d5e71d
MS
1332002-05-09 Michael Snyder <msnyder@redhat.com>
134
135 * arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn],
136 strh r(0123),[r11,#-nn], str r(0123),[r11,#-nn], as well as
361d1df0 137 strb r(0123),[sp,#nn], strh r(0123),[sp,#nn] and
b8d5e71d 138 str r(0123),[sp,#nn].
361d1df0 139 (arm_skip_prologue): Ditto. Also make disassembly
b8d5e71d
MS
140 order-independent by placing it in a loop.
141
e2cd42dd
MS
1422002-05-06 Michael Snyder <msnyder@redhat.com>
143
144 * stabsread.c (read_type): Add recognition for new attribute:
145 "@V;" means that an array type is actually a vector.
146 This is analogous to the vector flag that's been added to dwarf2.
147
3ce1502b
MK
1482002-05-09 Mark Kettenis <kettenis@gnu.org>
149
150 * i386-tdep.h (i386_abi): New enum.
151 (struct gdbarch_tdep): Replace os_ident member with abi.
152 (i386_gdbarch_register_os_abi): New prototype.
153 * i386-tdep.c (i386_abi_names): New array.
154 (process_note_abi_tag_sections): Removed.
155 (process_note_sections): New function.
156 (i386_elf_abi_from_note, i386_elf_abi): New functions.
157 (struct i386_abi_handler): New struct.
158 (i386_abi_handler_list): New variable.
159 (i386_gdbarch_register_os_abi): New function.
160 (i386_gdbarch_init): Adapt for the changes given above.
161
084c156a
DJ
1622002-05-08 Daniel Jacobowitz <drow@mvista.com>
163
164 * gregset.h: Say "GNU/Linux".
165
6599f021
EZ
1662002-05-08 Elena Zannoni <ezannoni@redhat.com>
167
168 * gdbtypes.c : Add new builtin type for 64 bit vectors.
169 (build_gdbtypes): Build builtin_type_v2_float.
170 (_initialize_gdbtypes): Register new builtin type.
171
40af4b0c
AC
1722002-05-08 Andrew Cagney <ac131313@redhat.com>
173
174 * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section.
175 (clear_gdbarch_swap): New function.
176 (initialize_non_multiarch): Call.
177 (gdbarch_update_p): Before calling init(), swap out and clear the
178 existing architecture.
179 * gdbarch.c: Regenerate.
180
4fe84f46
JT
1812002-05-08 Jason Thorpe <thorpej@wasabisystems.com>
182
183 * config/djgpp/fnchange.lst: Add alphanbsd-nat.c and
184 alphanbsd-tdep.c.
185
4015edd1
JT
1862002-05-08 Jason Thorpe <thorpej@wasabisystems.com>
187
188 * sh-nbsd-nat.c: Rename to...
189 * shnbsd-nat.c: ...this.
190 * sh-nbsd-tdep.c: Rename to...
191 * shnbsd-tdep.c: ...this.
192 * sh-nbsd-tdep.h: Rename to...
193 * shnbsd-tdep.h: ...this.
194 * config/sh/nbsd.mh: Use shnbsd-nat.o.
195 * config/sh/nbsd.mt: Use shnbsd-tdep.o.
196
0e2bd219
RE
1972002-05-08 Richard Earnshaw <rearnsha@arm.com>
198
199 * remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string
200 concatenation for command help messages.
201
13a38d45
JT
2022002-05-08 Jason Thorpe <thorpej@wasabisystems.com>
203
204 * NEWS: Note new sh*-*-netbsdelf* configuration.
205 * configure.host: Set gdb_host_cpu to sh for all sh*.
206 (sh*-*-netbsdelf*): New host.
207 * configure.tgt: Set gdb_target_cpu to sh for all sh*.
208 (sh*-*-netbsdelf*): New target.
209 * sh-nbsd-nat.c: New file.
210 * sh-nbsd-tdep.c: New file.
211 * sh-nbsd-tdep.h: New file.
212 * config/sh/nbsd.mh: New file.
213 * config/sh/nbsd.mt: New file.
214 * config/sh/nm-nbsd.h: New file.
215 * config/sh/tm-nbsd.h: New file.
216
d658f924
JT
2172002-05-08 Jason Thorpe <thorpej@wasabisystems.com>
218
219 * sh-tdep.c (sh_osabi_names): Declare.
220 (process_note_abi_tag_sections): New function.
221 (get_elfosabi): Ditto.
222 (sh_gdbarch_register_os_abi): Ditto.
223 (sh_dump_tdep): Ditto.
224 _initialize_sh_tdep): Use gdbarch_register to register
225 sh_gdbarch_init and sh_dump_tdep.
226 * config/sh/tm-sh.h (sh_osabi): Declare.
227 (gdbarch_tdep): Add sh_osabi and osabi_name members.
228
848cfffb
AC
2292002-05-07 Andrew Cagney <ac131313@redhat.com>
230
231 * arm-tdep.c (arm_skip_prologue): Handle generic dummy frames.
232 (thumb_scan_prologue): Ditto.
233 (arm_find_callers_reg): Ditto.
234 (arm_frame_chain): Ditto.
235 (arm_init_extra_frame_info): Ditto.
236 (arm_frame_saved_pc): Ditto.
237 (arm_pop_frame): Ditto.
238 (arm_push_return_address): New function.
239 (arm_gdbarch_init): Initialize use_generic_dummy_frames,
240 call_dummy_location, call_dummy_breakpoint_offset_p,
241 call_dummy_breakpoint_offset, call_dummy_p,
242 call_dummy_stack_adjust_p, call_dummy_words,
243 sizeof_call_dummy_words, call_dummy_start_offset,
244 call_dummy_length, fix_call_dummy, pc_in_call_dummy,
245 call_dummy_address, push_return_address and push_dummy_frame for
246 generic dummy frames.
247
e7d717c0
JT
2482002-05-07 Jason Thorpe <thorpej@wasabisystems.com>
249
250 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error in
251 size computation for alloca.
252 (sh_fp_frame_init_saved_regs): Likewise.
253
7bbcf283
RE
2542002-05-07 Richard Earnshaw <rearnsha@arm.com>
255
256 * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define.
257 (ARM_MAX_REGISTER_VIRTUAL_SIZE): Define.
361d1df0 258 * arm-tdep.c (arm_store_return_value): Use them.
7bbcf283
RE
259 Use FP_REGISTER_RAW_SIZE when setting the FPA return value.
260 * remote-rdp.c (remote_rdp_fetch_register): Use
261 ARM_MAX_REGISTER_RAW_SIZE.
262 (remote_rdp_store_register): Likewise.
263
4657573b
ML
2642002-05-07 Michal Ludvig <mludvig@suse.cz>
265
361d1df0 266 * dwarf2cfi.c: Code cleanup, removed unused variables,
4657573b
ML
267 added default labels to switch {} statements.
268 * x86-64-tdep.c: Ditto.
269 * x86-64-linux-nat.c: Ditto.
270
010f3b2f
JT
2712002-05-07 Jason Thorpe <thorpej@wasabisystems.com>
272
273 * solib.h: Protect against multiple inclusion.
274
debd256d
JB
2752002-05-06 Jim Blandy <jimb@redhat.com>
276
9ab3e532
JB
277 Add first preprocessor macro-expansion files.
278 * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files.
279 * Makefile.in (SFILES): Add macrotab.c, macroexp.c.
280 (splay_tree_h, macroexp_h, macrotab_h): New variable.
281 (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h.
282 (COMMON_OBS): Add macrotab.o, macroexp.o.
283 (macroexp.o, macrotab.o): New rules.
284
debd256d
JB
285 Separate the job of reading the line number info statement program
286 header (...expialidocious) out into its own function.
287 * dwarf2read.c (struct line_head, struct filenames, struct
288 directories): Replace with...
289 (struct line_header): New structure, containing the full
290 contents of the statement program header, including the
291 include directory and file name tables.
292 (read_file_scope): If we have line number info, instead of just
293 calling dwarf_decode_lines to do all the work, call
294 dwarf_decode_line_header first to get a `struct line_header'
295 containing the data in the statement program header, and then
296 pass that to dwarf_decode_lines, which will pick up where that
297 left off. Be sure to clean up the `struct line_header' object.
298 (dwarf_decode_line_header, free_line_header, add_include_dir,
299 add_file_name): New functions.
300 (dwarf_decode_lines): Move all the code to read the statement
301 program header into dwarf_decode_line_header. Take the line
302 header it built as the first argument, instead of the offset to
303 the compilation unit's line number info. Use the new `struct
304 line_header' type instead of the old structures. No need to do
305 cleanups here now, since we don't allocate anything.
306 (dwarf2_statement_list_fits_in_line_number_section,
307 dwarf2_line_header_too_long): New complaints.
308
ac3aafc7
EZ
3092002-05-06 Elena Zannoni <ezannoni@redhat.com>
310
311 * gdbtypes.c (init_vector_type): New function.
312 (build_builtin_type_vec128): Simplify the representation of SIMD
313 registers.
314 (build_gdbtypes): Initialize new builtin vector types.
315 (_initialize_gdbtypes): Register new vector types with gdbarch.
316 (builtin_type_v4_float, builtin_type_v4_int32,
317 builtin_type_v8_int16, builtin_type_v16_int8,
318 builtin_type_v2_int32, builtin_type_v4_int16,
319 builtin_type_v8_int8): New (renamed) SIMD types.
320
13e49980
MK
3212002-05-06 Mark Kettenis <kettenis@gnu.org>
322
323 * i387-nat.c (i387_fill_fsave): Use regcache_collect.
324 (i387_fill_fxsave): Likewise.
325
997b20b8
AO
3262002-05-05 Alexandre Oliva <aoliva@redhat.com>
327
328 * alpha-tdep.c (alpha_extract_return_value): Don't use
329 non-constant array size in prototype.
330
535c96ce
AC
3312002-05-04 Andrew Cagney <ac131313@redhat.com>
332
333 From Brian Taylor <briant at model dot com>:
334 * ui-out.c (ui_out_field_core_addr): Use the function
335 longest_local_hex_string_custom'to format addresses > 32 bits
336 wide.
337
338 * ui-out.c (ui_out_field_core_addr): Update comment.
339
bedfa57b
AC
3402002-05-04 Andrew Cagney <ac131313@redhat.com>
341
342 * stack.c (select_and_print_frame): Make static. Delete the
343 parameter `level'.
344 (func_command): Update call.
345 (select_frame_command): Delete code computing the frame level.
346 * frame.h (select_and_print_frame): Delete declaration.
347
f621c63e
AC
3482002-05-04 Andrew Cagney <ac131313@redhat.com>
349
350 * sparc-tdep.c (sparc_get_saved_register): Comment why
351 get_prev_frame call is safe.
352
0f7d239c
AC
3532002-05-04 Andrew Cagney <ac131313@redhat.com>
354
355 * frame.h (select_frame): Delete level parameter.
356 * stack.c (select_frame): Update. Use frame_relative_level to
357 obtain the frame's level.
358 (select_and_print_frame): Update call.
359 (select_frame_command): Ditto.
360 (up_silently_base): Ditto.
361 (down_silently_base): Ditto.
362 * ocd.c (ocd_start_remote): Ditto.
363 * remote-rdp.c (remote_rdp_open): Ditto.
364 * remote-mips.c (mips_initialize): Ditto.
365 (common_open): Ditto.
366 * remote-e7000.c (e7000_start_remote): Ditto.
367 * m3-nat.c (select_thread): Ditto.
368 * hppa-tdep.c (child_get_current_exception_event): Ditto.
369 (child_get_current_exception_event): Ditto.
370 * varobj.c (varobj_create): Ditto.
371 (varobj_update): Ditto.
372 (c_value_of_root): Ditto.
373 * tracepoint.c (finish_tfind_command): Ditto.
374 * corelow.c (core_open): Ditto.
375 * arch-utils.c (generic_prepare_to_proceed): Ditto.
376 * thread.c (info_threads_command): Ditto.
377 (switch_to_thread): Ditto.
378 * infrun.c (normal_stop): Ditto.
379 (restore_selected_frame): Ditto.
380 (restore_inferior_status): Ditto.
381 * breakpoint.c (insert_breakpoints): Ditto.
382 (watchpoint_check): Ditto.
383 (bpstat_stop_status): Ditto.
384 (do_enable_breakpoint): Ditto.
385 * blockframe.c (flush_cached_frames): Ditto.
386 (reinit_frame_cache): Ditto.
387
71d6c7b1
AC
3882002-05-04 Andrew Cagney <ac131313@redhat.com>
389
390 * MAINTAINERS (Host/Native): Add Jason Thorpe as NetBSD
391 maintainer.
392
cda6c68a
JB
3932002-05-04 Jim Blandy <jimb@redhat.com>
394
395 * gdbtypes.c (replace_type): Doc fix.
396
5c1c87f0
AC
3972002-05-04 Andrew Cagney <ac131313@redhat.com>
398
399 * valprint.c (strcat_longest): Delete commented out function.
400 Update copyright.
401
cd9bfe15
AC
4022002-05-04 Andrew Cagney <ac131313@redhat.com>
403
404 * MAINTAINERS: Mark a29k as deleted.
405 * NEWS: Mention that a29k was removed. Add OBSOLETE section.
406 Move new configurations to the top.
407 * configure.tgt: Remove a29k.
408 * config/a29k/tm-vx29k.h: Delete.
409 * config/a29k/vx29k.mt: Delete.
410 * config/a29k/tm-a29k.h: Delete.
411 * config/a29k/a29k-udi.mt: Delete.
412 * config/a29k/a29k.mt: Delete.
413 * a29k-tdep.c: Delete.
414 * remote-udi.c: Delete.
415 * remote-mm.c: Delete.
416 * remote-eb.c: Delete.
417 * remote-adapt.c: Delete.
418 * Makefile.in: Remove obsolete code.
419 * gdbserver/Makefile.in: Ditto.
420 * config/s390/s390x.mt: Ditto.
421 * config/s390/s390.mt: Ditto.
422 * config/sparc/sparclynx.mh: Ditto.
423 * config/sparc/linux.mh: Ditto.
424 * config/pa/hppaosf.mh: Ditto.
425 * config/pa/hppabsd.mh: Ditto.
426 * config/ns32k/nbsd.mt: Ditto.
427 * config/mips/vr5000.mt: Ditto.
428 * config/m68k/sun3os4.mh: Ditto.
429 * config/m68k/nbsd.mt: Ditto.
430 * config/m68k/m68klynx.mh: Ditto.
431 * config/m32r/m32r.mt: Ditto.
432 * config/i386/x86-64linux.mt: Ditto.
433 * config/i386/nbsdelf.mt: Ditto.
434 * config/i386/nbsd.mt: Ditto.
435 * config/i386/i386lynx.mh: Ditto.
436
bf0c5130
AC
4372002-05-04 Andrew Cagney <ac131313@redhat.com>
438
439 * target.c (debug_print_register): New function. Handle oversize
440 registers.
441 (debug_to_fetch_registers): Call.
442 (debug_to_store_registers): Call.
443
2ae1c2d2
JB
4442002-05-03 Jim Blandy <jimb@redhat.com>
445
13a393b0
JB
446 * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy.
447 (read_type): Doc fix.
448 * gdbtypes.c (replace_type): Doc fix.
449
2ae1c2d2
JB
450 * stabsread.c (multiply_defined_struct): New complaint.
451 (read_struct_type): If the type we were passed isn't empty, or
452 incomplete, don't read the new struct type into it; complain,
453 and return the original type unchanged. Take a new `type_code'
454 argument, which is the type code for the new type.
455 (read_type): Rather than storing the type's type code here, pass
456 it as an argument to read_struct_type, and let that take care of
457 storing it. That way, we don't overwrite the original type code,
458 so read_struct_type can use it to decide whether we're overwriting
459 something we shouldn't.
460 (complain_about_struct_wipeout): New function.
461
8de9bdc4
AC
4622002-05-03 Andrew Cagney <ac131313@redhat.com>
463
464 * gdbarch.sh: Assert that gdbarch is non-NULL.
465 * gdbarch.c: Regenerate.
466
f773fdbb
JM
4672002-05-03 Jason Merrill <jason@redhat.com>
468
469 * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn
470 and return NULL.
471
0e04a514
ML
4722002-05-03 Michal Ludvig <mludvig@suse.cz>
473
474 * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map),
475 (x86_64_dwarf2gdb_regno_map_length),
476 (x86_64_dwarf2_reg_to_regnum): Added.
477 (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum.
478 (x86_64_gdbarch_init): Renamed from i386_gdbarch_init.
479 (_initialize_x86_64_tdep): Synced with the change above.
480 (x86_64_skip_prologue): Reformulated message.
481
065432a8
PM
4822002-05-03 Pierre Muller <muller@ics.u-strasbg.fr>
483
484 * f-exp.y: Also use new prev_lexptr variable
485 to improve error reporting. Based on Michael Snyder
486 2002-04-24 dated patch to c-exp.y.
487 * jv-exp.y: Likewise.
488 * m2-exp.y: Likewise.
489
a3162708
EZ
4902002-05-02 Elena Zannoni <ezannoni@redhat.com>
491
492 * valops.c (value_arg_coerce): Don't coerce arrays to pointers if
493 we are dealing with vectors.
494
03620c38
PM
4952002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
496
497 * config/m68k/tm-nbsd.h: Obvious fix,
498 correct machine name.
499
6604db2e
PM
5002002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
501
502 * p-typeprint.c (pascal_type_print_base): Add support
503 for TYPE_CODE_STRING and TYPE_CODE_BITSTRING.
504
0906b739
PM
5052002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
506
507 * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR
508 for fondamental pascal 'char' type.
509
e2625b33
PM
5102002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
511
512 * p-lang.h (is_pascal_string_type): Declaration changed,
513 new sixth argument of type char ** added.
361d1df0 514 * p-lang.c (is_pascal_string_type): Implementation
e2625b33
PM
515 changed. Args length_pos, length_size, string_pos, char_size
516 can now be NULL. New argument arrayname set to the field
517 name of the char array. Return value set to char array
518 field index plus one.
361d1df0 519 * p-valprint.c (pascal_val_print): Adapt to new declaration of
e2625b33
PM
520 is_pascal_string_type function.
521
cf17c188
AC
5222002-05-02 Andrew Cagney <cagney@redhat.com>
523
524 * gdbarch.sh (gdbarch_update_p): Revert 2002-05-02 Andrew Cagney
525 <cagney@redhat.com> change.
526 * gdbarch.c: Regenerate.
527
52bca491
AC
5282002-05-02 Andrew Cagney <cagney@redhat.com>
529
530 * gdbarch.sh (gdbarch_update_p): Swap out the old architecture
531 before probing for a new one. Detect errorenous gdbarch_init
532 functions.
533 * gdbarch.c: Regenerate.
534
d5e72505
AC
5352002-05-01 Andrew Cagney <cagney@redhat.com>
536
537 * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h".
538 * config/mcore/tm-mcore.h: Ditto. Update copyright.
539 * config/v850/tm-v850.h: Ditto. Update copyright.
540
af566d9f
AC
5412002-04-30 Andrew Cagney <ac131313@redhat.com>
542
543 * cris-tdep.c (cris_gdbarch_init): Use arches instead of
544 current_gdbarch.
545
880d85fa
MS
5462002-04-30 Michael Snyder <msnyder@redhat.com>
547
94c30b78
MS
548 * arm-tdep.c: Whitespace clean-ups.
549 (arm_skip_prologue): Fix thinko; two lines
880d85fa
MS
550 should have been removed as part of 4/24 change.
551
6f5987a6
KB
5522002-04-30 Kevin Buettner <kevinb@redhat.com>
553
554 * rs6000-tdep.c: Added comment describing how fpscr register
555 numbers were chosen.
556
1a113c93
MS
5572002-04-30 Michael Snyder <msnyder@redhat.com>
558
559 * gnu-nat.c (gnu_find_memory_regions): Fix merge botch.
560
9a6f53fe
EZ
5612002-04-29 Elena Zannoni <ezannoni@redhat.com>
562
563 * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR.
564 (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH.
565 (hpread_symfile_init, hpread_lookup_type): Substitute throughout.
566
11ed25ac
KB
5672002-04-29 Kevin Buettner <kevinb@redhat.com>
568
569 From Louis Hamilton <hamilton@redhat.com>:
570 * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include.
571 * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise.
572 * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(),
573 not bfd-private xcoff data, to determine wordsize.
574 * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise.
575
ae232405
AC
5762002-04-29 Andrew Cagney <ac131313@redhat.com>
577
578 GDB 5.2 released from 5.2 branch.
579
91fd20f7
ML
5802002-04-29 Michal Ludvig <mludvig@suse.cz>
581
582 * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning.
583 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
584 (x86_64_register_info_table): Added comments with register numbers.
361d1df0 585
2dc5091b
EZ
5862002-04-29 Elena Zannoni <ezannoni@redhat.com>
587
588 * rs6000-tdep.c (rs6000_extract_return_value,
589 rs6000_store_return_value): Handle returning vectors.
590 (rs6000_gdbarch_init): Use
591 ppc_sysv_abi_broken_use_struct_convention for native sysv cases.
592 * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention):
593 New function.
594 (ppc_sysv_abi_use_struct_convention): Deal with functions returning
595 vectors.
596 (ppc_sysv_abi_push_arguments): Handle vector parameters.
597 * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export.
361d1df0 598
2b9848d8
PM
5992002-04-24 Pierre Muller <ics.u-strasbg.fr>
600
601 * hpread.c (hpread_psymtab_to_symtab_1,
602 hpread_psymtab_to_symtab): Replace fprintf (stderr,...)
603 with fprintf_unfiltered (gdb_stderr,...).
604
f8d17dc5
PM
6052002-04-24 Pierre Muller <ics.u-strasbg.fr>
606
607 * remote-array.c (printf_monitor, write_monitor,
361d1df0 608 array_insert_breakpoint, array_remove_breakpoint ):
f8d17dc5
PM
609 Replace fprintf (stderr,...
610 with fprintf_unfiltered (gdb_stderr,....
611 * remote-es.c: Likewise.
612 * remote-os9k.c: Likewise.
613 * remote-st.c: Likewise.
614
2f2f1ad1
AS
6152002-04-28 Andreas Schwab <schwab@suse.de>
616
617 * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add
618 linux-proc.o and gcore.o.
619
b6779aa2
AC
6202002-04-26 Michal Ludvig <mludvig@suse.cz>
621
622 * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging
623 code without frame pointers.
624
7e57f5f4
AC
6252002-04-26 Andrew Cagney <ac131313@redhat.com>
626
627 * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why
628 ON_STACK is needed.
629
2ceb85d0
BE
6302002-04-26 Ben Elliston <bje@redhat.com>
631
632 * target.c (do_xfer_memory): Correct reference to the new option
633 "trust-readonly-sections".
634
f5f8a009
EZ
6352002-04-26 Elena Zannoni <ezannoni@redhat.com>
636
637 * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define.
638 * gdbtypes.c (recursive_dump_type): Output the vector flag.
639 * dwarf2read.c (dwarf_attr_name): Handle new attribute for
640 vectors.
641 (read_array_type): Record the fact that this array type is really a
642 vector (i.e. are passed in by value).
643
5868c862
JT
6442002-04-26 Jason Thorpe <thorpej@wasabisystems.com>
645
646 * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member.
647 * alpha-tdep.c (alpha_sigcontext_addr): New function.
648 (alpha_find_saved_regs): Use alpha_sigcontext_addr.
649 (alpha_gdbarch_init): Initialize tdep->sigcontext_addr.
650 * alpha-linux-tdep.c: Include frame.h.
651 (alpha_linux_sigcontext_addr): New function.
652 (alpha_linux_init_abi): Set tdep->sigcontext_addr to
653 alpha_linux_sigcontext_addr.
654 * alpha-osf1-tdep.c: Include gdbcore.h.
655 (alpha_osf1_sigcontext_addr): New function.
656 (alpha_osf1_init_abi): Set tdep->sigcontext_addr to
657 alpha_osf1_sigcontext_addr.
658 * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove.
659 * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove.
660
bfb01f37
AC
6612002-04-26 Andrew Cagney <ac131313@redhat.com>
662
361d1df0 663 * stack.c (selected_frame_level):
bfb01f37
AC
664 (select_frame): Do not set selected_frame_level.
665 * frame.h (selected_frame_level): Delete declaration.
666
15813d3f
AC
6672002-04-26 Andrew Cagney <ac131313@redhat.com>
668
669 * rs6000-tdep.c (rs6000_gdbarch_init): Only set
670 convert_from_func_ptr-addr when AIX / PowerOpen.
671
6096c27a
AC
6722002-04-25 Andrew Cagney <ac131313@redhat.com>
673
674 * valops.c (hand_function_call): Call
675 generic_save_call_dummy_addr.
676 * frame.h (generic_save_call_dummy_addr): Declare.
677 * blockframe.c (struct dummy_frame): Add fields call_lo and
678 call_hi.
679 (generic_find_dummy_frame): Check for PC in range call_lo to
680 call_hi instead of entry_point_address.
681 (generic_pc_in_call_dummy): Search the dummy frames for a PC in
682 the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK.
683 (generic_save_call_dummy_addr): New function.
684
f510d44e
DM
6852002-04-24 David S. Miller <davem@redhat.com>
686
687 * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates
688 sparc_skip_prologue.
689 (sparc_skip_prologue): Kill frameless_p arg, and use line number
690 information to find prologue when possible.
691 (sparc_prologue_frameless_p): Call examine_prologue directly.
692 (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call.
693 * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed
694 second argument.
695 (SKIP_PROLOGUE): Likewise.
696
15d72a92
JT
6972002-04-25 Jason Thorpe <thorpej@wasabisystems.com>
698
699 * alpha-tdep.c (alpha_skip_prologue_internal): Remove
700 GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to
701 indicate that the condition it was testing is always true.
702 * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove.
703 * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto.
704 * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto.
705
accc6d1f
JT
7062002-04-25 Jason Thorpe <thorpej@wasabisystems.com>
707
708 * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members.
709 * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize
710 tdep->jb_pc and tdep->jb_elt_size.
711 * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise.
712 * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise.
713 * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise.
714 * alpha-nat.c (get_longjmp_target): Remove.
715 (JB_ELEMENT_SIZE): Ditto.
716 (JB_PC): Ditto.
717 * alpha-tdep.c (alpha_get_longjmp_target): New function.
718 (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the
719 OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target
720 to alpha_get_longjmp_target.
721 (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size.
722 * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove.
723 * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove.
724
1bfdc549
AC
7252002-04-25 Andrew Cagney <ac131313@redhat.com>
726
727 * README: Update to GDB 5.2.
728
1bd316f0
AC
7292002-04-25 Andrew Cagney <ac131313@redhat.com>
730
731 * gdbarch.sh (LC_ALL): Set to `c'.
732
2e5ff58c
TR
7332002-04-25 Theodore A. Roth <troth@verinet.com>
734
735 * avr-tdep.c: Ran through gdb_indent.sh.
736
e33ce519
TR
7372002-04-25 Theodore A. Roth <troth@verinet.com>
738
739 * MAINTAINERS: Add myself as AVR maintainer.
740 * NEWS: Note new target avr.
741
8818c391
TR
7422002-04-25 Theodore A. Roth <troth@verinet.com>
743
744 * Makefile.in: Add support for AVR target.
745 * configure.tgt: Add support for AVR target.
746 * avr-tdep.c: New file
747 * config/avr/avr.mt: New file.
748
79509c2d
TR
7492002-04-25 Theodore A. Roth <troth@verinet.com>
750
751 * MAINTAINERS: Add myself to write-after-approval.
752
dac8068e
PM
7532002-04-24 Pierre Muller <ics.u-strasbg.fr>
754
755 * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,...
756 with fprintf_unfiltered (gdb_stderr,....
757
25bf3106
PM
7582002-04-25 Pierre Muller <muller@ics.u-strasbg.fr>
759
760 Fix PR gdb/508.
761 * symfile.c (add_filename_language): Fix wrong xrealloc size argument.
762
24467a86
PM
7632002-04-25 Pierre Muller <muller@ics.u-strasbg.fr>
764
765 * p-exp.y: Also use new prev_lexptr variable
766 to improve error reporting. Based on Michael Snyder
767 2002-04-24 dated patch to c-exp.y.
768
95b80706
JT
7692002-04-25 Jason Thorpe <thorpej@wasabisystems.com>
770
771 * alpha-tdep.c (alpha_breakpoint_from_pc): New function.
772 (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to
773 alpha_breakpoint_from_pc. Set gdbarch_function_start_offset
774 to 0.
775 * config/alpha/tm-alpha.h: Remove forward decls of struct type
776 and struct value.
777 (FUNCTION_START_OFFSET): Remove.
778 (BREAKPOINT): Ditto.
779
e90cc612
JT
7802002-04-25 Jason Thorpe <thorpej@wasabisystems.com>
781
782 * MAINTAINERS: Reflect that multi-arch is enabled for VAX.
783 * NEWS: Ditto.
784
6c72f9f9
JT
7852002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
786
787 * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function.
788 (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to
789 alpha_linux_pc_in_sigtramp.
790 * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function.
791 (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to
792 alpha_osf1_pc_in_sigtramp.
793 * alpha-tdep.c (alpha_osf_in_sigtramp): Remove.
794 * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function.
795 (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to
796 alphafbsd_pc_in_sigtramp.
797 * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function.
798 (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to
799 alphanbsd_pc_in_sigtramp.
800 * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove.
801 * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove.
802
5e4f3379
JT
8032002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
804
805 * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o.
806
da8ca43d
JT
8072002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
808
809 * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and
810 alphanbsd-tdep.c.
811 (alphanbsd-nat.o): New dependency list.
812 (alphanbsd-tdep.o): Ditto.
813 * NEWS: Note new native NetBSD/alpha configuration.
814 * alphanbsd-nat.c: New file.
815 * alphanbsd-tdep.c: Ditto.
816 * configure.host (alpha*-*-netbsd*): New host.
817 * configure.tgt (alpha*-*-netbsd*): New target.
818 * config/alpha/nbsd.mh: New file.
819 * config/alpha/nbsd.mt: Ditto.
820 * config/alpha/nm-nbsd.h: Ditto.
821 * config/alpha/tm-nbsd.h: Ditto.
822
36a6271d
JT
8232002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
824
825 * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c.
826 (alpha-osf1-tdep.o): New dependency list.
827 * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset
828 and skip_sigtramp_frame members.
829 * alpha-linux-tdep.c: Include gdbcore.h.
830 (alpha_linux_sigtramp_offset): Change return type to LONGEST.
831 (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset.
832 * alpha-osf1-tdep.c: New file.
833 * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to
834 alpha-osf1-dep.c.
835 (alpha_frame_past_sigtramp_frame): New function.
836 (alpha_dynamic_sigtramp_offset): Ditto.
837 (alpha_proc_desc_is_dyn_sigtramp): Ditto.
838 (alpha_set_proc_desc_is_dyn_sigtramp): Ditto.
839 (ALPHA_PROC_SIGTRAMP_MAGIC): Define.
840 (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp.
841 (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp.
842 (find_proc_desc): Use alpha_dynamic_sigtramp_offset.
843 (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame.
844 (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp.
845 (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp.
846 (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset
847 and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code
848 to find_solib_trampoline_target.
849 * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o.
850 * config/alpha/tm-alpha.h: Remove inclusion of regcache.h.
851 (SKIP_TRAMPOLINE_CODE): Remove.
852 (PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
853 (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
854 (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
855 (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
856 * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove.
857 (PROC_SIGTRAMP_MAGIC): Ditto.
858 (PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
859 (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
860 (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
861 (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
862 (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
863
2f4bc57b
JT
8642002-04-24 Jason Thorpe <thorpej@wasabisystems.com>
865
866 * NEWS: Note that Alpha targets are now multi-arch.
867
665132f9
MS
8682002-04-24 Michael Snyder <msnyder@redhat.com>
869
870 * parser-defs.h (prev_lexptr): New external variable.
871 * parse.c (parse_exp_1): Set prev_lexptr to null before
872 calling the language-specific parser.
873 * c-exp.y (yylex): Set prev_lexptr to start of current token.
874 (yyerror): Use prev_lexptr in error reporting.
875
32872fa7
DJ
8762002-04-24 Daniel Jacobowitz <drow@mvista.com>
877
878 * config/i386/tm-linux.h: Define FILL_FPXREGSET.
879 * gregset.h: If FILL_FPXREGSET is defined, provide
880 gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset.
881 * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET
882 is defined, call fill_fpxregset.
883
57e76fac
MS
8842002-04-24 Roland McGrath <roland@frob.com>
885
886 * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here.
887 * i386gnu-nat.c [HAVE_SYS_PROCFS_H]
888 (supply_gregset, supply_fpregset): New functions.
889
890 * gnu-nat.c (gnu_find_memory_regions): New function.
891 (init_gnu_ops): Set `to_find_memory_regions' hook to that.
892 (gnu_xfer_memory): Add a cast.
893
f43845b3
MS
8942002-04-24 Michael Snyder <msnyder@redhat.com>
895
361d1df0 896 * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the
f43845b3
MS
897 loop. Add handling for "str lr, [sp, #-4]!" and for saves
898 of argument regs ("str r(0123), [r11, #-nn"]).
361d1df0 899 (arm_skip_prologue): Better handling for frameless functions.
f43845b3
MS
900 Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]".
901 (arm_skip_prologue): Recognize str r(0123), [r11, #-nn].
902
a0abec03
AC
903Wed Apr 24 14:22:21 2002 Andrew Cagney <cagney@redhat.com>
904
905 * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor
906 NUM_PSEUDO_REGS can be used.
907
d7bd68ca
AC
9082002-04-24 Andrew Cagney <ac131313@redhat.com>
909
910 * arch-utils.h: Update copyright.
911
912 * gdbarch.sh (PC_IN_SIGTRAMP): Add.
913 * gdbarch.h, gdbarch.c: Re-generate.
914
915 * inferior.h (IN_SIGTRAMP): Delete definition.
916 * arch-utils.c (legacy_pc_in_sigtramp): New function.
917 * arch-utils.h (legacy_pc_in_sigtramp): Declare.
918
919 * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP.
920 (mips_dump_tdep): Do not print value of IN_SIGTRAMP.
921 * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP.
922 (find_proc_framesize): Ditto.
923 * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto.
924 (alpha_init_extra_frame_info): Ditto.
925 * infrun.c (handle_inferior_event): Ditto.
926 (handle_inferior_event): Ditto.
927 (check_sigtramp2): Ditto.
928 * blockframe.c (create_new_frame): Ditto.
929 (get_prev_frame): Ditto.
930 * ppc-linux-tdep.c: Update comments.
931 * i386-linux-tdep.c: Update comments.
932 * breakpoint.c (bpstat_what): Update comment.
933
d06f167a
ML
9342002-04-24 Michal Ludvig <mludvig@suse.cz>
935
936 * gdbserver/linux-low.c (regsets_fetch_inferior_registers),
361d1df0 937 (regsets_store_inferior_registers): Removed cast to int from
d06f167a
ML
938 ptrace() calls.
939 * gdbserver/regcache.h: Added declaration of struct inferior_info.
940
4867e41e
DM
9412002-04-24 David S. Miller <davem@redhat.com>
942
21d83aa5
DM
943 * i960-tdep.c (register_in_window_p): New function.
944 (i960_find_saved_register): Use it instead of
945 REGISTER_IN_WINDOW_P.
946 * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete.
947
4867e41e
DM
948 * symtab.h (find_stab_function_addr): Kill extern.
949 * minsyms.c (find_stab_function_addr): Remove from here...
950 * dbxread.c: ... to here, and mark it static.
951
69cdf6a2
DM
9522002-04-20 David S. Miller <davem@redhat.com>
953
954 * sparc-tdep.c (sparc_pop_frame): Only need to allocate
955 SPARC_INTREG_SIZE * 16 bytes for reg_temp.
956
5a595886
DM
9572002-04-21 David S. Miller <davem@redhat.com>
958
959 * remote-vxsparc.c (vx_read_register): Fix typo, we want
960 REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR.
961 (vx_write_register): Likewise.
962
1da1a192
JB
9632002-04-23 J. Brobecker <brobecker@gnat.com>
964
965 * source.c (is_regular_file): New function.
966 (openp): Check wether file to open is a regular file
967 to avoid opening directories.
968
baa6f10b
JT
9692002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
970
971 * findvar.c (extract_signed_integer): Cast printf argument
972 to suppress format warning.
973 (extract_unsigned_integer): Likewise.
974 * infcmd.c (registers_info): Likewise.
975 * top.c (get_prompt_1): Likewise.
976 * valops.c (value_assign): Likewise.
977 * valprint.c (print_decimal): Likewise.
978
b2c4da81
L
9792002-04-22 H.J. Lu (hjl@gnu.org)
980
981 * c-exp.y (typebase): Support
361d1df0 982
b2c4da81
L
983 [long|long long|short] [signed|unsigned] [int|]
984
985 and
986
987 signed [long|long long|short] int
988
f267bd6a
JT
9892002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
990
991 * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h),
992 and vax-tdep.h.
993 * vax-tdep.h: New file.
994 * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h.
995 Make several routines static.
996 (vax_get_saved_register): New function.
997 (vax_gdbarch_init): New function.
998 (_initialize_vax_tdep): Register vax_gdbarch_init.
999 * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL.
1000 Remove macros now under the control of gdbarch.
1001
da3c6d4a
MS
10022002-04-22 Michael Snyder <msnyder@redhat.com>
1003
11d3b27d
MS
1004 * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn".
1005 Some whitespace and coding standards tweaks.
da3c6d4a 1006
a33f7558
JT
10072002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
1008
1009 * vax-tdep.c: Include regcache.h.
1010 (vax_call_dummy_words): New.
1011 (sizeof_vax_call_dummy_words): New.
1012 (vax_fix_call_dummy): New function.
1013 (vax_saved_pc_after_call): Ditto.
1014 * config/vax/tm-vax.h: Don't include regcache.h.
1015 (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call.
1016 (CALL_DUMMY): Remove.
1017 (CALL_DUMMY_WORDS): Define.
1018 (SIZEOF_CALL_DUMMY_WORDS): Define.
1019 (FIX_CALL_DUMMY): Use vax_fix_call_dummy.
1020
47a73475
MS
10212002-04-18 Michael Snyder <msnyder@redhat.com>
1022
1023 * arm-tdep.h: Change regnum defines to enums for ease of debugging.
1024
52efde73
JT
10252002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
1026
1027 * vax-tdep.c (vax_frame_chain): New function.
1028 (vax_push_dummy_frame): Ditto.
1029 (vax_pop_frame): Ditto.
1030 * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain.
1031 (FRAMELESS_FUNCTION_INVOCATION): Use
1032 generic_frameless_function_invocation_not.
1033 (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame.
1034 (POP_FRAME): Use vax_pop_frame.
1035
ea74468c
JT
10362002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
1037
1038 * vax-tdep.c (vax_store_struct_return): New function.
1039 (vax_extract_return_value): Ditto.
1040 (vax_store_return_value): Ditto.
1041 (vax_extract_struct_value_address): Ditto.
1042 * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use
1043 vax_store_struct_return.
1044 (EXTRACT_RETURN_VALUE): Use vax_extract_return_value.
1045 (STORE_RETURN_VALUE): Use vax_store_return_value.
1046 (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address.
1047
5516aa92
JT
10482002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
1049
1050 * vax-tdep.c (vax_frame_saved_pc): New function.
1051 (vax_frame_args_address_correct): Ditto.
1052 (vax_frame_args_address): Ditto.
1053 (vax_frame_locals_address): Ditto.
1054 (vax_frame_num_args): Move code to be in proximity to
1055 other frame-related functions.
1056 * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan.
1057 (FRAME_SAVED_PC): Use vax_frame_saved_pc.
1058 (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct.
1059 (FRAME_ARGS_ADDRESS): Use vax_frame_args_address.
1060 (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address.
1061
36af0b35
L
10622002-04-22 H.J. Lu (hjl@gnu.org)
1063
1064 * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and
1065 includedir.
1066
ab62c900
JT
10672002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
1068
1069 * vax-tdep.c (vax_frame_init_saved_regs): New function.
1070 * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove.
1071 (FRAME_INIT_SAVED_REGS): New macro.
1072
7232b100
JT
10732002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
1074
1075 * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd.
1076
b70d2aee
JT
10772002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
1078
1079 * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants
1080 where needed.
1081 (fetch_osf_core_registers): Likewise.
1082 (supply_gregset): Likewise.
1083
a0e8a2d1 10842002-04-22 J. Brobecker <brobecker@gnat.com>
361d1df0 1085
a0e8a2d1
JB
1086 * symfile.h (get_section_index): Define.
1087 * symfile.c (get_section_index): New function.
1088 * mdebugread.c (SC_IS_SBSS): New macro.
1089 (SC_IS_BSS): Return true for the scBss storage class only, as
1090 the scSBss storage class refers to the .sbss section.
1091 (parse_partial_symbols): Discard the symbols which associated
1092 section does not exist.
1093 Make sure to use the .sbss section index for symbols which
1094 storage class is scBss, rather than using the .bss section index.
1095
51eb8b08
JT
10962002-04-22 Jason Thorpe <thorpej@wasabisystems.com>
1097
1098 * vax-tdep.c: Update copyright years.
1099 (vax_register_name): New function.
1100 (vax_register_byte): Ditto.
1101 (vax_register_raw_size): Ditto.
1102 (vax_register_virtual_size): Ditto.
1103 (vax_register_virtual_type): Ditto.
1104 * config/vax/tm-vax.h: Update copyright years.
1105 (REGISTER_NAMES): Remove.
1106 (REGISTER_NAME): Define.
1107 (REGISTER_BYTE): Use vax_register_byte.
1108 (REGISTER_RAW_SIZE): Use vax_register_raw_size.
1109 (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size.
1110 (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type.
1111
6cc1c0a8
AC
11122002-04-21 Andrew Cagney <ac131313@redhat.com>
1113
1114 * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore
1115 declaration
1116 * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error.
1117
9319a2fe
DM
11182002-04-21 David S. Miller <davem@redhat.com>
1119
1120 * arch-utils.c (generic_prologue_frameless_p): Kill
1121 SKIP_PROLOGUE_FRAMELESS_P code.
1122 * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete
1123 references.
1124 (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New.
1125 * arc-tdep.c (arc_prologue_frameless_p): Implement.
1126 * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete
1127 references.
1128 (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New.
1129 * sparc-tdep.c (sparc_prologue_frameless_p): Implement.
1130 (sparc_gdbarch_init): Pass it to
1131 set_gdbarch_prologue_frameless_p.
a0e8a2d1 1132
e9ed6d01
JT
11332002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
1134
1135 * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c.
1136 (alphabsd-nat.o): New dependency list.
1137
36012033
JT
11382002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
1139
1140 * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and
1141 alphafbsd-tdep.c.
1142 (alpha-linux-tdep.o): New dependency list.
1143 (alphafbsd-tdep.o): Likewise.
1144
3379287a
JT
11452002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
1146
1147 * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset
1148 to here...
1149 * alpha-tdep.c: ...from here.
1150 * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o.
1151
4bcbd6cb
JT
11522002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
1153
1154 * config/alpha/tm-alpha.h: Move alpha_software_single_step
1155 prototype from here...
1156 * alpha-tdep.h: ...to here.
1157
b31da25e
AC
11582002-04-21 Andrew Cagney <ac131313@redhat.com>
1159
1160 * frame.h (selected_frame_level): Document as deprecated.
1161 (frame_relative_level): Declare.
1162 * stack.c (frame_relative_level): New function.
1163 (selected_frame_level): Document as deprecated.
1164 (select_frame): Do not set the selected_frame_level.
1165
1166 * stack.c (frame_info, record_selected_frame): Update.
1167 (frame_command, current_frame_command): Update.
1168 (up_silently_base, up_command, down_silently_base): Update.
1169 (down_command): Update.
1170 * inflow.c (kill_command): Update.
1171 * tracepoint.c (finish_tfind_command): Update.
1172 * corelow.c (core_open): Update.
1173 * thread.c (info_threads_command): Update.
1174 (do_captured_thread_select): Update.
1175 * infcmd.c (finish_command): Update.
1176 * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update.
1177
9c1d6fe5
JT
11782002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
1179
1180 * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove.
1181
ab89facf
AC
11822002-04-21 Andrew Cagney <ac131313@redhat.com>
1183
1184 * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return
1185 type const.
1186
82a4efa1
JT
11872002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
1188
1189 * alphafbsd-tdep.c: Update copyright years. Include
1190 alpha-tdep.h.
1191 (alphafbsd_use_struct_convention): Make static.
1192 (alphafbsd_init_abi): New function.
1193 (_initialize_alphafbsd_tdep): New function.
1194 * config/alpha/tm-fbsd.h: Update copyright years.
1195 (USE_STRUCT_CONVENTION): Remove.
1196
44dffaac
JT
11972002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
1198
1199 * alpha-tdep.c (alpha_abi_handler): New structure to describe
1200 an Alpha ABI variant.
1201 (alpha_abi_handler_list): Declare.
1202 (alpha_gdbarch_register_os_abi): New function.
1203 (alpha_gdbarch_init): Give registered ABI variant handlers a
1204 chance to tweak the gdbarch once we have set up defaults.
1205 * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi.
1206
65585be4
JT
12072002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
1208
1209 * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double
1210 to standard_coerce_float_to_double.
1211 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove.
1212
d9b023cc
JT
12132002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
1214
1215 * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member.
1216 * alpha-tdep.c (heuristic_proc_start): Use vm_min_address
1217 from gdbarch_tdep rather than a constant.
1218 (alpha_gdbarch_init): Initialize tdep->vm_min_address to
1219 the default text address for all Alpha Unix ABIs.
1220 (alpha_dump_tdep): Report the value of tdep->vm_min_address.
1221 * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete.
1222
dc129d82
JT
12232002-04-21 Jason Thorpe <thorpej@wasabisystems.com>
1224
1225 * alpha-tdep.h: New file. Includes several Alpha target constants
1226 taken from...
1227 * config/alpha/tm-alpha.h: ...here. Remove macros that we now
1228 let gdbarch deal with.
1229 (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL.
1230 * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd
1231 to dependency list.
1232 * alpha-nat.c: Include alpha-tdep.h. Update for adjusted
1233 Alpha target register names.
1234 * alphabsd-nat.c: Likewise.
1235 * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted
1236 Alpha target register names. Make serveral routines static.
1237 (alpha_get_saved_register): New function.
1238 (alpha_abi_names): New.
1239 (process_note_abi_tag_sections): New function.
1240 (get_elfosabi): New function.
1241 (alpha_gdbarch_init): New function.
1242 (alpha_dump_tdep): New function.
1243 (_initialize_alpha_tdep): Register alpha_gdbarch_init.
1244
d49d1e0a
AC
12452002-04-21 Andrew Cagney <ac131313@redhat.com>
1246
1247 * frame.c (find_saved_register): Delete #ifdef
1248 HAVE_REGISTER_WINDOWS code.
1249 * config/sparc/tm-sparc.h: Update comments.
1250 * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro.
1251
92e8c9ed
AC
12522002-04-21 Andrew Cagney <ac131313@redhat.com>
1253
1254 * i960-tdep.c (i960_find_saved_register): New function.
1255 (i960_get_saved_register): New function.
1256 * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define.
1257 (i960_get_saved_register): Declare.
1258 * config/i960/tm-i960.h, i960-tdep.c: Update copyright.
1259
e1925118
DM
12602002-04-20 David S. Miller <davem@redhat.com>
1261
1262 * sparc-nat.c (store-inferior_registers): Fix ambiguous else.
1263
29673b29
AC
12642002-04-20 Andrew Cagney <ac131313@redhat.com>
1265
1266 * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs
1267 instead of NUM_PSEUDO_REGS.
1268
6c86dcd5
DM
12692002-04-20 David S. Miller <davem@redhat.com>
1270
1271 * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to
1272 GDB_MULTI_ARCH_PARTIAL
1273 * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not
1274 define, let tm-sp64.h do it.
1275
aa40ec90
JT
12762002-04-20 Jason Thorpe <thorpej@wasabisystems.com>
1277
1278 * frame.c (find_saved_register): Avoid a NULL pointer
1279 dereference and actually walk the frame list.
1280
0f79675b
AC
12812002-04-20 Andrew Cagney <ac131313@redhat.com>
1282
1283 * gdbarch.sh (gdbarch_update_p): Keep the list of architectures
1284 sorted in most most-recent-used order. Document.
1285 * gdbarch.h, gdbarch.c: Regenerate.
361d1df0 1286
c04a1aa8
DJ
12872002-04-20 Daniel Jacobowitz <drow@mvista.com>
1288
1289 * gdbserver/inferiors.c (struct inferior_info): Add regcache_data.
1290 (add_inferior): Call create_register_cache.
1291 (clear_inferiors): Call free_register_cache.
1292 (inferior_regcache_data, set_inferior_regcache_data): New functions.
1293 * gdbserver/regcache.c (struct inferior_regcache_data): New.
1294 (registers): Remove.
1295 (get_regcache): New function.
1296 (create_register_cache, free_register_cache): New functions.
1297 (set_register_cache): Don't initialize the register cache here.
1298 (registers_to_string, registers_from_string, register_data): Call
1299 get_regcache.
1300 * gdbserver/regcache.h: Add prototypes.
1301 * gdbserver/server.h: Likewise.
1302
611cb4a5
DJ
13032002-04-20 Daniel Jacobowitz <drow@mvista.com>
1304
1305 * gdbserver/mem-break.c: New file.
1306 * gdbserver/mem-break.h: New file.
1307 * gdbserver/Makefile.in: Add mem-break.o rule; update server.h
1308 dependencies.
1309 * gdbserver/inferiors.c (struct inferior_info): Add target_data
1310 member.
1311 (clear_inferiors): Free target_data member if set.
1312 (inferior_target_data, set_inferior_target_data): New functions.
1313 * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len)
1314 (i386_stop_pc, i386_set_pc): New. Add to the_low_target.
1315 * gdbserver/linux-low.c (linux_bp_reinsert): New variable.
1316 (struct inferior_linux_data): New.
1317 (linux_create_inferior): Use set_inferior_target_data.
1318 (linux_attach): Likewise. Call add_inferior.
1319 (linux_wait_for_one_inferior): New function.
1320 (linux_wait): Call it.
1321 (linux_write_memory): Add const.
1322 (initialize_low): Call set_breakpoint_data.
1323 * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint
1324 handling members.
1325 * gdbserver/server.c (attach_inferior): Remove extra add_inferior
1326 call.
1327 * gdbserver/server.h: Include mem-break.h. Update inferior.c
1328 prototypes.
1329 * gdbserver/target.c (read_inferior_memory)
1330 (write_inferior_memory): New functions.
1331 * gdbserver/target.h (read_inferior_memory)
1332 (write_inferior_memory): Change macros to prototypes.
1333 (struct target_ops): Update comments. Add const to write_memory
1334 definition.
1335
f91305dd 13362002-04-19 Andrew Cagney <ac131313@redhat.com>
bf75c8c1
AC
1337
1338 * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame
1339 instead of ->prev.
1340 * z8k-tdep.c (z8k_frame_chain): Do not use ->prev.
1341 * s390-tdep.c (s390_frame_chain): Do not use ->prev.
1342 * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain()
1343 instead of ->prev.
1344
73d322b1
EZ
13452002-04-19 Elena Zannoni <ezannoni@redhat.com>
1346
1347 Fix PR gdb/471.
1348 * gdbtypes.c (init_simd_type): Rewrite using new functions.
1349 (build_builtin_type_vec128): Ditto.
1350 (append_composite_type_field): Fix calculation of type length in
1351 union case.
1352
ccd9a834
EZ
13532002-04-19 Eli Zaretskii <eliz@is.elta.co.il>
1354
1355 * config/djgpp/README: Update.
1356
1357 * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a
1358 compiler warnings.
1359
a57f9e49
JT
13602002-04-19 Jason Thorpe <thorpej@wasabisystems.com>
1361
1362 * alpha-tdep.c (setup_arbitrary_frame): Rename...
1363 (alpha_setup_arbitrary_frame): ...to this.
1364 * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update
1365 for alpha_setup_arbitrary_frame.
1366
f4f9705a
AC
13672002-04-18 Andrew Cagney <cagney@redhat.com>
1368
1369 * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer.
1370 * gdbarch.h, gdbarch.c: Regenerate.
361d1df0 1371
f4f9705a
AC
1372 * defs.h (breakpoint_from_pc_fn): Delete type definition.
1373 * target.h (memory_breakpoint_from_pc): Update declaration.
1374 * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto.
1375
1376 * arch-utils.c (legacy_breakpoint_from_pc): Update return type.
1377 * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto.
1378 * mem-break.c (memory_breakpoint_from_pc): Ditto.
1379 * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto.
1380 * s390-tdep.c (s390_breakpoint_from_pc): Ditto
1381 * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto.
1382 * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto.
1383 * mips-tdep.c (mips_breakpoint_from_pc): Ditto.
1384 * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto.
1385 * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto.
1386 * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto.
1387 * arch-utils.c (legacy_breakpoint_from_pc): Ditto..
1388
1389 * mem-break.c (default_memory_insert_breakpoint): Make `bp' a
1390 const pointer.
1391 * monitor.c (monitor_insert_breakpoint): Ditto.
1392 * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'.
1393
1394 * config/mcore/tm-mcore.h: Update copyright.
1395 * mem-break.c: Ditto.
1396 * xstormy16-tdep.c: Ditto.
1397
29f319b8
PM
13982002-04-18 Pierre Muller <muller@ics.u-strasbg.fr>
1399
1400 * p-exp.y: Add precedence rule for '^' token.
1401 This removes the shift/reduce conflicts.
1402 Remove the comment concerning these shift/reduce conflicts.
1403
ebeac11a
EZ
14042002-04-18 Elena Zannoni <ezannoni@redhat.com>
1405
1406 * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro.
1407 (registers_powerpc_nofp): New register set for processors
1408 without floating point unit.
1409
27c31547
DM
14102002-04-18 David S. Miller <davem@redhat.com>
1411
1412 * MAINTAINERS: Add myself to write-after-approval.
1413
47a73475
MS
14142002-04-17 Michael Snyder <msnyder@redhat.com>
1415
1416 * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm.
1417
953836b2
AC
14182002-04-17 Andrew Cagney <ac131313@redhat.com>
1419
1420 * rs6000-tdep.c (frame_initial_stack_address): Use
1421 frame_register_read to read the alloca_reg.
1422
8b0d4340
AC
14232002-04-17 Andrew Cagney <ac131313@redhat.com>
1424
1425 * frame.c (find_saved_register): Find saved registers in the next
1426 not prev frame.
1427 Fix PR gdb/365.
1428
d8864532
AC
14292002-04-17 Andrew Cagney <ac131313@redhat.com>
1430
1431 * gdbarch.sh (LANG): Set to ``c''.
1432
36cc83a3 14332002-04-15 Andrew Cagney <ac131313@redhat.com>
361d1df0 1434
36cc83a3 1435 * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems.
361d1df0 1436
2f4150cc 14372002-04-15 Andrew Cagney <ac131313@redhat.com>
2c7ef074
AC
1438
1439 * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h".
1440 Update copyright.
1441
628703c6 1442 * hpread.c (hpread_get_lntt): Add declaration.
2f4150cc 1443 Also fix PR gdb/391.
361d1df0 1444
56157b4a
AC
14452002-04-14 Andrew Cagney <ac131313@redhat.com>
1446
1447 * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6.
1448 * aclocal.m4, configure: Re-generate.
1449 Fix PR gdb/391.
361d1df0 1450
6d1e3329
EZ
14512002-04-14 Elena Zannoni <ezannoni@redhat.com>
1452
1453 * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN
1454 instead of tm_print_insn.
1455
cb06fa07
EZ
14562002-04-14 Elena Zannoni <ezannoni@redhat.com>
1457
1458 * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.
1459
f208ba17
AC
14602002-04-14 Andrew Cagney <ac131313@redhat.com>
1461
1462 * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.
1463 * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro.
1464 (get_prev_frame): Do not call FRAME_CHAIN_COMBINE.
1465
20f01a46
DH
14662002-04-12 Don Howard <dhoward@redhat.com>
1467
1468 * cli/cli-cmds.c (init_cli_cmds): Add new user settable value:
1469 max_user_call_depth.
1470 (init_cmd_lists): Initialize the new value;
1471 * cli/cli-script.c (execute_user_command): Limit the call depth of
1472 user defined commands. This avoids a core-dump when user commands
1473 are infinitly recursive.
1474
a88376a3
KB
14752002-04-12 Kevin Buettner <kevinb@redhat.com>
1476
1477 * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''.
1478 * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset''
1479 from tdep struct instead of DEFAULT_LR_SAVE.
1480 (rs6000_gdbarch_init): Initialize ``lr_frame_offset''.
1481 * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete.
1482 * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete.
1483
f2172603
MS
14842002-04-12 Michael Snyder <msnyder@redhat.com>
1485
694f61fb 1486 * Remote.c: Spelling fix.
20fe79c8
MS
1487 * gcore.c (default_derive_heap_segment): Use bfd_section_name.
1488 If no symbol found for "sbrk", try "_sbrk".
1489 (make_output_phdrs): Use bfd_section_name.
1490 (gcore_copy_callback): Use bfd_section_name.
62995fc4 1491 * eval.c: Indentation fix-ups.
169a7369
MS
1492 * d10v-tdep.c (d10v_make_iaddr): Make it idempotent,
1493 in case it gets applied to an address that is already
1494 in the instruction space.
de74f71f
MS
1495 * cli/cli-decode.c (help_list): Allow long lines to wrap.
1496 * symfile.c: Fix indentation, long lines.
f2172603
MS
1497 * source.c: White space fix-up.
1498
cda5a58a
AC
14992002-04-12 Andrew Cagney <cagney@redhat.com>
1500
1501 * defs.h (read_relative_register_raw_bytes): Delete declaration.
1502 * frame.c (frame_register_read): New function. Return non-zero on
1503 success.
1504 (read_relative_register_raw_bytes_for_frame): Delete.
1505 (read_relative_register_raw_bytes): Delete.
1506 * frame.h (frame_register_read): Declare.
1507 * d30v-tdep.c: Update Copyright. Use frame_register_read.
1508 * sh-tdep.c: Ditto.
1509 * infcmd.c (do_registers_info): Ditto.
1510 * hppa-tdep.c: Ditto.
1511 * rs6000-tdep.c: Ditto.
1512 * h8500-tdep.c: Ditto.
1513 * mips-tdep.c: Ditto.
1514 * h8300-tdep.c: Ditto.
1515 * z8k-tdep.c: Ditto.
1516
2ea5f656
KB
15172002-04-12 Kevin Buettner <kevinb@redhat.com>
1518
1519 From Jimi X <jimix@watson.ibm.com>:
1520 * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for
1521 64-bit SysV ABI.
1522
27b15785
KB
15232002-04-12 Kevin Buettner <kevinb@redhat.com>
1524
1525 From Jimi X <jimix@watson.ibm.com>:
1526 * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from
1527 bfd info.
1528
5d57ee30
KB
15292002-04-12 Kevin Buettner <kevinb@redhat.com>
1530
1531 From Jimi X <jimix@watson.ibm.com>:
1532 * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define
1533 register sets for these processor variants.
1534
bc1e36ca
DJ
15352002-04-11 Daniel Jacobowitz <drow@mvista.com>
1536
1537 * gdbserver/linux-low.c (usr_store_inferior_registers): Support
1538 registers which are allowed to fail to store.
1539 * gdbserver/linux-low.h (linux_target_ops): Likewise.
1540 * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR.
1541 (ppc_cannot_store_register): FPSCR may not be storable.
1542 * regformats/reg-ppc.dat: Support FPSCR.
1543
e3f36dbd
KB
15442002-04-11 Kevin Buettner <kevinb@redhat.com>
1545
1546 * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''.
1547 * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
1548 Add fpscr as an invalid/unfetchable register.
1549 * ppc-linux-nat.c (ppc_register_u_addr, store_register)
1550 (fetch_ppc_registers, store_ppc_registers, supply_fpregset)
1551 (fill_fpregset): Add support for register fpscr.
1552 (fetch_ppc_registers, store_ppc_registers, supply_gregset)
1553 (fill_gregset): Account for the fact that register ``mq'' might
1554 not exist.
1555 * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr.
1556 (registers_power): Add fpscr to register set at slot 71.
1557 (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't
1558 exist on most PPC architectures. Initialize ppc_fpscr_regnum.
1559
943c9c25
MS
15602002-04-11 Michael Snyder <msnyder@redhat.com>
1561
1562 * configure.in: Autoconfiscate _SYSCALL32 define for solaris.
1563 * configure: Regenerate.
1564 * config.in: Regenerate.
1565 * acconfig.h: Add define for _SYSCALL32.
1566 * core-sol2.c: Remove #define _SYSCALL32.
1567 * solib-legacy.c: Remove #define _SYSCALL32.
1568
d8c0a2e7
AC
15692002-04-10 Andrew Cagney <ac131313@redhat.com>
1570
1571 * stack.c (select_frame): Cleanup internal error message, do not
1572 use %p.
1573
7cc19214
AC
15742002-04-10 Andrew Cagney <ac131313@redhat.com>
1575
1576 * stack.c (select_frame): Check that selected_frame and the
1577 specified level are as expected.
1578 * blockframe.c (get_prev_frame): Set the `level' from next_frame.
1579 Update copyright.
1580 * frame.h (struct frame_info): Add field `level'. Update
1581 copyright.
1582 Work-in-progress PR gdb/464.
1583
67a2b77e
AC
15842002-04-10 Andrew Cagney <ac131313@redhat.com>
1585
1586 * maint.c (maint_print_section_info): Rename print_section_info.
1587 (print_bfd_section_info, print_objfile_section_info): Update.
1588 * inferior.h (struct gdbarch): Add opaque declaration.
1589 * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh.
1590 * gdbarch.h: Regenerate.
1591
8cfda98c
ML
15922002-04-10 Michal Ludvig <mludvig@suse.cz>
1593
1594 * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete.
1595 (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h.
1596 (kernel_u_size): Added.
1597 * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete.
1598 (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h.
1599
ca439ad2 16002002-04-04 Jim Ingham <jingham@apple.com>
361d1df0 1601
ca439ad2
JI
1602 * valarith.c (find_size_for_pointer_math): New function, either returns
1603 the size for a pointer's target, returns 1 for void *, or errors for
1604 incomplete types.
1605 (value_add, value_sub): use find_size_for_pointer_math.
1606
2f2893d9
DJ
16072002-04-09 Daniel Jacobowitz <drow@mvista.com>
1608
1609 * linux-low.c (linux_look_up_symbols): New hook.
1610 (linux_target_ops): Add linux_look_up_symbols.
1611 * remote-utils.c (decode_address): New function.
1612 (look_up_one_symbol): New function.
1613 * server.c (handle_query): Call target look_up_symbols hook.
1614 * server.h (look_up_one_symbol): Add prototype.
1615 * target.h (struct target_ops): Add look_up_symbols hook.
1616
2ec06d2e
DJ
16172002-04-09 Daniel Jacobowitz <drow@mvista.com>
1618
d64b8841
DJ
1619 * gdbserver/server.h: Include <string.h> if HAVE_STRING_H.
1620 * ChangeLog: Correct paths in last ChangeLog entry.
1621
16222002-04-09 Daniel Jacobowitz <drow@mvista.com>
1623
1624 * gdbserver/linux-low.h: Remove obsolete prototypes.
2ec06d2e
DJ
1625 (struct linux_target_ops): New.
1626 (extern the_low_target): New.
d64b8841 1627 * gdbserver/linux-low.c (num_regs, regmap): Remove declarations.
2ec06d2e
DJ
1628 (register_addr): Use the_low_target explicitly.
1629 (fetch_register): Likewise.
1630 (usr_fetch_inferior_registers): Likewise.
1631 (usr_store_inferior_registers): Likewise.
d64b8841 1632 * gdbserver/linux-arm-low.c (num_regs): Remove.
2ec06d2e
DJ
1633 (arm_num_regs): Define.
1634 (arm_regmap): Renamed from regmap, made static.
1635 (arm_cannot_fetch_register): Renamed from cannot_fetch_register,
1636 made static.
1637 (arm_cannot_store_register): Renamed from cannot_store_register,
1638 made static.
1639 (the_low_target): New.
d64b8841 1640 * gdbserver/linux-i386-low.c (num_regs): Remove.
2ec06d2e
DJ
1641 (i386_num_regs): Define.
1642 (i386_regmap): Renamed from regmap, made static.
1643 (i386_cannot_fetch_register): Renamed from cannot_fetch_register,
1644 made static.
1645 (i386_cannot_store_register): Renamed from cannot_store_register,
1646 made static.
1647 (the_low_target): New.
d64b8841 1648 * gdbserver/linux-ia64-low.c (num_regs): Remove.
2ec06d2e
DJ
1649 (ia64_num_regs): Define.
1650 (ia64_regmap): Renamed from regmap, made static.
1651 (ia64_cannot_fetch_register): Renamed from cannot_fetch_register,
1652 made static.
1653 (ia64_cannot_store_register): Renamed from cannot_store_register,
1654 made static.
1655 (the_low_target): New.
d64b8841 1656 * gdbserver/linux-m68k-low.c (num_regs): Remove.
2ec06d2e
DJ
1657 (m68k_num_regs): Define.
1658 (m68k_regmap): Renamed from regmap, made static.
1659 (m68k_cannot_fetch_register): Renamed from cannot_fetch_register,
1660 made static.
1661 (m68k_cannot_store_register): Renamed from cannot_store_register,
1662 made static.
1663 (the_low_target): New.
d64b8841 1664 * gdbserver/linux-mips-low.c (num_regs): Remove.
2ec06d2e
DJ
1665 (mips_num_regs): Define.
1666 (mips_regmap): Renamed from regmap, made static.
1667 (mips_cannot_fetch_register): Renamed from cannot_fetch_register,
1668 made static.
1669 (mips_cannot_store_register): Renamed from cannot_store_register,
1670 made static.
1671 (the_low_target): New.
d64b8841 1672 * gdbserver/linux-ppc-low.c (num_regs): Remove.
2ec06d2e
DJ
1673 (ppc_num_regs): Define.
1674 (ppc_regmap): Renamed from regmap, made static.
1675 (ppc_cannot_fetch_register): Renamed from cannot_fetch_register,
1676 made static.
1677 (ppc_cannot_store_register): Renamed from cannot_store_register,
1678 made static.
1679 (the_low_target): New.
d64b8841 1680 * gdbserver/linux-s390-low.c (num_regs): Remove.
2ec06d2e
DJ
1681 (s390_num_regs): Define.
1682 (s390_regmap): Renamed from regmap, made static.
1683 (s390_cannot_fetch_register): Renamed from cannot_fetch_register,
1684 made static.
1685 (s390_cannot_store_register): Renamed from cannot_store_register,
1686 made static.
1687 (the_low_target): New.
d64b8841 1688 * gdbserver/linux-sh-low.c (num_regs): Remove.
2ec06d2e
DJ
1689 (sh_num_regs): Define.
1690 (sh_regmap): Renamed from regmap, made static.
1691 (sh_cannot_fetch_register): Renamed from cannot_fetch_register,
1692 made static.
1693 (sh_cannot_store_register): Renamed from cannot_store_register,
1694 made static.
1695 (the_low_target): New.
d64b8841 1696 * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap.
2ec06d2e
DJ
1697 (the_low_target): New.
1698
96cb11df
AC
16992002-04-09 Andrew Cagney <ac131313@redhat.com>
1700
1701 * frame.c (read_relative_register_raw_bytes_for_frame): Do not
1702 override FP_REGNUM with frame->fp. Update copyright.
1703 * parse.c (num_std_regs, std_regs): Delete.
1704 (target_map_name_to_register): Do not search std_regs. Update
1705 function description.
1706 * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete
1707 declarations. Update copyright.
1708 Fix PR gdb/251.
361d1df0 1709
c3a3ccc7
DJ
17102002-04-09 Daniel Jacobowitz <drow@mvista.com>
1711
1712 * gdbserver/Makefile.in: Add stamp-h target.
1713 * gdbserver/configure.in: Create stamp-h.
1714 * gdbserver/configure: Regenerated.
1715
ce3a066d
DJ
17162002-04-09 Daniel Jacobowitz <drow@mvista.com>
1717
1718 * gdbserver/inferiors.c: New file.
1719 * gdbserver/target.c: New file.
1720 * gdbserver/target.h: New file.
1721 * gdbserver/Makefile.in: Add target.o and inferiors.o. Update
1722 dependencies.
1723 * gdbserver/linux-low.c (inferior_pid): New static variable,
1724 moved from server.c.
1725 (linux_create_inferior): Renamed from create_inferior.
1726 Call add_inferior. Return 0 on success instead of a PID.
1727 (linux_attach): Renamed from myattach.
1728 (linux_kill): Renamed from kill_inferior. Call clear_inferiors ().
1729 (linux_thread_alive): Renamed from mythread_alive.
1730 (linux_wait): Renamed from mywait. Call clear_inferiors () if the
1731 child dies.
1732 (linux_resume): Renamed from myresume. Add missing ``return 0''.
1733 (regsets_store_inferior_registers): Correct error message.
1734 Add missing ``return 0''.
1735 (linux_fetch_registers): Renamed from fetch_inferior_registers.
1736 (linux_store_registers): Renamed from store_inferior_registers.
1737 (linux_read_memory): Renamed from read_inferior_memory.
1738 (linux_write_memory): Renamed from write_inferior_memory.
1739 (linux_target_ops): New structure.
1740 (initialize_low): Call set_target_ops ().
1741 * gdbserver/remote-utils.c (unhexify): New function.
1742 (hexify): New function.
1743 (input_interrupt): Send signals to ``signal_pid''.
1744 * gdbserver/server.c (inferior_pid): Remove.
1745 (start_inferior): Update create_inferior call.
1746 (attach_inferior): Call add_inferior.
1747 (handle_query): New function.
1748 (main): Call handle_query for `q' packets.
1749 * gdbserver/server.h: Include "target.h". Remove obsolete prototypes.
1750 Add prototypes for "inferiors.c", "target.c", hexify, and unhexify.
1751
0729219d
DJ
17522002-04-09 Daniel Jacobowitz <drow@mvista.com>
1753
1754 * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury
1755 dependencies.
1756 * gdbserver/configure.in: Check for <string.h>
1757 * gdbserver/configure: Regenerate.
1758 * gdbserver/config.in: Regenerate.
1759 * gdbserver/gdbreplay.c: Include needed system headers.
1760 (remote_open): Remove strchr prototype.
1761 * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS.
1762 * gdbserver/regcache.c (supply_register): Change buf argument to const void *.
1763 (supply_register_by_name): Likewise.
1764 (collect_register): Change buf argument to void *.
1765 (collect_register_by_name): Likewise.
1766 * gdbserver/regcache.h: Add missing prototypes.
1767 * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa.
1768 * gdbserver/server.c (handle_query): New function.
1769 (attached): New static variable, moved out of main.
1770 (main): Quiet longjmp clobber warnings.
1771 * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes.
1772 * gdbserver/utils.c (error): Remove NORETURN.
1773 (fatal): Likewise.
1774
97658e92
DJ
17752002-04-09 Daniel Jacobowitz <drow@mvista.com>
1776
1777 * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer
1778 after the last symbol in a block.
1779
6044e3eb
PM
17802002-04-09 Pierre Muller <muller@ics.u-strasbg.fr>
1781
1782 * p-exp.y (yylex): Handle also the fact that is_a_field_of_this
1783 is non zero as a found symbol.
1784
0406ec40
AC
17852002-04-08 Andrew Cagney <ac131313@redhat.com>
1786
1787 * findvar.c: Include "builtin-regs.h".
1788 (value_of_register): Call value_of_builtin_reg when applicable.
1789 * parse.c: Include "builtin-regs.h" and "gdb_assert.h".
1790 (target_map_name_to_register): Call
1791 builtin_reg_map_name_to_regnum.
1792 * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c.
1793 (COMMON_OBS): Add builtin-regs.o and std-regs.o.
1794 (builtin_regs_h): Define.
1795 (builtin-regs.o): New target.
1796 (findvar.o): Add $(builtin_regs_h).
1797 * builtin-regs.c, builtin-regs.h: New files.
1798 * std-regs.c: New file.
1799 Partial fix for PR gdb/251.
1800
56a6dfb9
KB
18012002-04-08 Kevin Buettner <kevinb@redhat.com>
1802
1803 * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn;
1804 it's no longer required.
1805
3a808432
AC
18062002-04-08 Andrew Cagney <ac131313@redhat.com>
1807
1808 * Makefile.in (gdbtk-wrapper.o): Add missing dependencies.
1809
7c40d541
KB
18102002-04-08 Kevin Buettner <kevinb@redhat.com>
1811
1812 From Jimi X <jimix@watson.ibm.com>:
1813 * rs6000-tdep.c (rs6000_software_single_step): Use
1814 rs6000_breakpoint_from_pc() to fetch breakpoint instruction
1815 and size. Use target_insert_breakpoint() and
1816 target_remove_breakpoint() to insert and remove breakpoints
1817 instead of explicit memory reads and writes.
1818
cc9836a8
KB
18192002-04-08 Kevin Buettner <kevinb@redhat.com>
1820
1821 * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
1822 * rs6000-tdep.c (rs6000_push_arguments): Eliminate
1823 ELF_OBJECT_FORMAT ifdef.
1824
7495d1dc
KB
18252002-04-08 Kevin Buettner <kevinb@redhat.com>
1826
1827 From Jimi X <jimix@watson.ibm.com>:
1828 * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn().
1829
4288e836
KB
18302002-04-08 Kevin Buettner <kevinb@redhat.com>
1831
1832 From Jimi X <jimix@watson.ibm.com>:
1833 * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro
1834 definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET.
1835
a4e4e501
MK
18362002-04-07 Mark Kettenis <kettenis@gnu.org>
1837
1838 * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions):
1839 s/asprintf/xasprintf/.
1840 (fbsd_make_corefile_notes): s/strdup/xstrdup/.
1841
006defba
AC
18422002-04-07 Andrew Cagney <ac131313@redhat.com>
1843
1844 I believe Jeff Law denies responsability for this one:
1845 * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork.
1846 * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork.
1847 * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork.
1848 Work-around for PR gdb/366.
1849
7aa83cac
EZ
18502002-04-07 Elena Zannoni <ezannoni@redhat.com>
1851
1852 * remote-e7000.c (write_small, e7000_read_inferior_memory,
1853 e7000_read_inferior_memory_large, e7000_insert_breakpoint,
1854 e7000_remove_breakpoint): Use paddr_nz() to print addresses.
1855
cf1fcca1
EZ
18562002-04-07 Elena Zannoni <ezannoni@redhat.com>
1857
1858 * sh-tdep.c (sh_fp_frame_init_saved_regs,
1859 sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
1860 information.
1861
3f289e6f
AC
18622002-04-07 Andrew Cagney <ac131313@redhat.com>
1863
1864 * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
1865 maintainer.
1866
129188f6
AC
18672002-04-07 Andrew Cagney <ac131313@redhat.com>
1868
1869 * README (Reporting Bugs in GDB): Document the bug web page as the
1870 prefered way of submitting bugs.
1871 Fix PR gdb/402.
1872
1200cd6e
AC
18732002-04-06 Andrew Cagney <ac131313@redhat.com>
1874
1875 * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
1876 -1. Update comment.
1877 * gdbarch.h, gdbarch.c: Re-generate.
1878
2853c33c
AS
18792002-04-07 Andreas Schwab <schwab@suse.de>
1880
1881 * m68klinux-nat.c (fill_fpregset): Properly pass address of
1882 buffer to regcache_collect.
1883
c2169756
AC
18842002-04-06 Andrew Cagney <ac131313@redhat.com>
1885
1886 * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
1887 * gdbarch.c, gdbarch.h: Re-generate.
1888
25f1b008
AC
18892002-04-06 Andrew Cagney <ac131313@redhat.com>
1890
1891 * symtab.c (lookup_symtab): Remove ``const'' from ``rp''
1892 declaration. Fix -Werror.
1893
59263426
DJ
18942002-04-05 Daniel Jacobowitz <drow@mvista.com>
1895
1896 * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap.
1897 * gdbarch.c: Regenerate.
1898
f5db4da3
MS
18992002-04-05 Michael Snyder <msnyder@redhat.com>
1900
80f8a6eb
MS
1901 * breakpoint.c (clear_command): Rewrite middle section to
1902 combine two loops with identical control conditions.
1903 Add a cleanup to eliminate a memory leak.
f5db4da3
MS
1904 * cli/cli-dump.c (restore_section_callback): Use paddr_nz.
1905
ad3dcc5c
L
19062002-04-05 H.J. Lu (hjl@gnu.org)
1907
1908 * solib-svr4.c (bkpt_names): Add "__start".
1909
f32e7a74
AC
19102002-04-04 Andrew Cagney <ac131313@redhat.com>
1911
1912 * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
1913 as test for 64 bit target.
1914
8227c0ff
AC
19152002-04-05 Andrew Cagney <ac131313@redhat.com>
1916
1917 * h8500-tdep.c (h8500_write_fp): Delete function.
1918 * dwarf2cfi.c (cfi_write_fp): Document as not used.
1919 * mips-tdep.c (mips_gdbarch_init): Do not set write_fp.
1920 * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp.
1921 * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp.
1922 * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp.
1923 * s390-tdep.c (s390_gdbarch_init): Do not set write_fp.
1924 (s390_write_fp):
1925 * sh-tdep.c (sh_gdbarch_init): Do not set write_fp.
1926 * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp.
1927 * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp.
1928 (d10v_write_fp): Delete function.
1929 * inferior.h (write_fp, generic_target_write_fp): Delete
1930 declarations.
1931 * regcache.c (generic_target_write_fp): Delete function.
1932 (write_fp): Delete function.
1933 * gdbarch.sh (TARGET_WRITE_FP): Delete.
1934 * gdbarch.h, gdbarch.c: Regenerate.
1935 * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro.
1936 * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro.
1937 (sparc64_write_fp): Delete declaration.
1938 * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro.
1939 (h8500_write_fp): Delete declaration.
1940
2757dd86
AC
19412002-04-04 Andrew Cagney <ac131313@redhat.com>
1942
1943 * sparc-tdep.c (sparc64_write_fp): Delete.
1944 (sparc_push_dummy_frame): Replace write_fp call with code to store
1945 the FP directly.
1946 (sparc_gdbarch_init): Do not initialize write_fp.
1947
c69255e1
KB
19482002-04-05 Kevin Buettner <kevinb@redhat.com>
1949
1950 * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
1951 clause.
1952
ae767bfb
JB
19532002-03-29 Jim Blandy <jimb@redhat.com>
1954
1955 * stack.c (get_selected_block): Add new argument `addr_in_block',
1956 used to return the exact code address we used to select the block,
1957 not just the block.
1958 * blockframe.c (get_frame_block, get_current_block): Same.
1959 * frame.h (get_frame_block, get_current_block,
1960 get_selected_block): Update declarations.
1961 * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c,
1962 linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed.
1963
84d2ac95
MS
19642002-04-05 Michael Snyder <msnyder@redhat.com>
1965
1966 * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in
1967 warning message.
1968
596aa3bf
JB
19692002-04-05 J. Brobecker <brobecker@gnat.com>
1970
1971 * utils.c (xfullpath): New function.
1972 * defs.h (xfullpath): Add declaration.
1973 * source.c (openp): Use xfullpath in place of gdb_realpath to
1974 avoid resolving the basename part of filenames when the
1975 associated file is a symbolic link. This fixes a potential
1976 inconsistency between the filenames known to GDB and the
1977 filenames it prints in the annotations.
1978 * symtab.c (lookup_symtab): Use the new xfullpath function, in order
1979 to be able to match a filename with either the real filename, or
1980 the name of any symbolic link to this file.
1981 (lookup_partial_symtab): Ditto.
1982
c02f5703
MS
19832002-04-04 Michael Snyder <msnyder@redhat.com>
1984
1985 * breakpoint.c: Add support for hardware breakpoints in overlays.
1986 (overlay_events_enabled): New state variable.
1987 (insert_breakpoints): Use overlay_events_enabled to decide
1988 whether to attempt to set a breakpoint at the overlay load addr.
1989 Handle bp_hardware_breakpoint as well as bp_breakpoint.
1990 (remove_breakpoint): Use overlay_events_enabled to decide
1991 whether breakpoints need to be removed from overlay load addr.
1992 Handle bp_hardware_breakpoint as well as bp_breakpoint.
1993 (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays.
361d1df0 1994 (create_overlay_event_breakpoint, enable_overlay_breakpoints,
c02f5703
MS
1995 disable_overlay_breakpoints): Update overlay_events_enabled.
1996
5fb290d7
DJ
19972002-04-04 Daniel Jacobowitz <drow@mvista.com>
1998
1999 * dwarf2read.c (struct function_range): New.
2000 (cu_first_fn, cu_last_fn, cu_cached_fn): New.
2001 (check_cu_functions): New.
2002 (read_file_scope): Initialize global function lists.
2003 Call dwarf_decode_line after processing children.
2004 (read_func_scope): Add to global function list.
2005 (dwarf_decode_lines): Call check_cu_functions everywhere
2006 record_line is called. Call record_line with a linenumber
2007 of 0 to mark sequence ends.
2008
7b3fabf0
ML
20092002-04-04 Michal Ludvig <mludvig@suse.cz>
2010
361d1df0 2011 * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI
7b3fabf0
ML
2012 change sync with glibc.
2013
bce58c09
JB
20142002-04-03 Jim Blandy <jimb@redhat.com>
2015
2016 * configure.in: Call AC_C_INLINE.
2017 * configure: Regenerated.
361d1df0 2018
2fccf04a
DJ
20192002-04-01 Daniel Jacobowitz <drow@mvista.com>
2020
2021 * rs6000-tdep.c: Change #include of "bfd/libcoff.h"
2022 and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
2023
2d1bfe2e
MK
20242002-03-31 Mark Kettenis <kettenis@gnu.org>
2025
a5941fbf
MK
2026 * NEWS: Mention gcore support on FreeBSD/i386.
2027
a90cd31d
MK
2028 * fbsd-proc.c: New file.
2029 * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define.
2030 * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.
2031
2d1bfe2e
MK
2032 * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
2033 while statement.
2034
9eb6e5a1
JB
20352002-03-29 Jim Blandy <jimb@redhat.com>
2036
2037 * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
2038 unescaped newlines in string literals, but newer ones don't. So
2039 escape them.
2040
f02df580
MS
20412002-03-26 Michael Snyder <msnyder@redhat.com>
2042 Andrew Cagney <cagney@redhat.com>
2043
361d1df0 2044 * cli/cli-dump.c: New file. Dump memory to file,
f02df580
MS
2045 restore file to memory.
2046 * cli/cli-dump.h: New file.
2047 * Makefile.in: Add rules, dependencies for cli-dump.o.
89743e04 2048 * NEWS: Mention new commands.
f02df580 2049
109f874e
MS
20502002-03-28 Michael Snyder <msnyder@redhat.com>
2051
2052 * symfile.c (symbol_file_add): Move test for null symbols to later.
2053
520f6ade
AC
20542002-03-27 Andrew Cagney <ac131313@redhat.com>
2055
2056 From veksler at il.ibm.com:
2057 * utils.c (gdb_realpath): If canonicalize_file_name fails, return
2058 the xstrduped original path.
2059 Fix PR gdb/417.
2060
d4654627
MS
20612002-03-27 Michael Snyder <msnyder@redhat.com>
2062
2063 * breakpoint.c (_initialize_breakpoint): Clean up help string.
2064 * infcmd.c (_initialize_infcmd): Ditto.
2065 * language.c (_initialize_language): Ditto.
2066 * symfile.c (_initialize_symfile): Ditto.
2067 * top.c (_init_main): Ditto.
2068 * cli/cli-cmds.c (init_cli_cmds): Ditto.
2069
6be8bc0c
EZ
20702002-03-27 Elena Zannoni <ezannoni@redhat.com>
2071
2072 * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec
2073 vector registers handling.
2074 (skip_prologue): Handle new AltiVec instructions. Fill in new
2075 fields of frame data.
2076 (frame_get_saved_regs): Fill in information for AltiVec registers.
2077
12af6855
JB
20782002-03-27 Jim Blandy <jimb@redhat.com>
2079
2080 * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
2081 a function; leave this macro here to invoke that function.
2082 (symbol_init_mangled_name): Declaration for that function.
2083 * symtab.c (symbol_init_mangled_name): New function.
2084
dc672865
AC
20852002-03-27 Andrew Cagney <ac131313@redhat.com>
2086
2087 * valarith.c: Replace strerror with safe_strerror.
2088 * tracepoint.c: Ditto.
2089 * lin-lwp.c: Ditto.
2090 * go32-nat.c: Ditto.
2091 * inflow.c: Ditto.
2092 * gnu-nat.c: Ditto.
2093
d96429cd
AS
20942002-03-27 Andreas Schwab <schwab@suse.de>
2095
2096 * event-top.c (command_line_handler): Remove useless if.
2097
7e336ba1
AJ
20982002-03-27 Andreas Jaeger <aj@suse.de>
2099
2100 * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
2101 comment.
2102
de220d0f
ML
21032002-03-27 Michal Ludvig <mludvig@suse.cz>
2104
2105 * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
2106 (x86_64_num_regs, x86_64_num_gregs): Added extern variables.
2107 * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS.
2108 (x86_64_linux_dr_get_status, supply_gregset),
2109 (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs.
2110 * x86-64-tdep.c (x86_64_register_raw_size_table): Delete.
2111 (x86_64_register_info_table): Add.
2112 (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add.
2113 (x86_64_register_raw_size, x86_64_register_virtual_type),
2114 (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new
2115 general x86_64_register_info_table.
2116 (i386_gdbarch_init): gdbarch_register_bytes is now set
2117 dynamicaly during initialization.
2118 * regformats/reg-x86-64.dat: Synced with changes to registers above.
2119 * gdbserver/linux-x86-64-low.c: Ditto.
7e336ba1 2120
0e98d0a7
DJ
21212002-03-27 Daniel Jacobowitz <drow@mvista.com>
2122
2123 * gdbserver/server.c (main): Call target_signal_to_host_p
2124 and target_signal_to_host on signals received from the remote.
2125 * gdbserver/remote-utils.c (prepare_resume_reply): Call
2126 target_signal_from_host on signals sent to the remote.
2127 * gdbserver/server.h: Add prototypes. Include "gdb/signals.h".
2128 * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}.
2129
3130066b
DJ
21302002-03-27 Daniel Jacobowitz <drow@mvista.com>
2131
2132 * signals/signals.c: Include "server.h" in gdbserver build.
2133 (target_signal_from_name): Don't use STREQ.
2134 (_initialize_signals): Likewise. Don't include function in
2135 gdbserver build.
2136
9aedf4f4
DJ
21372002-03-27 Daniel Jacobowitz <drow@mvista.com>
2138
2139 * signals.c: Moved to...
2140 * signals/signals.c: Here.
7e336ba1 2141 * Makefile (signals.o): Update.
9aedf4f4 2142
3fa41cdb
JL
21432002-03-26 Jeff Law (law@redhat.com)
2144
2145 * somread.c (som_symtab_read): Remove some commented out code and
2146 updated related comments. Do not set the minimal symbol table to
2147 mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
2148 in a dynamic executable.
2149 * hppa-tdep.c (find_proc_framesize): Sanely handle the case
2150 where we are unable to find the minimal symbol for the given
2151 PC value.
2152
ee677e8d
MS
21532002-03-25 Jeff Law (law@redhat.com)
2154
2155 * linux-proc.c (read_mapping): Scan up to end of line for filename.
2156
e76e1718
ML
21572002-03-25 Michal Ludvig <mludvig@suse.cz>
2158
2159 * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
2160
18a642a1
AC
21612002-03-23 Andrew Cagney <ac131313@redhat.com>
2162
2163 * command.h: Update copyright.
2164 (struct cmd_list_element): Replace definition with opaque
2165 declaration.
2166 (enum cmd_types): Document that it will eventually be moved to
2167 cli/cli-decode.h
2168 (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
2169 (MALLOCED_REPLACEMENT): Delete macro.
2170 * Makefile.in (cli_decode_h): Add $(command_h).
2171 (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
7e336ba1 2172 * top.c: Include "cli/cli-decode.h".
18a642a1
AC
2173 * completer.c: Include "cli/cli-decode.h".
2174 * maint.c: Include "cli/cli-decode.h".
2175 * cli/cli-decode.h: Include "command.h".
2176 (enum command_class): Delete.
2177 (enum cmd_types): Comment out.
2178 (enum cmd_auto_boolean): Delete.
2179 (enum var_types): Delete.
2180
b2875cc0
AC
21812002-03-23 Andrew Cagney <ac131313@redhat.com>
2182
2183 * cli/cli-decode.c: Include "gdb_assert.h".
2184 (add_set_or_show_cmd): New static function.
2185 (add_set_cmd): Rewrite. Use add_set_or_show_cmd.
2186 (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy
2187 all fields, such as func, from the set command.
2188
3b45974e
AC
21892002-03-23 Andrew Cagney <ac131313@redhat.com>
2190
2191 * MAINTAINERS (sh-elf): Change warning flag to -w.
2192
823ca731
AC
21932002-03-23 Andrew Cagney <cagney@redhat.com>
2194
2195 * defs.h (error): Add printf format attribute.
2196 * thread-db.c (thread_from_lwp): Fix error format string.
2197 * stack.c (parse_frame_specification): Ditto.
2198 * cli/cli-decode.c (undef_cmd_error): Ditto.
2199 * scm-lang.c (scm_lookup_name): Ditto.
2200 * tracepoint.c (trace_error): Ditto.
2201 * remote-utils.c (usage): Ditto.
2202 * remote.c (compare_sections_command): Ditto.
2203 Fix PR gdb/328.
2204
0e101458
AC
22052002-03-22 Andrew Cagney <ac131313@redhat.com>
2206
2207 * gdbtypes.c (append_composite_type_field): New function.
2208 (init_composite_type): New function.
2209 * gdbtypes.h (append_composite_type_field): Declare.
2210 (init_composite_type): Ditto.
2211
8e0662df
EZ
22122002-03-22 Elena Zannoni <ezannoni@redhat.com>
2213
2214 * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
7e336ba1 2215 function.
8e0662df
EZ
2216 * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
2217 * rs6000-tdep.c (rs6000_gdbarch_init): Use different
2218 structure returning convention for SYSV ABI case, but not
2219 for GNU/Linux, FreeBSD, or NetBSD.
2220
3121eff0
DJ
22212002-03-22 Daniel Jacobowitz <drow@mvista.com>
2222
2223 * symtab.h (lookup_block_symbol): Add mangled_name argument
2224 to prototype.
2225
2226 * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
2227 with new mangled_name argument.
2228 * linespec.c (decode_line_1): Likewise.
2229 * valops (value_of_this): Likewise.
2230 * symtab.c (lookup_transparent_type): Likewise.
2231 (lookup_symbol_aux): Likewise. Accept new mangled_name argument.
2232 (lookup_symbol): If we are given a mangled name, pass it down
2233 to lookup_symbol_aux.
2234 (lookup_block_symbol): If we are given a mangled name to check
2235 against, only return symbols which match it.
2236
349b409f
CF
22372002-03-22 Christopher Faylor <cgf@redhat.com>
2238
2239 * win32-nat.c (child_create_inferior): Check for proper shell to use
2240 here, in case the user changes it on the fly.
2241 (_initialize_inftarg): Remove shell path considerations.
2242
2a873819
EZ
22432002-03-21 Elena Zannoni <ezannoni@redhat.com>
2244
2245 * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
2246 for gdbarch_max_register_raw_size and max_register_virtual_size.
2247 Adjust copyright year.
2248
a1b9830c
DJ
22492002-03-21 Daniel Jacobowitz <drow@mvista.com>
2250
2251 * dbxread.c (process_one_symbol): Extend the first N_SLINE
2252 in a function to cover the entire beginning of the function
2253 as well if it does not already.
2254
8b5790f2
TR
22552002-03-21 Tom Rix <trix@redhat.com>
2256
2257 * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32.
2258 (rs6000_ptrace64): Renamed from ptrace64.
2259
bdbe5747
MH
22602002-03-20 Martin M. Hunt <hunt@redhat.com>
2261
2262 * gdbserver/remote-utils.c (remote_open): Don't call
2263 getprotobyname, we're all using TCP here so just use
2264 IPPROTO_TCP.
7e336ba1 2265 * gdbserver/gdbreplay.c (remote_open): Ditto.
bdbe5747
MH
2266
22672002-03-20 Martin M. Hunt <hunt@redhat.com>
7e336ba1 2268
bdbe5747
MH
2269 * regcache.c (_initialize_regcache): No need to call
2270 build_regcache() at this time; it gets called whenever
2271 the gdbarch changes.
2272
7781cd62
DB
22732002-03-20 David O'Brien <obrien@FreeBSD.org>
2274
2275 * sparc-nat.c: Include sys/param.h where possible.
2276
f65ca430
DJ
22772002-03-20 Daniel Jacobowitz <drow@mvista.com>
2278
2279 Fix PR gdb/422.
2280 * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
2281 FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
2282 * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
2283 complex types.
2284 * stabsread.c (rs6000_builtin_type): Likewise.
2285 (read_sun_floating_type): Likewise.
2286
0c867556
PS
22872002-03-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2288
2289 * stabsread.c (read_member_functions): Remove skip code for duplicate
2290 constructor/destructor methods. Use standard parsing for these
2291 methods and just do not chain them to the list of methods after
2292 parsing.
2293
12b9c64f
AO
22942002-03-19 Alexandre Oliva <aoliva@redhat.com>
2295
2296 * coffread.c: Remove redundant static declarations. Replace
2297 occurrences of `PTR' with `void *'.
2298 * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
2299 * top.h (quit_cover): Likewise.
2300 * defs.h (catch_errors): Likewise.
2301
349c5d5f
AC
23022002-03-18 Andrew Cagney <ac131313@redhat.com>
2303
2304 * defs.h (XMALLOC): Define.
2305 * gdb-events.sh (XMALLOC): Delete macro.
2306 * gdb-events.c, gdb-events.h: Regenerate.
2307 * gdbarch.sh (XMALLOC): Delete macro.
2308 * gdbarch.c: Regenerate.
2309 * serial.c (XMALLOC): Delete macro.
2310 * ui-file.c (XMALLOC): Ditto.
2311 * ser-unix.h (XMALLOC): Ditto.
2312 * sh-tdep.c (XMALLOC): Ditto.
2313 * ui-out.c (XMALLOC): Ditto.
2314 * utils.c (XMALLOC): Ditto.
2315 * i386-tdep.c (XMALLOC): Ditto.
2316 * gdb-events.c (XMALLOC): Ditto.
2317 * d10v-tdep.c (XMALLOC): Ditto.
2318 * cli-out.c (XMALLOC): Ditto.
2319
2320 * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
2321 * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
2322 * ui-file.c, ui-out.c: Ditto.
2323
7d0766f3
AC
23242002-03-18 Andrew Cagney <ac131313@redhat.com>
2325
2326 * command.h (struct cmd_list_element): Add field context.
2327 (set_cmd_context, get_cmd_context): Declare.
2328 * cli/cli-decode.h: Ditto.
2329 * cli/cli-decode.c (get_cmd_context): New function.
2330 (set_cmd_context): New function.
2331 (add_cmd): Initialize context.
2332 Part of fixing PR gdb/145 and PR gdb/146.
2333
5913bcb0
AC
23342002-03-17 Andrew Cagney <ac131313@redhat.com>
2335
1868c04e
AC
2336 * cli/cli-decode.c (cmd_type): New function.
2337 * command.h (cmd_type): Declare.
2338 * infrun.c (set_schedlock_func): Call function cmd_type.
2339 * kod.c (kod_set_os): Call cmd_type.
2340 * cris-tdep.c (cris_version_update): Use function cmd_type.
2341 (cris_mode_update, cris_abi_update): Ditto.
2342
5913bcb0
AC
2343 * command.h: (execute_cmd_post_hook): Declare.
2344 (execute_cmd_pre_hook): Declare.
2345 * cli/cli-script.c (clear_hook_in_cleanup): New function.
2346 (execute_cmd_post_hook, execute_cmd_pre_hook): New
2347 functions. Execute pre/post hook while ensuring that afterwords
2348 hook_in is cleared.
2349 * top.c (execute_command): Use execute_cmd_post_hook, and
2350 execute_cmd_pre_hook to execute pre/post commands.
2351 * infrun.c (normal_stop): Pass stop_command and not pre_hook to
2352 hook_stop_stub.
2353 (hook_stop_stub): Call execute_cmd_pre_hook.
2354
b51450c9
AC
23552002-03-17 Andrew Cagney <ac131313@redhat.com>
2356
2357 * kod.c (kod_set_os): Revert previous change. Is called by ``info
2358 set'' and this leads to a core dump. Move xstrdup of
2359 operating_system to after check that it is not NULL.
2360
f66c9f11
AC
23612002-03-17 Andrew Cagney <ac131313@redhat.com>
2362
8e694ecf
AC
2363 * kod.c (kod_set_os): Remove unnecessary check that
2364 ``command->type'' is set_cmd.
2365
f66c9f11
AC
2366 * valprint.c (set_input_radix): Use input_radix.
2367 (set_output_radix): Use output_radix.
2368 (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
2369 isn't reverted.
2370
9d01611c
AC
23712002-03-16 Andrew Cagney <ac131313@redhat.com>
2372
2373 * value.h (struct value): Delete field ``substring_addr''. Change
2374 aligner fields to force_doublest_align, force_longest_align,
ee2d3b3a
AC
2375 force_core_addr_align and force_pointer_aligh.
2376
2377 * value.h (struct value): Fix typo in above change.
9d01611c 2378
4156bb53
PS
23792002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2380
2381 * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
2382 to fix internal_error from ``maintenance print architecture''.
2383
0e5e3ea6
PS
23842002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2385
2386 * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
2387 for gcc versions after gcc-2.8.1.
2388
9b013045
PS
23892002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2390
2391 * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
2392 for method resolution. Restore adjustment of ``this'' pointer after
2393 calling value_struct_elt, which was accidentally removed during the
2394 HP merge.
2395
376c9600
AC
23962002-03-15 Andrew Cagney <ac131313@redhat.com>
2397
2398 * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
2399 value_of_register.
2400 * findvar.c (value_of_register): Add ``frame'' parameter. Pass to
2401 get_saved_register.
2402 * value.h (value_of_register): Update.
2403
a4db0f07
RH
24042002-03-14 Richard Henderson <rth@redhat.com>
2405
2406 * configure.in: Detect declaration for canonicalize_file_name.
2407 * utils.c (canonicalize_file_name): Declare, if needed.
2408 (gdb_realpath): Prefer realpath if available and usable.
2409 * config.in, configure: Rebuild.
2410
96383835
RH
24112002-03-14 Richard Henderson <rth@redhat.com>
2412
2413 * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
2414 a constant array bound.
2415
2416 * MAINTAINERS: Add myself to write-after-approval.
2417
75245b24
MS
24182002-03-14 Michael Snyder <msnyder@redhat.com>
2419
2420 * symfile.c (syms_from_objfile): Return immediately if no syms.
2421 (symbol_file_add): Return immediately if no syms.
2422 (find_sym_fns): Return immediately if no syms.
2423
e641a1ca
ML
24242002-03-13 Michal Ludvig <mludvig@suse.cz>
2425
2426 * gdbserver/remote-util.c (remote_open): Print remote-side's
2427 IP address when remote debugging over the network.
7e336ba1 2428
df08bfec
DB
24292002-03-12 David O'Brien <obrien@FreeBSD.org>
2430
2431 * config/sparc/fbsd.mh: Fix copyright.
2432 * config/sparc/fbsd.mt: Likewise.
2433
9a57864f
RE
24342002-03-11 Richard Earnshaw <rearnsha@arm.com>
2435
2436 * MAINTAINERS: Fix typo in name of gdb warnings option.
2437 (x86-64): Fix formating so that this can be parsed by awk.
2438
dd7bf85e
DJ
24392002-03-10 Daniel Jacobowitz <drow@mvista.com>
2440
2441 * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
2442 * defs.h: Include "gdb/signals.h".
2443 (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.
2444
33a0a2ac
ML
24452002-03-10 Michal Ludvig <mludvig@suse.cz>
2446
2447 * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
7e336ba1 2448 * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
33a0a2ac
ML
2449 from x86-64-tdep.h
2450
dd824b04
DJ
24512002-03-10 Daniel Jacobowitz <drow@mvista.com>
2452 Don Howard <dhoward@redhat.com>
2453
2454 * mips-tdep.c (ST0_FR): Define.
2455 (mips2_fp_compat): New function, temporarily disabled.
2456 (mips_read_fp_register_single): New function.
2457 (mips_read_fp_register_double): New function.
2458 (mips_print_register): Use them.
2459 (do_fp_register_row): Likewise.
2460
6a41ff59
AC
24612002-03-09 Andrew Cagney <ac131313@redhat.com>
2462
2463 * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
2464 approval''.
2465
4ea09c10
PS
24662002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2467
2468 * stabsread.c (read_member_functions): Fix is_stub test for
2469 static member functions, improve comment.
2470
6ccc741d
RE
24712002-03-07 Richard Earnshaw <rearnsha@arm.com>
2472
2473 * remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
2474 (mywrite, mywritec, mypause, myreadc, mygets): Likewise.
2475 (_initialize_remote_rdi): Use add_set_boolean_cmd to register
2476 commands that set boolean values.
2477 (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
2478 (arm_rdi_resume): Always initialize PC.
2479 (arm_rdi_open): Don't use rslt as a boolean.
2480 (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
2481 (arm_rdi_fetch_registers, arm_rdi_store_registers)
2482 (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
2483 (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
2484
438013df
AO
24852002-03-06 Alexandre Oliva <aoliva@redhat.com>
2486
2487 * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
2488 * configure: Rebuilt.
2489
70ed8774
SC
24902002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2491
2492 * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
2493 (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
2494
5ba2abeb
AC
24952002-03-06 Andrew Cagney <ac131313@redhat.com>
2496
2497 * cli/cli-decode.c (set_cmd_completer): New function.
2498 * command.h (set_cmd_completer): Declare.
2499 * cli/cli-decode.h (set_cmd_completer): Ditto.
2500
2501 * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
2502 * cli/cli-cmds.c (init_cli_cmds): Ditto.
2503 * win32-nat.c (_initialize_inftarg): Ditto.
2504 * remote-rdi.c (_initialize_remote_rdi): Ditto.
2505 * proc-api.c (_initialize_proc_api): Ditto.
2506 * hppa-tdep.c (_initialize_hppa_tdep): Ditto.
2507 * source.c (_initialize_source): Ditto.
2508 * exec.c (_initialize_exec): Ditto.
2509 * solib.c (_initialize_solib): Ditto.
2510 * top.c (init_main): Ditto.
2511 * tracepoint.c (_initialize_tracepoint): Ditto.
2512 * symfile.c (_initialize_symfile): Ditto.
2513 * printcmd.c (_initialize_printcmd): Ditto.
2514 * infcmd.c (_initialize_infcmd): Ditto.
2515 * corefile.c (_initialize_core): Ditto.
2516
f779ca99
AC
25172002-03-05 Andrew Cagney <ac131313@redhat.com>
2518
2519 * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler.
2520
01a3934b
AC
25212002-03-05 Andrew Cagney <ac131313@redhat.com>
2522
2523 * MAINTAINERS: Fix Mac OS X and Objective-C/C++.
2524
37057839
AC
25252002-03-05 Andrew Cagney <ac131313@redhat.com>
2526
2527 * NEWS: Update headings, 5.2 has branched.
2528
c6ecbae5
DJ
25292002-03-04 Daniel Jacobowitz <drow@mvista.com>
2530
2531 * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
2532 (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
2533 (register_addr, REGISTER_RAW_SIZE): Likewise.
2534 (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
2535 * gdbserver/linux-x86-64-low.c: Remove extra #endif.
2536
e9f30c21
ML
25372002-03-03 Michal Ludvig <mludvig@suse.cz>
2538
2539 * MAINTAINERS (x86-64): Add myself.
2540 * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
2541 changed value_ptr -> struct value *
2542
54394ac3
DB
25432002-03-01 David O'Brien <obrien@FreeBSD.org>
2544
2545 * configure.host (sparc64-*-freebsd): Add.
2546 * configure.tgt: Likewise.
2547 * config/sparc/fbsd.mh: New file.
2548 * config/sparc/fbsd.mt: Likewise.
2549 * config/sparc/nm-fbsd.h: Likewise.
2550 * config/sparc/tm-fbsd.h: Likewise.
2551
bfe95955
DJ
25522002-03-01 Daniel Jacobowitz <drow@mvista.com>
2553
2554 * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
2555 regformats/reg-s390x.dat.
2556
f33c6cbf
AC
25572002-03-01 Andrew Cagney <ac131313@redhat.com>
2558
2559 * utils.c: Add FIXME explaining true/false problem.
2560
5ecaa7dd
AC
25612002-02-28 Andrew Cagney <ac131313@redhat.com>
2562
2563 * MAINTAINERS (Past Maintainers): Add J.T. Conklin.
2564
2a251cc2
MC
25652002-02-28 Michael Chastain <mec@shout.net>
2566
2567 * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .
2568
6a8031a3 25692002-02-28 Daniel Jacobowitz <drow@mvista.com>
265f716b
DJ
2570
2571 * gdbserver/linux-s390-low.c: New file.
2572 * regformats/reg-s390.dat: New file.
2573 * regformats/reg-s390x.dat: New file.
2574 * gdbserver/configure.srv: Add S/390.
2575 * gdbserver/Makefile.in: Add S/390.
2576 * configure.tgt: Enable gdbserver for S/390.
2577
ac469903
EZ
25782002-02-28 Eli Zaretskii <eliz@is.elta.co.il>
2579
2580 * go32-nat.c (_initialize_go32_nat): Don't use periods in the
2581 first line of the doc string for "info dos", except at the end of
2582 the sentence, since the short help stops at the first period.
2583
985cb1a3
JM
25842002-02-28 Jason Merrill <jason@redhat.com>
2585
2586 * dwarf2read.c (dwarf_cfi_name): Add new codes.
2587
c570663e
FF
25882002-02-27 Fred Fish <fnf@redhat.com>
2589
2590 * blockframe.c (generic_fix_call_dummy): Fix obvious typo in
2591 comment (dumy -> dummy).
2592
43630227
PS
25932002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2594
2595 * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames.
2596
b84911e8
RB
25972002-02-27 Rodney Brown <rbrown64@csc.com.au>
2598
2599 * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
2600
58caa3dc
DJ
26012002-02-27 Daniel Jacobowitz <drow@mvista.com>
2602
2603 * gdbserver/acconfig.h: New file.
2604 * gdbserver/i387-fp.c: New file.
2605 * gdbserver/i387-fp.h: New file.
2606 * gdbserver/linux-x86-64.c: New file.
2607 * regformats/reg-x86-64.dat: New file.
2608 * configure.tgt: Add x86_64-*-linux* gdbserver support.
2609 * gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
2610 * gdbserver/configure.in: Add support for regsets.
2611 * gdbserver/config.in: Regenerate.
2612 * gdbserver/configure: Regenerate.
2613 * gdbserver/Makefile.in: Likewise. Add $(linux_low_h).
2614 * gdbserver/linux-low.h: New file.
2615 * gdbserver/linux-low.c: Include "linux-low.h". Add support
2616 for regsets.
2617 * gdbserver/linux-arm-low.c: Include "linux-low.h".
2618 * gdbserver/linux-ia64-low.c: Include "linux-low.h".
2619 * gdbserver/linux-m68k-low.c: Include "linux-low.h".
2620 * gdbserver/linux-mips-low.c: Include "linux-low.h".
2621 * gdbserver/linux-ppc-low.c: Include "linux-low.h".
2622 * gdbserver/linux-sh-low.c: Include "linux-low.h".
2623 * gdbserver/linux-i386-low.c: Include "linux-low.h". Include
2624 "i387-fp.h". Add PTRACE_GETREGS and friends.
2625 * gdbserver/regcache.c (supply_register): New function.
2626 (supply_register_by_name): New function.
2627 (collect_register): New function.
2628 (collect_register_by_name): New function.
2629
93652174
DJ
26302002-02-27 Daniel Jacobowitz <drow@mvista.com>
2631
2632 * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
2633 (config.status): Add configure.srv dependency.
2634 (server_h): Add config.h dependency.
2635
a02e4a61
DJ
26362002-02-27 Daniel Jacobowitz <drow@mvista.com>
2637
2638 * regformats/reg-i386-linux.dat: New file, with $orig_eax.
2639 * gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
2640 * gdbserver/configure.srv: Change i386-*-linux* to use
2641 reg-i386-linux.o.
2642
ce0eebec
AC
26432002-02-26 Andrew Cagney <ac131313@redhat.com>
2644
2645 * x86-64-tdep.c: Re-indent. Update copyright date.
2646
82dbc5f7
AC
26472002-02-26 Andrew Cagney <ac131313@redhat.com>
2648
2649 From Michal Ludvig <mludvig@suse.cz>:
2650 * x86-64-tdep.c (value.h): Delete.
2651 (gdb_assert.h): Include.
2652 (x86_64_register_convert_to_virtual,
2653 x86_64_register_convert_to_raw ): Add check which lets only
2654 floating-point values to be converted.
2655 (value_push): Delete.
2656 (x86_64_push_arguments): Order of arguments pushed on stack fixed.
2657 (i386_gdbarch_init): Number of register_bytes fixed.
2658
e4621584
AC
26592002-02-26 Andrew Cagney <ac131313@redhat.com>
2660
2661 * MAINTAINERS: Add x86-64 target.
2662
81a9a963
AC
26632002-02-26 Andrew Cagney <ac131313@redhat.com>
2664
2665 * memattr.c (mem_command): Eliminate ``true'' and ``false''.
2666 * osfsolib.c (solib_map_sections): Ditto.
2667 * irix5-nat.c (solib_map_sections): Ditto.
2668 * corelow.c (gdb_check_format): Ditto.
2669 * symfile.c (symfile_bfd_open): Ditto.
2670 * solib.c (solib_map_sections): Ditto.
2671 Fix PR gdb/354.
7e336ba1 2672
0f017ab9
AC
26732002-02-26 Andrew Cagney <ac131313@redhat.com>
2674
2675 * remote.c (_initialize_remote): By default, disable ``e'' and
2676 ``E'' step out-of-range packets.
2677
75738c29
AS
26782002-02-26 Andreas Schwab <schwab@suse.de>
2679
2680 * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
2681 m68k_linux_frame_saved_pc.
2682 (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
2683 in_sigtramp.
2684 (SIGCONTEXT_PC_OFFSET): Remove.
2685 * m68klinux-nat.c (m68k_linux_frame_saved_pc,
2686 m68k_linux_sigtramp_saved_pc): New functions.
2687 (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
2688 (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
2689 (UCONTEXT_PC_OFFSET): Define.
2690 (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
2691 non-RT and RT signal trampolines.
2692
7e8ed687
RE
26932002-02-26 Richard Earnshaw <rearnsha@arm.com>
2694
2695 * config/arm/tm-embed.h (TARGET_UPAGES): Delete.
2696 (TARGET_NBPG, STACK_END_ADDR): Delete
2697 (VARIABLES_INSIDE_BLOCK): Delete.
2698
6972bc8b
AC
26992002-02-25 Andrew Cagney <ac131313@redhat.com>
2700
2701 * utils.c (perror_with_name): Make string parameter constant.
2702 (print_sys_errmsg): Ditto.
2703 (query): Ditto.
2704 * defs.h (perror_with_name): Update.
2705 (print_sys_errmsg): Update.
2706 (query): Update.
2707
aa32f823
DJ
27082002-02-25 Daniel Jacobowitz <drow@mvista.com>
2709
2710 From Eliot Dresselhaus <eliot@ayrnetworks.com>:
2711 * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
2712
19caaa45
PS
27132002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2714
2715 * rs6000-nat.c (set_host_arch): Do not switch to a new architecture
2716 if it already matches the current architecture from the exec file.
2717 Include arch-utils.h for gdbarch_info_init prototype.
2718 * Makefile.in (rs6000-nat.o): Update dependencies.
2719
d951901f
EZ
27202002-02-25 Eli Zaretskii <eliz@is.elta.co.il>
2721
2722 * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the
2723 list of exported variables.
2724
7ea81414
DJ
27252002-02-24 Daniel Jacobowitz <drow@mvista.com>
2726
2727 * gdbserver/configure.srv: New file.
2728 * gdbserver/configure.in: Use configure.srv instead
2729 of the host/target makefile fragments. Set GDBSERVER_DEPFILES
2730 from it.
2731 * gdbserver/configure: Regenerated.
2732 * gdbserver/terminal.h: New file.
2733 * gdbserver/Makefile.in: Update for configure changes. Remove
2734 more unneeded include paths.
2735
080fe24b
AC
27362002-02-24 Andrew Cagney <ac131313@redhat.com>
2737
2738 From wiz at danbala:
2739 * config/sparc/tm-sp64.h: Fix grammar and typos.
2740 Fix PR gdb/287.
2741
8605d56e
AC
27422002-02-24 Andrew Cagney <ac131313@redhat.com>
2743
2744 * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux''
a4b6fc86
AC
2745 with either ``GNU/Linux'' or ``Linux kernel''. Update copyright.
2746 * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto.
2747 * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto.
ca557f44
AC
2748 * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto.
2749 * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto.
2750 * s390-tdep.c: Ditto.
92362027
AC
2751 * config/nm-linux.h, config/alpha/nm-linux.h: Ditto.
2752 * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h:
2753 * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto.
2754 * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto.
2755 * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto.
2756 * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto.
2757 * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto.
2758 * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto.
2759 * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto.
2760 * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto.
8605d56e 2761 Fix PR gdb/378.
7e336ba1 2762
8ed32cc0
AC
27632002-02-23 Andrew Cagney <ac131313@redhat.com>
2764
a3007b6f
AC
2765 * lin-thread.c: Delete file.
2766 * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer
2767 to gdb_proc_service.h.
2768 * configure: Re-generate.
2769
50a9e2f1
AC
2770 * ocd.c (ocd_open): Do not try to open the "ocd" device.
2771 * serial.c (serial_open): Delete check for "ocd".
2772 Fix PR gdb/349.
2773
8b6e7932
AC
2774 * Makefile.in (linux-thread.o): Delete target.
2775 * linux-thread.c: Delete file.
2776
d155c46b
AC
2777 * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other
2778 renamed SH files to be consistent.
2779
8ed32cc0
AC
2780 * symtab.c (sort_search_symbols): Use xfree.
2781
0e18d038
RE
27822002-02-23 Richard Earnshaw <rearnsha@arm.com>
2783
2784 * arm-linux-tdep.c (arm_linux_init_abi): Register
2785 IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE
2786 * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old
2787 definition with undef, since we don't want the sysvr4 definition.
2788 (SKIP_TRAMPOLINE_CODE): Likewise.
2789
27aac7ff
AC
27902002-02-23 Andrew Cagney <ac131313@redhat.com>
2791
2792 From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>:
2793
2794 * configure.in: (AC_CHECK_FUNCS) Added test for
2795 canonicalize_file_name Regenerated.
2796 * config.in, configure: Regenerated.
2797 * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is
2798 defined use canonicalize_file_name.
7e336ba1 2799
65a6e0ee
MC
28002002-02-23 Michael Chastain <mec@shout.net>
2801
2802 * MAINTAINERS: Remove Michael Chastain from "paper trail" list.
2803
47b95330
AC
28042002-02-23 Andrew Cagney <ac131313@redhat.com>
2805
2806 * README: Remove references to cygnus.com.
2807 * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar
2808 dot com'' form. Remove references to cygnus.com and sourceware.
2809
696f451b
AC
28102002-02-23 Andrew Cagney <ac131313@redhat.com>
2811
2812 From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
2813 * Makefile.in (VER): Change "head -1" to "sed q", since POSIX
2814 1003.1-2001 no longer allows "head -1".
2815 * gdb/Makefile.in (version.c): Likewise.
2816 * gdb/doc/Makefile.in (GDBvn.texi): Likewise.
2817 * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
2818 equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
2819
bbaca940
AC
28202002-02-23 Andrew Cagney <ac131313@redhat.com>
2821
2822 * cli/cli-decode.c (cmd_cfunc_eq): New function.
2823 * command.h (cmd_cfunc_eq): Declare.
2824 * cli/cli-decode.h (cmd_cfunc_eq): Ditto.
2825
2826 * cli/cli-cmds.h (is_complete_command): Change parameter to a
2827 ``struct cmd_list_element *''.
2828 * cli/cli-cmds.c (is_complete_command): Update. Use
2829 cmd_cfunc_eq.
2830 * top.c (execute_command): Pass the command to
2831 is_complete_command.
2832 * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
2833
b8b8b047
AC
28342002-02-23 Andrew Cagney <ac131313@redhat.com>
2835
2836 From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:
2837 * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed
2838 architecture defines.
2839 * s390-tdep.c (s390_gdbarch_init): Likewise.
2840
19d3fc80
RE
28412002-02-23 Richard Earnshaw <rearnsha@arm.com>
2842
2843 * arm-linux-tdep.c (arm_linux_extract_return_value): Make static.
2844 (arm_linux_push_arguments): Likewise.
2845 (arm_linux_init_abi): Register them. Also register linux-specific
2846 call_dummy_words.
2847 (find_minsym_and_objfile): Use strcmp, not STREQ.
2848 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete.
2849 (arm_linux_call_dummy_words): Delete declaration.
2850 (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete.
2851 (arm_linux_extract_return_value, arm_linux_push_arguments): Delete
2852 declarations.
2853 (LOWEST_PC): Delete.
2854
3ab13650
PS
28552002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2856
2857 * maint.c (print_section_info): Do not prepend `0x' to filepos
2858 output, it will be handled by local_hex_string_custom.
2859
19d3fc80 28602002-02-23 Richard Earnshaw <rearnsha@arm.com>
85ae890c
RE
2861
2862 * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.
2863 (store_newfpe_double, store_newfpe_extended, store_fpregister)
2864 (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
2865
d85a5daf
JB
28662002-02-22 Jim Blandy <jimb@redhat.com>
2867
2868 Indicate that the bcache functions don't change the strings
2869 they're passed.
2870 * bcache.h (bcache, hash): Add `const' keywords to declarations.
2871 * bcache.c (bcache, hash): Add `const' keywords to definitions.
2872
eeb25b8a
PM
28732002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>
2874
2875 * win32-nat.c (child_create_inferior): Fix create flags setting bug.
2876
6badb179
CF
28772002-02-21 Christopher Faylor <cgf@redhat.com>
2878
2879 * win32-nat.c (register_loaded_dll): Just use raw name when we can't
2880 find the complete path to a loaded DLL.
2881
e8717518
FF
28822002-02-21 Fred Fish <fnf@redhat.com>
2883
2884 * dbxread.c (process_one_symbol): When finding an N_FUN symbol
2885 that marks the end of the range of a function, enter a line number
2886 entry that has a line number of zero and a PC offset that matches
2887 the end of the function. This starts a range of PC's for which no
2888 line number information is known.
2889 * symtab.c (find_pc_sect_line): If our best fit is in a range of
2890 PC's for which no line number info is found (line number is zero)
2891 then we didn't find any valid line information.
2892 * symtab.h: Document use of zero line number entry.
2893
9abe5450
EZ
28942002-02-21 Elena Zannoni <ezannoni@redhat.com>
2895
2896 * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define.
2897 (have_ptrace_getvrregs): Define for run time checks.
2898 (gdb_vrregset_t): New type for Altivec register handling.
2899 (fetch_register, store_register): Fetch/store altivec register
2900 when needed.
2901 (fetch_altivec_register, store_altivec_register): New functions.
2902 (supply_vrregset, fill_vrregset): New functions.
2903 (fetch_altivec_registers, store_altivec_registers): New functions.
2904 (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec
2905 registers as well.
2906
aaa38bb5
AJ
29072002-02-21 Jiri Smid <smid@suse.cz>
2908
2909 * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.
2910
b34db576
RE
29112002-02-21 Richard Earnshaw <rearnsha@arm.com>
2912
2913 * Makefile.in (armnbsd-nat.o): Update dependencies.
2914 * armnbsd-nat.c (supply_gregset): New function. Common code to
2915 supply the integer register set.
2916 (supply_fparegset): New function. Similar for FPA registers.
2917 (fetch_regs, fetch_fp_regs): Use them.
2918 (fetch_core_registers): Likewise.
2919 (fetch_elfcore_registers): New function.
2920 (arm_netbsd_elfcore_fns): New core-file type specification.
2921 (_initialize_arm_netbsd_nat): Register it.
2922
3e56fc4b
RE
29232002-02-21 Richard Earnshaw <rearnsha@arm.com>
2924
2925 * armnbsd-nat.c: Include gdbcore.h.
2926 (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined.
2927 (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit
2928 'void' to declaration, to shut up ARI.
2929 (fetch_core_registers): Make static. Rewrite using supply_register.
2930 (arm_netbsd_core_fns): New core-file type specification.
2931 (_initialize_arm_netbsd_nat): New function.
2932
097f6b0b
CF
29332002-02-21 Christopher Faylor <cgf@redhat.com>
2934
2935 * win32-nat.c (register_loaded_dll): Correctly check for invalid handle
2936 value.
2937
c914e0cc
CF
29382002-02-20 Christopher Faylor <cgf@redhat.com>
2939
2940 * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile
2941 fails.
2942
385fa495
DJ
29432002-02-20 Daniel Jacobowitz <drow@mvista.com>
2944
2945 * jv-exp.y (parse_number): Change type of implicit longs
2946 to builtin_type_uint64.
2947
e5f1222d
DJ
29482002-02-20 Daniel Jacobowitz <drow@mvista.com>
2949
2950 * gdbserver/linux-low.c (mywait): Change argument to waitpid
2951 to be an integer instead of a `union wait'.
2952
75c9abc6
DJ
29532002-02-20 Daniel Jacobowitz <drow@mvista.com>
2954
2955 * mips-linux-nat.c: Call the operating system GNU/Linux.
2956 * mips-linux-tdep.c: Likewise.
2957 * mips-tdep.c: Likewise.
2958
551792a5
DJ
29592002-02-20 Daniel Jacobowitz <drow@mvista.com>
2960
2961 Fix PR gdb/265.
2962 * jv-exp.y (parse_number): Handle 64-bit integers.
2963
ee6e2b82
DJ
29642002-02-20 Daniel Jacobowitz <drow@mvista.com>
2965
2966 * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change
2967 AC_STDC_HEADERS to AC_HEADER_STDC.
2968 * gdbserver/configure: Regenerated.
2969
a48442a0
RE
29702002-02-20 Richard Earnshaw <rearnsha@arm.com>
2971
2972 * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC
2973 is defined.
2974 * sparc-tdep.c (get_longjmp_target): Likewise.
2975
fe419ffc
RE
29762002-02-20 Richard Earnshaw <rearnsha@arm.com>
2977
2978 * News: Add news about ARM and Multi-arch. Mention the new target
2979 arm*-*-netbsd*.
2980
5832ed7e
JB
29812002-02-19 Jim Blandy <jimb@redhat.com>
2982
2983 * stabsread.c (error_type_complaint): Improve error message.
2984
84563040
DJ
29852002-02-19 Daniel Jacobowitz <drow@mvista.com>
2986
2987 * gdbserver/README: Update documentation.
2988 * gdbserver/configure.in: Update configury to match documentation.
2989 * gdbserver/Makefile.in: Likewise.
2990 * gdbserver/configure: Regenerated.
2991 * gdbserver/aclocal.m4: New file, generated by aclocal.
2992 * gdbserver/config.in: New file, generated by autoheader.
2993
375fd65b
RE
29942002-02-19 Richard Earnshaw <rearnsha@arm.com>
2995
2996 * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and
2997 armnbsd-nat.c.
2998
08216dd7
RE
29992002-02-19 Richard Earnshaw <rearnsha@arm.com>
3000
3001 * arm-tdep.h (enum arm_float_model): New enum.
3002 (struct gdbarch_tdep): Add fp_model.
3003 * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting
3004 up floating-point conversions until we know the floating-point model
3005 in use by the inferior. Don't complain about being unable to
3006 determine the ABI of the inferior when we don't have one.
3007 (arm_extract_return_value): Support different floating-point models.
3008 (arm_store_return_value): Likewise.
aaa38bb5 3009 * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to
08216dd7
RE
3010 ARM_FLOAT_SOFT.
3011 (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP.
3012
65d6d66a
PS
30132002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3014
3015 * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use
3016 of ``current_gdbarch''.
3017
47221191
RE
30182002-02-19 Richard Earnshaw <rearnsha@arm.com>
3019
3020 * armnbsd-nat.c : ANSIfy all function declarations.
3021 (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New.
3022 (fetch_inferior_registers): Re-implement in terms of above.
3023 (store_register, store_regs, store_fp_register, store_fp_regs): New.
3024 (store_inferior_registers): Re-implement in terms of above.
3025
fdf39c9a
RE
30262002-02-19 Richard Earnshaw <rearnsha@arm.com>
3027
aaa38bb5 3028 * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the
fdf39c9a
RE
3029 kernel.
3030 * arm-linux-tdep.c: Likewise.
3031 * config/arm/tm-linux.h: Likewise.
3032
93247f88
RE
30332002-02-19 Richard Earnshaw <rearnsha@arm.com>
3034
3035 * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.
3036 * config/arm/nbsd.mt (TM_FILE): Delete.
3037 * config/arm/tm-nbsd.h: Delete.
3038
d7b486e7
RE
30392002-02-19 Richard Earnshaw <rearnsha@arm.com>
3040
3041 * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED.
3042 Initialize CALL_DUMMY_LENGTH.
3043
41d39a95
RE
30442002-02-19 Richard Earnshaw <rearnsha@arm.com>
3045
3046 * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New
3047 function.
3048 (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE.
aaa38bb5 3049 * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only
41d39a95
RE
3050 defines one thing and that is incorrect for this port.
3051 (IN_SOLIB_CALL_TRAMPOLINE): Delete.
3052
e1195560
PM
30532002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
3054
3055 * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro.
3056
c1748f97
PM
30572002-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
3058
3059 * win32-nat.c (display_selector): New function. Displays information
3060 about the information returned by GetThreadSelectorEntry API function.
3061 (display_selectors): New function. Displays the infomation of
3062 the selector given as argument, or of CS, DS ans FS selectors
3063 if no argument is given.
3064 ( _initialize_inftarg): Add "w32" as info prefix command.
3065 Add "info w32 selector" as command calling display_selectors.
3066
e41e6bbf
PM
30672002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>
3068
3069 * i386-tdep.c (get_longjmp_target): Fix compilation failure
3070 by setting dummy values to JB_PC and JB_ELEMENT_SIZE
3071 if not defined.
3072
0d3a9f48
RE
30732002-02-18 Richard Earnshaw <rearnsha@arm.com>
3074
3075 * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.
3076
3fb4b924
RE
30772002-02-18 Richard Earnshaw <rearnsha@arm.com>
3078
3079 * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.
3080 (arm_fix_call_dummy): Call it.
3081 (arm_call_dummy_breakpoint_offset): Delete.
3082 (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset.
3083 * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
3084
7f55af32
AC
30852002-02-18 Andrew Cagney <ac131313@redhat.com>
3086
3087 * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2.
3088 Default to func_frame_chain_valid.
3089 * gdbarch.h, gdbarch.c: Re-generate.
3090 * frame.h (FRAME_CHAIN_VALID): Delete definition.
3091
05f13b9c
EZ
30922002-02-18 Elena Zannoni <ezannoni@redhat.com>
3093
3094 * ppc-linux-nat.c: Update copyright.
3095 (fetch_register, store_register): Add tid parameter, don't compute
3096 tid here.
3097 (fetch_ppc_registers, store_ppc_registers): Add tid
3098 parameter. Pass it along to callees.
3099 (fetch_inferior_registers, store_inferior_registers): Compute tid
3100 here, and pass it to calleed functions.
3101 (fill_gregset, supply_fpregset): Clean up formatting.
3102
d7afb4c9
RE
31032002-02-18 Richard Earnshaw <rearnsha@arm.com>
3104
3105 * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.
3106 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
3107
9df628e0
RE
31082002-02-18 Richard Earnshaw <rearnsha@arm.com>
3109
3110 * gdbarch.sh (GET_LONGJMP_TARGET): Add rule.
3111 * gdbarch.c gdbarch.h: Regenerate.
3112 * breakpoint.c (create_longjmp_breakpoint): Always compile this
3113 function.
3114 (breakpoint_reset): Test GET_LONGJMP_TARGET_P().
3115 * infrun.c (GET_LONGJMP_TARGET): Delete default definition.
3116 (handle_inferior_event): Test GET_LONGJMP_TARGET_P().
3117
3118 * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields.
3119 * arm-tdep.c (arm_get_longjmp_target): New function.
3120 (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes
3121 this to a positive value register arm_get_longjmp_target as the
3122 longjmp handler.
3123 * arm-linux-tdep.c (arm_get_longjmp_target): Delete.
3124 (arm_linux_init_abi): Set up longjmp description in tdep.
3125 * armnbsd-nat.c (get_longjmp_target): Delete.
3126 * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp
3127 description in tdep.
3128 * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete.
3129 (get_longjmp_target): Delete declaration.
3130 (GET_LONGJMP_TARGET): Delete.
3131 * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration.
3132 (GET_LONGJMP_TARGET): Delete.
3133
57bc8964
KB
31342002-02-17 Kevin Buettner <kevinb@redhat.com>
3135
3136 From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
3137 * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use
3138 of ``current_gdbarch''.
3139
83d31a92
TT
31402002-02-17 Tom Tromey <tromey@redhat.com>
3141
3142 * cli/cli-cmds.c (compare_strings): New function.
3143 (complete_command): Only print each unique item once.
3144 * completer.h (complete_line): Declare.
3145 * completer.c (complete_line): New function.
3146 (line_completion_function): Use it.
3147
17ef5d92
AC
31482002-02-16 Andrew Cagney <ac131313@redhat.com>
3149
3150 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64.
3151 * gdbarch.h, gdbarch.c: Re-generate.
3152
491b8946
DJ
31532002-02-16 Daniel Jacobowitz <drow@mvista.com>
3154
3155 * valarith.c (value_x_unop): Fix decrement; support post-decrement.
3156
31572002-02-16 Daniel Jacobowitz <drow@mvista.com>
3158
3159 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
3160 * valops.c (value_arg_coerce): Don't take the address of a reference
3161 to convert an argument to a reference.
3162
dfe7f3ac
CF
31632002-02-15 Christopher Faylor <cgf@redhat.com>
3164
3165 * win32-nat.c (get_image_name): New function.
3166 (handle_load_dll): Use get_image_name function.
3167 (get_child_debug_event): Avoid registering debug events until possibly
3168 execed process is started.
3169 (child_create_inferior): Allow invocation via shell so that command
3170 line redirection, etc. works ok.
3171 (_initialize_inftarg): Add new command: "set shell" to control whether
3172 a shell is used to start a process.
3173
1d33e73a
DJ
31742002-02-15 Daniel Jacobowitz <drow@mvista.com>
3175
3176 * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno
3177 instead of find_register_by_number.
3178 (cannot_store_register): Likewise.
3179
48cd0caa
PM
31802002-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
3181
aaa38bb5 3182 * dwarf2read.c: Replace fprintf (stderr, ...) by
48cd0caa
PM
3183 fprintf_unfiltered (gdb_stderr, ...).
3184
8656e7d8
DJ
31852002-02-15 Daniel Jacobowitz <drow@mvista.com>
3186
3187 * gdbserver/gdbserver.1: Document --attach.
3188
66e810cd
RE
31892002-02-15 Richard Earnshaw <rearnsha@arm.com>
3190
3191 * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint
3192 descriptions.
3193 * arm-tdep.c (arm_default_arm_le_breakpoint)
3194 (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint)
3195 (arm_default_thumb_be_breakpoint): New. Initialize them from
3196 traditional breakpoint defines.
3197 (arm_breakpoint_from_pc): Use new gdbarch_tdep entries.
3198 (arm_gdbarch_init): Initialize new breakpoint variables.
3199 * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New.
3200 (arm_linux_init_abi): Initialize linux-specific breakpoint.
3201 * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New.
3202 (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common
3203 code out to ...
3204 (arm_netbsd_init_abi_common): ... here; new function.
3205 * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT)
3206 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete.
3207 * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete.
3208 * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
3209
97e03143
RE
32102002-02-15 Richard Earnshaw <rearnsha@arm.com>
3211
3212 * arm-tdep.h (enum arm_abi): New enum.
3213 (struct gdbarch_tdep): New structure.
3214 (LOWEST_PC): Provide a default.
3215 (arm_gdbarch_register_os_abi): Declare new function.
3216 * arm-tdep.c (arm_abi_names): New array.
3217 (process_note_abi_tag_sections): New function.
3218 (get_elfosabi): New function.
3219 (arm_gdbarch_register_os_abi): New function.
3220 (arm_gdbarch_init): Try to determine the ABI of the inferior. If
3221 support for that ABI has been built in, then call the appropriate
3222 configuration routine. Use gdbarch_num_regs() to get the number
3223 of registers.
3224 (arm_dump_tdep): New function.
3225 (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New
3226 place-holder functions.
3227 (_initialize_arm_tdep): Register them.
3228 * config/arm/tm-arm.h (LOWEST_PC): Delete.
3229
3230 * armnbsd-tdep.c: New file.
3231 * Makefile.in (armnbsd-tdep.o): Add dependencies.
3232 * config/arm/nbsd.mt (TDEPFILES): Add it.
3233 * config/arm/tm-nbsd.h (LOWEST_PC): Delete.
3234
3235 * armnbsd-nat.c: Include regcache.h.
3236 * Makefile.in (armnbsd-nat.o): Update dependency list.
3237
3238 * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
3239
ad68be46
DJ
32402002-02-14 Daniel Jacobowitz <drow@mvista.com>
3241
3242 * gdbserver/Makefile.in: Fix typos in target rules.
3243
003d6d1d
DJ
32442002-02-14 Daniel Jacobowitz <drow@mvista.com>
3245
aaa38bb5 3246 Fix part of PR gdb/267.
003d6d1d
DJ
3247 * linespec.c (find_methods): Handle constructors specially for now.
3248
6b230f1b
CV
32492002-02-14 Corinna Vinschen <vinschen@redhat.com>
3250
3251 * arm-tdep.c (arm_push_arguments): Eliminate special float type
3252 handling.
3253 * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call
3254 standard_coerce_float_to_double().
3255
1ea98d12
CF
32562002-02-14 Christopher Faylor <cgf@redhat.com>
3257
3258 * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of
3259 GDBINIT_FILENAME.
3260
dd47e6fd
EZ
32612002-02-14 Elena Zannoni <ezannoni@redhat.com>
3262
3263 * rs6000-tdep.c (rs6000_gdbarch_init): Don't call
3264 find_variant_by_name, because it confuses the multiarch
3265 framework. Return NULL if there isn't an architecture with the
3266 user supplied name, instead of forcing a different one without
3267 recording the change with the multiarch machinery.
3268 (find_variant_by_name): Delete.
3269
d7e39b9e
PS
32702002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3271
3272 * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by
3273 i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore.
3274
76e42a4f
MH
32752002-02-13 Martin M. Hunt <hunt@redhat.com>
3276
aaa38bb5 3277 * stack.c (print_frame_info_base): When calling
76e42a4f
MH
3278 print_frame_info_listing_hook, set current_source_symtab.
3279
0a30fbc4
DJ
32802002-02-14 Daniel Jacobowitz <drow@mvista.com>
3281
3282 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS,
3283 and remove unused $(INCLUDE_DIR).
3284 Add regcache.c to OBS.
3285 Add generated register protocol files to clean target.
3286 Update dependencies for new objects, obsolete old target code.
3287
3288 * gdbserver/linux-low.c: Remove all platform-specific code to
3289 new files. Remove various dead code. Update to use regcache
3290 functionality.
3291 * gdbserver/remote-utils.c (fromhex): Add return statement
3292 to quiet warning.
3293 (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer
3294 constant.
3295 (input_interrupt): Add integer parameter to match prototype
3296 of a signal handler.
3297 (outreg): Use register_data ().
3298 (prepare_resume_reply): Use gdbserver_expedite_regs.
3299 * gdbserver/server.c (main): Dynamically allocate own_buf because
3300 PBUFSIZ is no longer constant. Use registers_to_string () and
3301 registers_from_string ().
3302 * gdbserver/server.h: No longer include "defs.h". Add prototypes
3303 for error (), fatal (), and warning (). Update definition of
3304 PBUFSIZ to use regcache functionality. Add include guard.
3305 * gdbserver/utils.c (fatal): Add missing ``const''.
3306 (warning): New function.
3307
3308 * regformats/regdat.sh: Include "regcache.h" in generated files.
3309 Provide init_registers () function.
3310 * regformats/regdef.h: Add prototype for set_register_cache ().
3311 Add include guard.
3312
3313 * gdbserver/linux-arm-low.c: New file.
3314 * gdbserver/linux-i386-low.c: New file.
3315 * gdbserver/linux-ia64-low.c: New file.
3316 * gdbserver/linux-m68k-low.c: New file.
3317 * gdbserver/linux-mips-low.c: New file.
3318 * gdbserver/linux-ppc-low.c: New file.
3319 * gdbserver/linux-sh-low.c: New file.
3320
3321 * gdbserver/regcache.c: New file.
3322 * gdbserver/regcache.h: New file.
3323
3324 * gdbserver/low-linux.c: Removed obsolete file.
3325
4cc841d0
DJ
33262002-02-14 Daniel Jacobowitz <drow@mvista.com>
3327
3328 * config/arm/linux.mt: Update GDBSERVER_DEPFILES.
3329 * config/i386/linux.mt: Likewise.
3330 * config/ia64/linux.mt: Likewise.
3331 * config/m68k/linux.mh: Likewise.
3332 * config/powerpc/linux.mh: Likewise.
3333 * config/mips/linux.mt: Likewise.
3334
3335 * config/sh/linux.mt: Add GDBSERVER_DEPFILES.
3336
3337 * config/i386/i386lynx.mh: Mark gdbserver variables
3338 as (currently) obsolete for this target.
3339 * config/i386/nbsd.mt: Likewise.
3340 * config/i386/nbsdelf.mt: Likewise.
3341 * config/m32r/m32r.mt: Likewise.
3342 * config/m68k/m68klynx.mh: Likewise.
3343 * config/m68k/nbsd.mt: Likewise.
3344 * config/m68k/sun3os4.mh: Likewise.
3345 * config/mips/vr5000.mt: Likewise.
3346 * config/ns32k/nbsd.mt: Likewise.
3347 * config/pa/hppabsd.mh: Likewise.
3348 * config/pa/hppaosf.mh: Likewise.
3349 * config/powerpc/nbsd.mt: Likewise.
3350 * config/rs6000/rs6000lynx.mh: Likewise.
3351 * config/s390/s390.mt: Likewise.
3352 * config/s390/s390x.mt: Likewise.
3353 * config/sparc/sparclynx.mh: Likewise.
3354 * config/sparc/sun4os4.mh: Likewise.
3355 * config/i386/x86-64linux.mt: Likewise.
3356 * config/sparc/linux.mh: Likewise.
3357
a85f51e7
DJ
33582002-02-14 Daniel Jacobowitz <drow@mvista.com>
3359
3360 * configure.tgt: Configure gdbserver only for known working
3361 targets. Set ${build_gdbserver} instead of modifying ${configdirs}.
3362 * configure.in: Check ${build_gdbserver}. Put gdbserver/ into
3363 SUBDIRS if it is configured. Update comment for ${nativefile}.
3364 * configure: Regenerated.
3365
65554fef
MS
33662002-02-13 Michael Snyder <msnyder@redhat.com>
3367
670a52db
MS
3368 * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES.
3369
6dbdc4a3
MS
3370 * gcore.c (gcore_command): Use gcore_default_target instead of NULL.
3371 (default_gcore_mach): Just return 0, work around a problem in bfd.
3372 (default_gcore_target): OK to return NULL if exec_bfd is null.
3373 (make_mem_sec): Use a cast, avoid a warning.
3374
3375 * procfs.c (find_memory_regions_callback): Use a cast instead of
aaa38bb5 3376 calling host_pointer_to_address (which complains if
6dbdc4a3
MS
3377 sizeof (host pointer) != sizeof (target pointer)).
3378 (procfs_make_note_section): Avoid overflow in psargs string.
3379
aaa38bb5 3380 * procfs.c (procfs_make_note_section): Make the default
65554fef
MS
3381 implementation return an error.
3382
33832002-02-13 Rodney Brown <rbrown64@csc.com.au>
3384
3385 * procfs.c (procfs_make_note_section): Provide a default definition
3386 (for alpha-dec-osf4.0f). Fix typos.
3387
1e4d76e7
EZ
33882002-02-13 Elena Zannoni <ezannoni@redhat.com>
3389
3390 * linux-proc.c: Add include of regcache.h.
3391 * Makefile.in (linux-proc.o): Add dependency on regcache.h.
3392
b6d1a1d5
AC
33932002-02-13 Andrew Cagney <ac131313@redhat.com>
3394
3395 From 2002-01-18 Greg McGary <greg@mcgary.org>:
aaa38bb5
AJ
3396 * memattr.c (create_mem_region): Disallow useless empty region.
3397 Regions are half-open intervals, so allow [A..B) [B..C) as
65554fef 3398 non-overlapping.
b6d1a1d5 3399
6c6ea35e
MC
34002002-02-13 Michael Chastain <mec@shout.net>
3401
3402 * defs.h: Kill CONST_PTR.
3403 * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const".
3404 * c-lang.c (c_builtin_types): Likewise.
3405 * ch-lang.c (ch_builtin_types): Likewise.
3406 * f-lang.c (f_builtin_types): Likewise.
3407 * language.c (unknown_builtin_types): Likewise.
3408 * m2-lang.c (m2_builtin_types): Likewise.
3409 * p-lang.c (pascal_builtin_types): Likewise.
3410 * scm-lang.c (c_builtin_types): Likewise.
3411
3e0b0f48
KS
34122002-02-13 Keith Seitz <keiths@redhat.com>
3413
3414 * arm-tdep.h (arm_get_next_pc): Add declaration.
3415
67255d04
RE
34162002-02-13 Richard Earnshaw <rearnsha@arm.com>
3417
3418 * arm-tdep.c (arm_use_struct_convention): Make static. Move to be
3419 with other related struct-returning functions.
3420 (arm_extract_struct_value_address): New function.
3421 (arm_gdbarch_init): Initialize the above in multi-arch vector. Also
3422 initialize float_format, double_format and long_double_format as
3423 appropriate to the endianness of the target.
3424 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete.
3425 (arm_use_struct_convention): Delete declaration.
3426 (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
3427
079777f6
KS
34282002-02-13 Keith Seitz <keiths@redhat.com>
3429
3430 * defs.h (core_addr_to_string_nz): New function.
3431
34588f23
MK
34322002-02-13 Mark Kettenis <kettenis@gnu.org>
3433
3434 Apply missing bits of 2002-01-15 patch.
3435 * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave.
3436 (fill_fpregset): Use i387_fill_fsave.
3437
49b563f9
KS
34382002-02-12 Keith Seitz <keiths@redhat.com>
3439
49b563f9
KS
3440 * utils.c (core_addr_to_string): Use phex instead of phex_nz.
3441 (core_addr_to_string_nz): New function.
3442
aeb98c60
RE
34432002-02-11 Richard Earnshaw <rearnsha@arm.com>
3444
3445 * arm-linux-nat.c: Really include arm-tdep.h.
3446 * config/arm/tm-linux.h (struct type, struct value): Declare.
3447
65554fef
MS
34482002-02-11 Michael Snyder <msnyder@redhat.com>
3449
3450 * procfs.c: Include elf-bfd.h (for elfcore_write functions).
3451 (gcore section): Ifdef for Solaris and Unixware only.
3452 (procfs_do_thread_registers): Unixware needs one lwpstatus
3453 per thread (not one prstatus or pstatus).
3454 (procfs_make_note_section): Iterate only over kernel threads (lwps),
3455 not over all gdb threads. For unixware, call elfcore_write_pstatus
3456 once before iterating over threads.
3457
34e8f22d
RE
34582002-02-11 Richard Earnshaw <rearnsha@arm.com>
3459
3460 * arm-tdep.h: New file.
3461 * arm-tdep.c: Include arm-tdep.h.
3462 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
3463 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
3464 (arm_print_float_info, arm_register_type, convert_to_extended)
3465 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
3466 (arm_extract_return_value, arm_register_name): Make static.
3467 (arm_software_single_step): Similarly. Fix types in declaration.
3468 (arm_register_byte, arm_register_raw_size, arm_register_virtual_size)
3469 (arm_store_return_value, arm_store_struct_return): New functions.
3470 (arm_gdbarch_init): Register the above functions. Also register
3471 call_dummy_start_offset, sizeof_call_dummy_words,
3472 function_start_offset, inner_than, decr_pc_after_break, fp_regnum,
3473 sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size,
aaa38bb5 3474 max_register_virtual_size, register_size. Set up
34e8f22d
RE
3475 prologue_cache.saved_regs here, rather than ...
3476 (_initialize_arm_tdep): ... here.
3477 * config/arm/tm-arm.h (struct type, struct value): Delete forward
3478 declarations.
3479 (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call)
3480 (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy)
3481 (arm_print_float_info, arm_register_type, convert_to_extended)
3482 (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special)
3483 (arm_extract_return_value, arm_register_name): Delete declarations.
3484 (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET)
3485 (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC)
3486 (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS)
3487 (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE)
3488 (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
3489 (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN)
3490 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS)
3491 (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY)
3492 (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP)
3493 (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete.
3494 (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc)
3495 (arm_get_next_pc): No-longer static -- these are needed by the RDI
3496 interface.
3497 * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h.
3498 * remote-rdi.c remote-rdp.c: Likewise.
3499 * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o)
3500 (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies.
3501 * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus
3502 definition.
3503
3504 * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM)
3505 (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM)
3506 (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed
3507 from non-ARM_ prefixed definitions.
3508 * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update
3509 all uses of above.
3510 * remote-rdi.c remote-rdp.c: Likewise.
3511 * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
3512
148754e5
RE
35132002-02-11 Richard Earnshaw <rearnsha@arm.com>
3514
3515 * arm-tdep.c (arm_frameless_function_invocation)
3516 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
3517 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
3518 (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
3519 (arm_pop_frame, arm_get_next_pc): Make static.
3520 (arm_gdbarch_init): Register above in gdbarch structure.
3521 (arm_read_fp): Renamed from arm_target_read_fp.
3522 (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static.
3523 * config/arm/tm-arm.h (arm_frameless_function_invocation)
3524 (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args)
3525 (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc)
3526 (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame)
3527 (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb)
3528 (arm_pc_is_thumb_dummy): Delete declarations.
fcfb8836
RE
3529 (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN)
3530 (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS)
3531 (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP)
3532 (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete.
148754e5 3533
434d2d4f
DJ
35342002-02-10 Daniel Jacobowitz <drow@mvista.com>
3535
3536 * symtab.c (compare_search_syms): New function.
3537 (sort_search_symbols): New function.
3538 (search_symbols): Sort symbols after searching rather than
3539 before.
3540
55241689
AC
35412002-02-10 Andrew Cagney <ac131313@redhat.com>
3542
3543 * NEWS: Linux -> GNU/Linux.
3544
028c194b
AC
35452002-02-10 Andrew Cagney <ac131313@redhat.com>
3546
3547 * gdbarch.sh: For for level one methods, disallow a definition
3548 when partially multi-arched. Add comments explaining rationale.
3549 * gdbarch.h: Re-generate.
3550
6acf50cd
AC
35512002-02-10 Andrew Cagney <ac131313@redhat.com>
3552
3553 * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when
3554 multi-arch partial.
aaa38bb5 3555
50248794
AC
35562002-02-10 Andrew Cagney <ac131313@redhat.com>
3557
3558 * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad
3559 field. Use diff -u.
3560 * gdbarch.c: Re-generate.
3561
c30e0066
AC
35622002-02-10 Andrew Cagney <ac131313@redhat.com>
3563
9b56c5f3 3564 * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete.
c30e0066
AC
3565 * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch
3566 partial.
3567
6e6d6484
AC
35682002-02-10 Andrew Cagney <ac131313@redhat.com>
3569
3570 * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when
3571 multi-arch partial.
3572 (PUSH_ARGUMENTS): Switch to using predefault.
3573 * gdbarch.c: Regenerate.
3574
c203844d
AC
35752002-02-10 Andrew Cagney <ac131313@redhat.com>
3576
3577 * valops.c (PUSH_ARGUMENTS): Delete definition.
3578 * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch
3579 partial. Default to default_push_arguments.
3580 * gdbarch.h, gdbarch.c: Regenerate.
3581
b5a2688f
AC
35822002-02-09 Andrew Cagney <ac131313@redhat.com>
3583
3584 * defs.h (throw_exception): Rename return_to_top_level. Update
3585 comments.
3586 * utils.c (error_stream, internal_verror, quit): Ditto.
3587 * top.c (throw_exception, catcher): Ditto.
3588 * sparclet-rom.c (sparclet_load): Ditto.
3589 * remote.c (interrupt_query, minitelnet): Ditto.
3590 * remote-sds.c (interrupt_query): Ditto.
3591 * remote-mips.c (mips_error, mips_kill): Ditto.
3592 * ocd.c (interrupt_query): Ditto.
3593 * monitor.c (monitor_interrupt_query): Ditto.
3594 * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto.
3595 * target.h: Update comment.
aaa38bb5 3596
b5a2688f 3597 * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright.
aaa38bb5 3598
2fa5c1e0
AC
35992002-02-09 Andrew Cagney <ac131313@redhat.com>
3600
3601 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to
3602 default_double_format.
3603 * gdbarch.h, gdbarch.c: Re-generate.
3604 * findvar.c (floatformat_unknown): Delete variable definition.
3605 * doublest.h (floatformat_unknown): Delete variable declaration.
3606
da966255
JB
36072002-02-09 Jim Blandy <jimb@redhat.com>
3608
3609 * stabsread.c (read_type): Add code to parse Sun's syntax for
3610 prototyped function types.
3611
123a4891
AC
36122002-02-09 Andrew Cagney <ac131313@redhat.com>
3613
3614 * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS.
3615 (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS.
3616
fb39c8f3
PS
36172002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3618
3619 * xcoffsolib.c (_initialize_xcoffsolib): Renamed from
3620 _initialize_solib. Fixes name clash with solib.c:_initialize_solib,
3621 now _initialize_xcoffsolib gets called again and overrides the
3622 commands from solib.c in a native configuration.
3623
0b87a11d
MK
36242002-02-09 Mark Kettenis <kettenis@gnu.org>
3625
3626 * doublest.c (store_typed_floating): Don't try to return a value.
3627 Fixes PR gdb/290.
3628
bdc2fc72
JB
36292002-02-08 Jim Blandy <jimb@redhat.com>
3630
3631 * c-typeprint.c (c_type_print_varspec_suffix): If a function type
3632 is prototyped and has no arguments, print its argument list as
3633 `(void)'.
3634
da69bbcf
CD
36352002-02-08 Chris Demetriou <cgd@broadcom.com>
3636
3637 * MAINTAINERS (write-after-approval): Add myself.
3638 (paper-trail): I've escaped!
aaa38bb5 3639
b69571f5
CF
36402002-02-08 Christopher Faylor <cgf@redhat.com>
3641
3642 * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf
3643 changes.
3644 (_initialize_check_for_gdb_ini): Ditto.
3645
f6871398
MH
36462002-02-08 Martin M. Hunt <hunt@redhat.com>
3647
3648 * win32-nat.c (cygwin_pid_to_str): Fix typo.
3649 xaprintf -> xasprintf.
3650
4e52d31c
PM
36512002-02-08 Pierre Muller <muller@ics.u-strasbg.fr>
3652
3653 * win32-nat.c: Remove use of printf and sprintf functions.
3654
39bbf761
RE
36552002-02-08 Richard Earnshaw <rearnsha@arm.com>
3656
3657 * arm-tdep.c (arm_frame_chain_valid): Make static.
3658 (arm_push_arguments): Likewise.
3659 (arm_gdbarch_init): New function.
3660 (_initialize_arm_tdep): Call it.
3661 * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1.
3662 (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order.
3663 (FRAME_CHAIN_VALID): Delete.
3664 (arm_frame_chain_valid): Delete declaration.
3665 (PUSH_ARGUMENTS): Delete.
3666 (arm_push_arguments): Delete declaration.
3667 (CALL_DUMMY_P): Delete.
3668
9c9532c9
CV
36692002-02-08 Andrew Cagney <ac131313@redhat.com>
3670 Corinna Vinschen <vinschen@redhat.com>
3671
3672 * gdbtypes.c (build_gdbtypes): Disable setting a specific float format
3673 on builtin float types.
3674
4e8f7a8b
DJ
36752002-02-08 Daniel Jacobowitz <drow@mvista.com>
3676
3677 * utils.c: Include <curses.h> before "bfd.h".
3678 * tui/tui-hooks.c: Likewise.
3679 * tui/tui.c: Likewise.
3680 * tui/tuiCommand.c: Likewise.
3681 * tui/tuiData.c: Likewise.
3682 * tui/tuiDataWin.c: Likewise.
3683 * tui/tuiDisassem.c: Likewise.
3684 * tui/tuiGeneralWin.c: Likewise.
3685 * tui/tuiIO.c: Likewise.
3686 * tui/tuiLayout.c: Likewise.
3687 * tui/tuiRegs.c: Likewise.
3688 * tui/tuiSource.c: Likewise.
3689 * tui/tuiSourceWin.c: Likewise.
3690 * tui/tuiStack.c: Likewise.
3691 * tui/tuiWin.c: Likewise.
3692
cd4bffcf
EZ
36932002-02-07 Elena Zannoni <ezannoni@redhat.com>
3694
3695 * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
3696 to include space for pseudoregs as well. Update loops accordingly.
3697 (sh_fp_frame_init_saved_regs): Ditto.
3698 (sh_init_extra_frame_info, sh_pop_frame): Split long lines.
3699
26806ce2
AC
37002002-02-07 Andrew Cagney <ac131313@redhat.com>
3701
3702 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
3703 Add Richard Earnshaw to Arm maintainers.
3704
97fdab62
AC
37052002-02-07 Andrew Cagney <ac131313@redhat.com>
3706
a6b98203
AC
3707 * defs.h (warning_begin): Delete declaration.
3708
97fdab62
AC
3709 * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
3710 Delete macro.
3711
78b29b40
MS
37122002-02-07 Michael Snyder <msnyder@redhat.com>
3713
aaa38bb5 3714 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
78b29b40
MS
3715 Logic bug, remove misplaced else.
3716
d8849953
KD
37172002-02-07 Klee Dienes <klee@apple.com>
3718
3719 * fork-inferior.c (fork_inferior): Add '!' to the list of
3720 characters that need to be quoted when building a string for the
3721 shell. Quote '!' specifically with a backslash, since CSH chokes
3722 when trying to evaluate "str!str".
aaa38bb5 3723
095778a0
NC
37242002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
3725
3726 * rdi-share/host.h: Only provide a typedef for bool if it is not
3727 defined.
3728
1900040c
MS
37292002-02-04 Michael Snyder <msnyder@redhat.com>
3730
3731 * breakpoint.h (enum bptype): Add new overlay event bp type.
3732 (enable_overlay_breakpoints, disable_overlay_breakpoints): Export.
aaa38bb5 3733
1900040c
MS
3734 * breakpoint.c (create_internal_breakpoint): New function.
3735 (internal_breakpoint_number): Moved into create_internal_breakpoint.
3736 (create_longjmp_breakpoint): Use create_internal_breakpoint.
3737 (create_thread_event_breakpoint): Ditto.
3738 (create_solib_event_breakpoint): Ditto.
3739 (create_overlay_event_breakpoint): New function.
3740 (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
3741 (update_breakpoints_after_exec): Delete and re-initialize
3742 overlay event breakpoints after an exec. Add FIXME comment
3743 about longjmp breakpoint.
3744 (print_it_typical): Ignore overlay event breakpoints.
3745 (print_one_breakpoint): Ditto.
3746 (mention): Ditto.
3747 (bpstat_what): Do not stop for overlay event breakpoints.
3748 (delete_breakpoint): Don't delete overlay event breakpoints.
3749 (breakpoint_re_set_one): Delete the overlay event breakpoint.
3750 (breakpoint_re_set): Re-create overlay event breakpoint.
3751
3752 * symfile.c (overlay_auto_command): Enable overlay breakpoints.
3753 (overlay_manual_command): Disable overlay breakpoints.
3754 (overlay_off_command): Disable overlay breakpoints.
3755
082fc60d
RE
37562002-02-06 Richard Earnshaw <rearnsha@arm.com>
3757
3758 * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
3759 (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
3760 to here from config/tm-arm.h.
3761 (coff_sym_is_thumb): Make static.
3762 (arm_elf_make_msymbol_special): New function.
3763 (arm_coff_make_msymbol_special): New function.
3764 * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
3765 (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
3766 (coff_sym_is_thumb): Delete declaration.
3767 (arm_elf_make_msymbol_special): Declare.
3768 (arm_coff_make_msymbol_special): Declare.
3769 (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
3770 (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
3771
039c5766
RE
37722002-02-06 Richard Earnshaw <rearnsha@arm.com>
3773
3774 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
3775
37762002-02-06 Richard Earnshaw <rearnsha@arm.com>
3777
3778 * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
3779 * gdbarch.c gdbarch.h: Regenerate.
3780 * arch-utils.c (default_print_float_info): New function.
3781 * arch-utils.h (default_print_float_info): Prototype it.
3782 * infcmd.c (float_info): Call PRINT_FLOAT_INFO.
3783 * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
3784 (PRINT_FLOAT_INFO): Document it.
3785
3786 * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
3787 * config/arm/tm-arm.h (FLOAT_INFO): Delete.
3788 (PRINT_FLOAT_INFO): Define.
3789
58fa08f0
PM
37902002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
3791
aaa38bb5 3792 * win32-nat.c (_initialize_check_for_gdb_ini):
58fa08f0
PM
3793 Add typecast to sprintf argument to suppress a warning.
3794
7393af7c
PM
37952002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
3796
58fa08f0 3797 * win32-nat.c (last_sig): Changed type of variable to target_signal,
7393af7c
PM
3798 to allow easier handling of pass state.
3799 (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
3800 that gives exception name and address.
3801 (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
aaa38bb5 3802 and set last_sig value to ourstatus->value.sig. Some missing
7393af7c 3803 exceptions added.
aaa38bb5
AJ
3804 (child_continue): Correctly report continue_status.
3805 (get_child_debug_event,do_initial_child_stuff): Set last_sig to
7393af7c 3806 TARGET_SIGNAL_0 (new default value).
aaa38bb5 3807 (child_resume): consider sig argument passed to decide if
7393af7c
PM
3808 the exception should be passed to debuggee or not.
3809
6af4589c
MS
38102002-02-05 Michael Snyder <msnyder@redhat.com>
3811
3812 * regcache.c (fetch_register): Call target_fetch_register
3813 only if we don't call FETCH_PSEUDO_REGISTER.
3814 (store_register): Call target_store_register only if we
3815 don't call STORE_PSEUDO_REGISTER.
3816
a2cf933a
EZ
38172002-02-05 Elena Zannoni <ezannoni@redhat.com>
3818
3819 * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and
3820 ELF_MAKE_MSYMBOL_SPECIAL.
3821 * gdbarch.c, gdbarch.h: Regenerate.
3822 * arch-utils.c (default_make_msymbol_special): New function.
aaa38bb5 3823 * arch-utils.h (default_make_msymbol_special): Export.
a2cf933a
EZ
3824 * elfread.c (elf_symtab_read): Compile use of
3825 ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
3826 multiarched.
3827 * coffread.c (coff_symtab_read): Ditto, for
3828 COFF_MAKE_MSYMBOL_SPECIAL.
3829
6bb7be43
JB
38302002-02-05 Jim Blandy <jimb@redhat.com>
3831
3832 * solib-svr4.c (svr4_truncate_ptr): New function.
3833 (svr4_relocate_section_addresses): Do the address arithmetic with
3834 the appropriate truncation for target addresses, even when
3835 CORE_ADDR is larger than a target address.
3836
e18651ec
DJ
38372002-02-05 Daniel Jacobowitz <drow@mvista.com>
3838
3839 * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
3840 to (int *).
3841
6b2725be
DJ
38422002-02-05 Daniel Jacobowitz <drow@mvista.com>
3843
3844 * gdbserver/linux-low.c (kill_inferior): Remove commented out
3845 code.
3846
fca9e603
DJ
38472002-02-05 Daniel Jacobowitz <drow@mvista.com>
3848
3849 * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
3850
6c537a52
DJ
38512002-02-05 Daniel Jacobowitz <drow@mvista.com>
3852
3853 * gdbserver/linux-low.c: Remove unused include files.
3854
d844cde6
DJ
38552002-02-05 Daniel Jacobowitz <drow@mvista.com>
3856
3857 * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
3858 (read_inferior_memory): Use it.
3859 (write_inferior_memory): Likewise.
3860
d07c63e7
DJ
38612002-02-05 Daniel Jacobowitz <drow@mvista.com>
3862
3863 * gdbserver/linux-low.c (create_inferior): Call strerror instead of
3864 grubbing through sys_errlist.
3865
da6d8c04
DJ
38662002-02-05 Daniel Jacobowitz <drow@mvista.com>
3867
3868 * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
3869
5b421780
PM
38702002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
3871 * win32-nat.c (handle_exception): Handle Ctrl-Break exception.
3872
9f60d481
AC
38732002-02-04 Andrew Cagney <ac131313@redhat.com>
3874
3875 * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
3876 (do_sfunc, set_cmd_sfunc): New functions.
3877
3878 * command.h (struct cmd_list_element): Add field func.
3879 * cli/cli-decode.h (struct cmd_list_element): Ditto.
3880 * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
3881 * cli/cli-decode.h: Ditto.
3882
3883 * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
3884 (help_all, help_cmd_list): Ditto.
3885 (find_cmd, complete_on_cmdlist): Ditto.
3886 * top.c (execute_command): Ditto.
3887
3888 * cli/cli-setshow.c (do_setshow_command): Call func instead of
3889 function.sfunc.
3890
3891 * infcmd.c (notice_args_read): Fix function signature.
3892
3893 * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
3894 * cli/cli-decode.c (add_set_cmd): Ditto.
3895 * utils.c (initialize_utils): Ditto.
3896 * maint.c (_initialize_maint_cmds): Ditto.
3897 * infrun.c (_initialize_infrun): Ditto.
3898 * demangle.c (_initialize_demangler): Ditto.
3899 * remote.c (add_packet_config_cmd): Ditto.
3900 * mips-tdep.c (_initialize_mips_tdep): Ditto.
3901 * cris-tdep.c (_initialize_cris_tdep): Ditto.
3902 * proc-api.c (_initialize_proc_api): Ditto.
3903 * kod.c (_initialize_kod): Ditto.
3904 * valprint.c (_initialize_valprint): Ditto.
3905 * top.c (init_main): Ditto.
3906 * infcmd.c (_initialize_infcmd): Ditto.
3907 * corefile.c (_initialize_core): Ditto.
3908 * arm-tdep.c (_initialize_arm_tdep): Ditto.
3909 * arch-utils.c (initialize_current_architecture): Ditto.
3910 (_initialize_gdbarch_utils): Ditto.
3911 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
3912
3913 * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
3914 * wince.c (_initialize_inftarg): Ditto.
3915 * symfile.c (_initialize_symfile): Ditto.
3916 * mips-tdep.c (_initialize_mips_tdep): Ditto.
3917 * language.c (_initialize_language): Ditto.
3918 * arc-tdep.c (_initialize_arc_tdep): Ditto.
3919
f9ba0717
MS
39202002-02-04 Michael Snyder <msnyder@redhat.com>
3921
3922 * memattr.c (_initialize_mem): Elaborate the help for 'mem' command.
3923
0c74b2a7
DJ
39242002-02-04 Daniel Jacobowitz <drow@mvista.com>
3925
3926 * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
3927 Add rules for building the register data files.
3928
c638789f
DJ
39292002-02-04 Daniel Jacobowitz <drow@mvista.com>
3930
3931 * regformats/regdat.sh: Add braces to the definition of
3932 expedite_regs_${arch}.
3933
db253027
DJ
39342002-02-04 Daniel Jacobowitz <drow@mvista.com>
3935
3936 * regformats/regdef.h (struct reg): Add comment describing the
3937 requirements for offset and size fields.
3938
206be19c
AS
39392002-02-04 Andreas Schwab <schwab@suse.de>
3940
3941 * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
3942 * config/ia64/linux.mt: Don't set GDBSERVER_LIBS.
3943
181c1381
RE
39442002-02-04 Richard Earnshaw <rearnsha@arm.com>
3945
3946 * gdbarch.sh (copyright): Update years in generated header.
3947 (SMASH_TEXT_ADDRESS): Add rule.
db253027 3948 * gdbarch.h, gdbarch.c: Re-generate.
181c1381
RE
3949 * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS.
3950 * dbxread.c: Likewise.
3951 * dwarfread.c: Likewise.
3952 * elfread.c: Likewise.
3953 * somread.c: Likewise.
3954
3955 * arm-tdep.c (arm_smash_text_address): New function.
3956 * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
3957
fa4ba8da
PM
39582002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
3959
3960 Add support for hardware watchpoints on win32 native.
aaa38bb5 3961 * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of
fa4ba8da 3962 CONTEXT_DEBUG_REGISTERS.
aaa38bb5 3963 (dr variable): New variable. Static array containing a local copy
fa4ba8da
PM
3964 of debug registers.
3965 (debug_registers_changed): New variable. Reflects when debug registers
3966 are changed and need to be written to inferior.
aaa38bb5 3967 (debug_registers_used): New variable. Reflects when any debug register
fa4ba8da
PM
3968 was set, used when new threads are created.
3969 (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by
3970 i386-nat code.
3971 (thread_rec): Set dr array if id is the thread of current_event .
3972 (child_continue, child_resume): Change the debug registers for all
3973 threads if debug_registers_changed.
3974 (child_add_thread): Change the debug registers if debug_registers_used.
3975 * config/i386/cygwin.mh: Add use of i386-nat.o file.
3976 Link nm.h to new nm-cygwin.h file.
3977 + config/i386/nm-cygwin.h: New file. Contains the macros used for use
3978 of hardware registers.
3979
a73c86fb
AC
39802002-02-03 Andrew Cagney <ac131313@redhat.com>
3981
3982 * valprint.c (print_floating): Allow non TYPE_CODE_FLT types.
3983 Restore behavour broken by 2002-01-20 Andrew Cagney
3984 <ac131313@redhat.com> IEEE_FLOAT removal.
3985
acf5ed49
DJ
39862002-02-03 Daniel Jacobowitz <drow@mvista.com>
3987
3988 * c-valprint.c (c_val_print): Pass a proper valaddr to
3989 cp_print_class_method.
3990 * valops.c (search_struct_method): If there is only one method
3991 and args is NULL, return that method.
3992
493d28d5
DJ
39932002-02-03 Daniel Jacobowitz <drow@mvista.com>
3994
3995 * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of
3996 accessing tag_name directly.
3997
7495dfdb
DJ
39982002-02-03 Daniel Jacobowitz <drow@mvista.com>
3999
4000 * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead
4001 of accessing tag_name directly.
4002
dd6bda65
DJ
40032002-02-03 Daniel Jacobowitz <drow@mvista.com>
4004
4005 PR gdb/280
4006 * gdbtypes.c (replace_type): New function.
4007 * gdbtypes.h (replace_type): Add prototype.
4008 * stabsread.c (read_type): Use replace_type.
4009
88fe217c
RE
40102002-02-03 Richard Earnshaw <rearnsha@arm.com>
4011
4012 * Makefile.in (memattr.o): Add missing dependencies rule.
4013
e5d66720
PS
40142002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4015
4016 * breakpoint.c (break_at_finish_command): Really export.
4017 (break_at_finish_at_depth_command): Ditto.
4018 (tbreak_at_finish_command): Ditto.
4019 * hppa-tdep.c: Include completer.h.
4020 * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h).
4021 (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o.
4022
fffee0be
AC
40232002-02-01 Andrew Cagney <ac131313@redhat.com>
4024
4025 * utils.c (do_write): New function.
4026 (error_stream): Rewrite combining the code from error_begin and
4027 verror.
4028 (verror): Rewrite using error_stream.
4029 (error_begin): Delete function.
4030
255e7dbf
AC
40312002-02-01 Andrew Cagney <ac131313@redhat.com>
4032
4033 * utils.c (error_begin): Make static.
4034 * defs.h (error_begin): Delete declaration.
4035
4036 * linespec.c (cplusplus_error): Replace cplusplus_hint.
4037 (decode_line_1): Use cplusplus_error instead of error_begin,
4038 cplusplus_hint and return_to_top_level.
4039 * coffread.c (coff_symfile_read): Use error instead of error_begin
4040 and return_to_top_level.
4041 * infrun.c (default_skip_permanent_breakpoint): Ditto.
4042
ddfe3c15
AC
40432002-02-01 Andrew Cagney <ac131313@redhat.com>
4044
4045 * language.h (type_error, range_error): Make string parameter
4046 constant.
4047 * language.c (warning_pre_print): Delete extern declaration.
4048 * dwarfread.c (warning_pre_print): Ditto.
4049 * language.c (type_error, range_error): Rewrite to use verror and
4050 vwarning instead of warning_begin.
4051
03ac34d5
MS
40522002-02-01 Michael Snyder <msnyder@redhat.com>
4053
261c4ca2
MS
4054 * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code.
4055 (set_ignore_count): Move misplaced comment back where it belongs.
03ac34d5 4056
e00d1dc8
AC
40572002-02-01 Andrew Cagney <ac131313@redhat.com>
4058
4059 * command.h (NO_FUNCTION): Delete macro.
4060 * cli/cli-decode.h (NO_FUNCTION): Ditto.
4061 * top.c (execute_command): Replace NO_FUNCTION with NULL.
4062 * tracepoint.c (_initialize_tracepoint): Ditto.
4063 * cli/cli-decode.c (add_set_cmd): Ditto.
4064 * cli/cli-cmds.c (init_cli_cmds): Ditto.
aaa38bb5 4065
76b79d6e
DJ
40662002-02-01 Daniel Jacobowitz <drow@mvista.com>
4067
4068 * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments.
4069 Update ``this'' pointer when calling virtual functions.
4070
799f9e91
MS
40712002-02-01 Michael Snyder <msnyder@redhat.com>
4072
c7bd442c 4073 * breakpoint.c (create_temp_exception_breakpoint): Delete.
799f9e91
MS
4074 * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands.
4075
3cf384d4
DJ
40762002-02-01 Daniel Jacobowitz <drow@mvista.com>
4077
4078 * regformats/reg-arm.dat: New file.
4079 * regformats/reg-i386.dat: New file.
4080 * regformats/reg-ia64.dat: New file.
4081 * regformats/reg-m68k.dat: New file.
4082 * regformats/reg-mips.dat: New file.
4083 * regformats/reg-ppc.dat: New file.
4084 * regformats/reg-sh.dat: New file.
4085 * regformats/regdef.h: New file.
4086 * regformats/regdat.sh: New file.
4087
0defa245
RE
40882002-02-01 Richard Earnshaw <reanrsha@arm.com>
4089
4090 * arm-tdep.c (arm_frameless_function_invocation): Add some comments.
4091 (arm_frame_args_address, arm_frame_locals_address): New functions.
4092 (arm_frame_num_args): New function.
4093 * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address.
4094 (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address.
4095 (FRMA_NUM_ARGS): Call arm_frame_num_args.
4096
405f26e6
MS
40972002-01-31 Michael Snyder <msnyder@redhat.com>
4098
502fd408
MS
4099 * breakpoint.c (break_at_finish_command): Export.
4100 (break_at_finish_at_depth_command): Export.
4101 (tbreak_at_finish_command): Export.
4102 (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
4103 * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
4104 "tbreak" commands, which are HPPA specific.
4105
7d35e135
MS
4106 * printcmd.c (disassemble_command): Remove an ancient
4107 artifact of an old merge.
4108
aaa38bb5 4109 * symfile.h (enum overlay_debugging_state):
d874f1e2
MS
4110 Define enum constant values for overlay mode.
4111 * symfile.c (overlay_debugging): Use enums instead of literals.
aaa38bb5
AJ
4112 (overlay_is_mapped, overlay_auto_command,
4113 overlay_manual_command): Ditto.
d874f1e2 4114
aaa38bb5
AJ
4115 * breakpoint.c (insert_breakpoints, remove_breakpoint,
4116 breakpoint_here_p, breakpoint_inserted_here_p,
4117 breakpoint_thread_match, bpstat_stop_status,
9f04af04
MS
4118 describe_other_breakpoints, check_duplicates, clear_command):
4119 Coding standard fixes.
4120
8add0441 4121 * target.c (target_xfer_memory): Add spaces, coding standard.
9f04af04 4122 (do_xfer_memory): Add missing line to trust-readonly
405f26e6
MS
4123 code: check bfd SEC_READONLY flag for section.
4124
e351066e
AC
41252002-01-31 Andrew Cagney <ac131313@redhat.com>
4126
7d35e135 4127 * PROBLEMS: Fix typo, 5.1->5.1.1.
e351066e 4128
8a48e967
DJ
41292002-01-30 Daniel Jacobowitz <drow@mvista.com>
4130
4131 * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for
4132 data symbols, since we search based on textlow and texthigh.
4133 (find_pc_sect_symtab): Likewise.
4134
f5a96129
AC
41352002-01-30 Andrew Cagney <ac131313@redhat.com>
4136
4137 * defs.h (vwarning): Declare.
f5a96129
AC
4138 * utils.c (vwarning): New function.
4139 (warning): Call vwarning.
4140 (warning_begin): Delete function.
4141
4142 * rs6000-nat.c (vmap_ldinfo): Use the function warning to print
4143 the warning message.
4144 * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to
4145 warning_begin.
4146
cefd4ef5
MS
41472002-01-30 Michael Snyder <msnyder@redhat.com>
4148
1a703748
MS
4149 * NEWS: Mention "set trust-readonly-sections" command.
4150 Mention generate-core-file command.
cefd4ef5 4151
3a11626d
MS
41522002-01-15 Michael Snyder <msnyder@redhat.com>
4153
4154 * target.c: New command, "set trust-readonly-sections on".
4155 (do_xfer_memory): Honor the suggestion to trust readonly sections
4156 by reading them from the object file instead of from the target.
4157 (initialize_targets): Register command "set trust-readonly-sections".
4158
d1c7e53b
AC
41592002-01-29 Andrew Cagney <ac131313@redhat.com>
4160
4161 * parse.c (target_map_name_to_register): Simplify, search regs and
4162 pseudo-regs using a single loop.
4163
e2c9a72c
AC
41642002-01-30 Andrew Cagney <ac131313@redhat.com>
4165
4166 * PROBLEMS: Note that the i386 fix was missing from 5.1.1.
4167
69824b4e
MK
41682002-01-15 Rodney Brown <rbrown64@csc.com.au>
4169
4170 * config/i386/tm-i386v4.h: Define HAVE_I387_REGS.
4171 * config/i386/i386v42mp.mh: Add i387-nat.o .
4172 * i386v4-nat.c: Include i387-nat.h.
4173 (supply_fpregset): Use i387_supply_fsave.
4174 (fill_fpregset): Use i387_fill_fsave.
4175
6eb69eab
RE
41762002-01-30 Richard Earnshaw <rearnsha@arm.com>
4177
4178 * arm-tdep.c (arm_call_dummy_words): Define.
4179 * arm-linux-tdep.c (arm_linux_call_dummy_words): Define.
4180 * config/arm/tm-arm.h (CALL_DUMMY_P): Define.
4181 (CALL_DUMMY_WORDS): Define.
4182 (arm_call_dummy_words): Declare.
4183 * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define.
4184 (arm_linux_call_dummy_words): Declare.
4185
9852326a
AS
41862002-01-30 Andreas Schwab <schwab@suse.de>
4187
4188 * m68klinux-nat.c: Fix last change to use regcache_collect
4189 instead of referencing registers[] directly.
4190
977a3030
AC
41912002-01-29 Andrew Cagney <ac131313@redhat.com>
4192
4193 * parse.c (target_map_name_to_register): Delete code wrapped in
4194 #ifdef REGISTER_NAME_ALIAS_HOOK.
4195
2076c72b
MS
41962002-01-28 Michael Snyder <msnyder@redhat.com>
4197
4198 * regcache.c (legacy_read_register_gen): Need to be able to
4199 read pseudo-register as well as real register.
4200 (legacy_write_register_gen): Ditto.
4201
8fcc723b
AC
42022002-01-28 Andrew Cagney <ac131313@redhat.com>
4203
4204 * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete.
4205 * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete.
4206 * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete.
4207 * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete.
4208 * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete.
4209 * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete.
4210 * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete.
4211 * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete.
4212 * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete.
4213 * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete.
4214 * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete.
4215 * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete.
4216 * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete.
4217 * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete.
4218 * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete.
4219 * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete.
4220 * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete.
4221 * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete.
4222 * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete.
4223 * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete.
4224
afe64c1a
AC
42252002-01-28 Andrew Cagney <ac131313@redhat.com>
4226
4227 * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.
4228 (target_byte_order): Initialize to BFD_ENDIAN_BIG.
4229 (initialize_current_architecture): Update target_byte_order using
4230 information from BFD.
aaa38bb5 4231 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT):
afe64c1a
AC
4232 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete.
4233
75bc7ddf
AC
42342002-01-28 Andrew Cagney <ac131313@redhat.com>
4235
4236 * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here...
4237 * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken.
4238
4239 * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in
4240 #ifdef INVALID_FLOAT.
4241 * infcmd.c (do_registers_info): Ditto.
4242 * values.c (unpack_double): Ditto. Add comment.
4243
4244 * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was
4245 already commented out.
4246
0280a90a
AS
42472002-01-26 Andreas Schwab <schwab@suse.de>
4248
4249 * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
4250 * m68klinux-nat.c: Update ptrace interface for fetching/storing
4251 registers and add support for PTRACE_GETREGS.
4252
7072a954
AC
42532002-01-24 Andrew Cagney <ac131313@redhat.com>
4254
4255 GDB 5.1.1 released from 5.1 branch.
4256 * NEWS: Add 5.1.1 news.
4257 * README: Sync with 5.1 branch.
4258
86f902e0
FF
42592002-01-23 Fred Fish <fnf@redhat.com>
4260
4261 * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to
4262 stabstring on initial malloc. Reallocing will copy it for us,
4263 if necessary.
4264
8af51c36
EZ
42652002-01-23 Elena Zannoni <ezannoni@redhat.com>
4266
aaa38bb5 4267 * Makefile.in (hpread_h): Delete.
8af51c36
EZ
4268 (HFILES_NO_SRCDIR): Remove hpread.h.
4269 (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c.
4270 (hpread.o): Update dependencies.
4271 (hp-psymtab-read.o, hp-symtab-read.o): Remove.
4272
4273 * hp-psymtab-read.c: Remove file.
4274 * hp-symtab-read.c: Remove file.
4275 * hpread.h: Remove file.
4276
4277 * hpread.c: Merge all contents of hp-psymtab-read.c,
4278 hp-symtab-read.c and hpread.h into this file, as it was prior to
4279 January 1999.
4280
4281 * config/pa/hpux11w.mh, config/pa/hpux11.mh,
aaa38bb5 4282 config/pa/hpux1020.mh, config/pa/hppaosf.mh,
8af51c36
EZ
4283 config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES):
4284 Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o.
4285
dc5cfeb6
EZ
42862002-01-23 Elena Zannoni <ezannoni@redhat.com>
4287
4288 * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset,
4289 fill_gregset): Call gdbarch_tdep() just once, assign result to
4290 variable and use that, instead of calling the function several
4291 times.
4292
ea87b71b
AO
42932002-01-24 Alexandre Oliva <aoliva@redhat.com>
4294
4295 * configure.host: Accept sparcv9 as alias for sparc64.
4296 * configure.tgt: Likewise.
4297
13fc0c2f
KB
42982002-01-22 Kevin Buettner <kevinb@redhat.com>
4299
4300 * solib-aix5.c (build_so_list_from_mapfile)
4301 (aix5_relocate_main_executable): Fix xcalloc() calls so order of
4302 arguments is not reversed.
4303 * solib-sunos.c (sunos_relocate_main_executable): Likewise.
4304 * solib-svr4.c (svr4_relocate_main_executable): Likewise.
aaa38bb5 4305
7bd872fe
EZ
43062002-01-22 Elena Zannoni <ezannoni@redhat.com>
4307
4308 * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and
4309 modified version of obsolete sh_fetch_pseudo_register.
4310 (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read.
4311 (sh4_register_read): New function.
4312 (sh_pseudo_register_write): New function. Renamed and modified
4313 version of obsolete sh_store_pseudo_register.
4314 (sh_store_pseudo_register): Rename to sh_pseudo_register_write.
4315 (sh4_register_write): New function.
4316 (sh_gdbarch_init): Remove setting of gdbarch function
4317 fetch_pseudo_register and store_pseudo_register. Remove setting of
4318 register_convert_to_raw, register_convert_to_virtual,
4319 register_convertible.
4320 (sh_sh4_register_convertible): Delete. No longer needed. All is
4321 taken care by architecture specific functions
4322 register_read/register_write.
4323 (sh_sh4_register_convert_to_virtual): Make static.
4324 (sh_sh4_register_convert_to_raw): Ditto.
4325
069e84fd
AC
43262002-01-22 Andrew Cagney <ac131313@redhat.com>
4327
4328 * doublest.c (floatformat_is_negative): Assert FMT is non NULL.
4329 (floatformat_is_nan, floatformat_mantissa): Ditto.
4330
4331 * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT
4332 for builtin_type_ieee_single_little, builtin_type_ieee_double_big,
4333 builtin_type_ieee_double_little,
4334 builtin_type_ieee_double_littlebyte_bigword,
4335 builtin_type_m68881_ext, builtin_type_i960_ext,
4336 builtin_type_m88110_ext, builtin_type_m88110_harris_ext,
4337 builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword,
4338 builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and
4339 builtin_type_ia64_quad_big, builtin_type_ia64_quad_little.
4340
211a4f69
CV
43412002-01-22 Corinna Vinschen <vinschen@redhat.com>
4342
4343 * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless
4344 parameter. Set frameless flag if it exists and depended of
4345 whether the scanned function is frameless or not.
4346 (xstormy16_skip_prologue): If function is frameless, return
4347 result of xstormy16_scan_prologue().
4348 (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue()
4349 call.
4350
f81353e4
EZ
43512002-01-21 Elena Zannoni <ezannoni@redhat.com>
4352
4353 * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
4354 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
4355 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
4356 sh_sh4_register_byte, sh_sh4_register_raw_size,
4357 sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
4358 sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
4359 sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
4360 sh_store_pseudo_register, sh_do_pseudo_register): Call
4361 gdbarch_tdep() just once, assign result to variable and use that,
4362 instead of calling the function several times.
4363
63c73a17
MK
43642002-01-20 Mark Kettenis <kettenis@gnu.org>
4365
4366 * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P
4367 macros instead of LAST_FPU_CTRL_REGNUM.
4368 (store_register): Likewise.
4369
39ad761d
JB
43702002-01-21 Jim Blandy <jimb@redhat.com>
4371
4372 * infcmd.c (run_command): Check that the `exec' target layer's BFD
4373 is up-to-date before running the program, not just when a program
4374 exits.
4375
3d74b771
FF
43762002-01-21 Fred Fish <fnf@redhat.com>
4377
4378 * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue
4379 when we have found all instructions we are looking for.
4380
966fbf70
RE
43812002-01-21 Richard Earnshaw <rearnsha@arm.com>
4382
4383 * arm-tdep.c (arm_register_name): New function.
4384 (arm_registers_names): Make static.
4385 * config/arm/tm-arm.h (arm_register_names): Delete declaration.
4386 (arm_register_name): Declare.
4387 (REGISTER_NAME): Use it.
4388
c3b4394c
RE
43892002-01-21 Richard Earnshaw <rearnsha@arm.com>
4390 Kevin Buettner <kevinb@redhat.com>
4391
4392 Convert arm targets to new FRAME interface.
4393 * arm-tdep.c (struct frame_extra_info): Remove fsr.
4394 (arm_frame_find_save_regs): Delete.
4395 (arm_frame_init_saved_regs): New.
4396 (arm_init_extra_frame_info): Alloacte saved_regs as required.
4397 Allocate extra_info as required. Convert all uses of fsr.regs
4398 to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields
4399 to use extra_info.
4400 (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg)
4401 (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise.
4402 (check_prologue_cache, save_prologue_cache): Likewise.
4403 (_initialize_arm_tdep): Ensure prologue_cache is correctly set up.
4404 * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete.
4405 (FRAME_FIND_SAVED_REGS): Delete.
4406 (arm_frame_find_saved_regs): Delete prototype.
4407 (arm_frame_init_saved_regs): New prototype.
4408 (FRAME_INIT_SAVED_REGS): Define.
4409
61d99182
AC
44102002-01-20 Andrew Cagney <ac131313@redhat.com>
4411
4412 * config/arc/tm-arc.h (IEEE_FLOAT): Delete.
4413
6aaea291
AC
44142002-01-20 Andrew Cagney <ac131313@redhat.com>
4415
4416 From Jeff Law <law@redhat.com>:
4417 * infttrace.c: Include <sys/pstat.h>.
4418 (child_pid_to_exec_file): Revamp. Use pstat call to get the
4419 exec file if the ttrace equivalent fails.
4420
15f698d2
AC
44212002-01-20 Andrew Cagney <ac131313@redhat.com>
4422
4423 * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''.
4424 (closeLogFile): Ditto.
4425
f86ddd7c
MC
44262002-01-20 Michael Chastain <mec@shout.net>
4427
4428 * top.c (print_gdb_version): Bump copyright year to 2002.
4429
904507ce
AC
44302002-01-20 Andrew Cagney <ac131313@redhat.com>
4431
4432 * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena
4433 Zannoni and Eli Zaretskii.
4434
d7f0b9ce
DJ
44352002-01-20 Daniel Jacobowitz <drow@mvista.com>
4436
4437 * buildsym.c: Update copyright years.
4438 * c-typeprint.c: Likewise.
4439 * dwarf2read.c: Likewise.
4440 * f-typeprint.c: Likewise.
4441 * gdbtypes.c: Likewise.
4442 * gdbtypes.h: Likewise.
4443 * hp-symtab-read.c: Likewise.
4444 * hpread.c: Likewise.
4445 * mdebugread.c: Likewise.
4446 * p-typeprint.c: Likewise.
4447
3fd3d7d2
AC
44482002-01-20 Andrew Cagney <ac131313@redhat.com>
4449
4450 * remote-sim.c (gdbsim_open): Simplify code testing the macro
4451 TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always
4452 byte-order selectable.
4453 * sparc-tdep.c (sparc_target_architecture_hook): Ditto.
4454 * arch-utils.c: Ditto.
4455 (set_endian): Ditto.
4456 (set_endian_from_file): Ditto.
4457 * gdbserver/low-sim.c (create_inferior): Ditto.
4458 * gdbarch.sh: Ditto.
4459 * gdbarch.h: Re-generate.
aaa38bb5
AJ
4460 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P):
4461 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE):
4462 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE):
4463 * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P):
4464 * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P):
4465 * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P):
4466 * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE):
3fd3d7d2
AC
4467 * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete
4468 macro definition.
4469 * config/mips/tm-wince.h: Remove #undef of macro
4470 TARGET_BYTE_ORDER_SELECTABLE.
4471 * config/sh/tm-wince.h: Ditto.
4472
b02dede2
DJ
44732002-01-20 Daniel Jacobowitz <drow@mvista.com>
4474
4475 * gdbtypes.h (struct cplus_struct_type): Add is_artificial to
4476 member function fields. Add accessor macro
4477 TYPE_FN_FIELD_ARTIFICIAL.
4478 * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods.
4479 * c-typeprint.c (c_type_print_base): Skip artificial member
4480 functions.
4481
c3643761
DJ
44822002-01-20 Daniel Jacobowitz <drow@mvista.com>
4483
4484 * f-typeprint.c: Delete unused function f_type_print_args.
4485 * p-typeprint.c: Delete unused function pascal_type_print_args.
4486
8176bb6d
DJ
44872002-01-20 Daniel Jacobowitz <drow@mvista.com>
4488
4489 * gdbtypes.h (struct type): Fix whitespace. Remove obsolete
4490 comment. Add ``artificial'' to ``union field_location''.
4491
4492 * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL.
4493
4494 * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0.
4495 * mdebugread.c (parse_symbol): Likewise.
4496 * stabsread.c (define_symbol): Likewise.
4497 * hp-symtab-read.c (hpread_function_type): Likewise, instead of
4498 initializing TYPE_FIELD_BITPOS to n (obsolete).
4499 (hpread_doc_function_type): Likewise.
4500 * hpread.c (hpread_function_type): Likewise.
4501
7fd60527
AC
45022002-01-20 Andrew Cagney <ac131313@redhat.com>
4503
4504 * configure.in (host_makefile_frag): Only require a host makefile
4505 fragment when a native build.
4506 * configure: Re-generate.
4507
c2f05ac9
AC
45082002-01-20 Andrew Cagney <ac131313@redhat.com>
4509
4510 * doublest.h (floatformat_from_type): Declare.
4511 * doublest.c (floatformat_from_type): New function.
4512 (convert_typed_floating): Use.
4513
4514 * valprint.c (print_floating): Replace checks for IEEE_FLOAT with
4515 call to function floatformat_from_type.
4516
4517 * gdbarch.sh (IEEE_FLOAT): Delete.
4518 * gdbarch.h, gdbarch.c: Re-generate.
4519 * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro.
4520 * config/i386/tm-i386.h (IEEE_FLOAT): Ditto.
4521 * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto.
4522 * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto.
4523 * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto.
4524 * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto.
4525 * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto.
4526 * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto.
4527 * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto.
4528 * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto.
4529 * config/arm/tm-arm.h (IEEE_FLOAT): Ditto.
c2f05ac9
AC
4530 * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto.
4531
4532 * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float.
4533 * x86-64-tdep.c (i386_gdbarch_init): Ditto.
4534 * sparc-tdep.c (sparc_gdbarch_init): Ditto.
4535 * sh-tdep.c (sh_gdbarch_init): Ditto.
4536 * mips-tdep.c (mips_gdbarch_init): Ditto.
4537 * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
4538 * cris-tdep.c (cris_gdbarch_init): Ditto.
4539
abf22e64
AJ
45402002-01-20 Jiri Smid <smid@suse.cz>
4541
4542 * configure.host, configure.tgt: Support x86-64.
4543 * NEWS: Note new target x86-64.
4544
b7c4cbf8
AJ
4545 * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed.
4546 * x86-64-linux-nat.c (x86_64_register_u_addr): New function.
4547 * config/i386/nm-x86-64.h (ATTACH_LWP): Removed.
4548 * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o,
4549 x86-64-linux-nat.o): Fix dependencies.
4550
82600034
AC
45512002-01-19 Andrew Cagney <ac131313@redhat.com>
4552
4553 * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE.
4554 * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro ....
4555 * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here.
4556 * config/sparc/xm-sun4os4.h: Delete file.
4557 * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable.
abf22e64 4558
bbe5c628
AC
45592002-01-19 Andrew Cagney <ac131313@redhat.com>
4560
4561 * config/sparc/sparclynx.mh (XM_FILE): Delete.
4562 * config/rs6000/rs6000lynx.mh (XM_FILE): Delete.
4563 * config/m68k/m68klynx.mh (XM_FILE): Delete.
4564 * config/i386/i386lynx.mh (XM_FILE): Delete.
4565 * config/rs6000/xm-rs6000ly.h: Delete file.
4566 * config/sparc/xm-sparclynx.h: Delete file.
4567 * config/m68k/xm-m68klynx.h: Delete file.
4568 * config/i386/xm-i386lynx.h: Delete file.
4569 * config/xm-lynx.h: Delete file.
4570 * config/djgpp/fnchange.lst: Update.
4571
f8453e34
JT
45722002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
4573
4574 * alpha-tdep.c (alpha_register_byte): New function.
4575 (alpha_register_raw_size): Ditto.
4576 (alpha_register_virtual_size): Ditto.
4577 (alpha_skip_prologue_internal): Renamed from
4578 alpha_skip_prologue.
4579 (alpha_skip_prologue): New version that calls
4580 alpha_skip_prologue_internal.
4581 (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal.
4582 * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove
4583 second argument from alpha_skip_prologue.
4584 (REGISTER_BYTE): Use alpha_register_byte.
4585 (REGISTER_RAW_SIZE): Use alpha_register_raw_size.
4586 (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size.
4587 (FRAMELESS_FUNCTION_INVOCATION): Use
4588 generic_frameless_function_invocation_not.
4589 (FRAME_NUM_ARGS): Use frame_num_args_unknown.
4590 (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
4591
52d9e613
AC
45922002-01-19 Andrew Cagney <ac131313@redhat.com>
4593
4594 * config/mips/xm-news-mips.h: Delete file.
4595 * config/mips/news-mips.mh (XM_FILE): Delete makefile variable.
4596
4597 * config/m88k/xm-m88k.h: Delete file.
4598 * config/m88k/xm-dgux.h: Do not include xm-m88k.h.
4599 * config/m88k/xm-delta88v4.h: Ditto.
4600 * config/m88k/xm-delta88.h: Ditto.
4601
4602 * config/alpha/xm-fbsd.h: Delete file.
4603 * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable.
4604
4605 * config/sparc/xm-sparc.h: Delete file.
4606 * Makefile.in (xm-sun4os4.h): Delete dependency.
4607 * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h.
4608 * config/sparc/xm-sun4os4.h: Ditto.
4609 * config/sparc/xm-linux.h: Ditto.
4610
4611 * config/i386/xm-windows.h: Delete file.
4612
2d1b2124
AC
46132002-01-19 Andrew Cagney <ac131313@redhat.com>
4614
4615 * utils.c: Include <sys/param.h> for MAXPATHLEN.
4616 (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined.
4617
ee1f65f0
JT
46182002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
4619
4620 * alpha-tdep.c (alpha_call_dummy_words): New.
4621 * config/alpha/tm-alpha.h (CALL_DUMMY): Remove.
4622 (CALL_DUMMY_P): Define.
4623 (CALL_DUMMY_WORDS): Define.
4624 (SIZEOF_CALL_DUMMY_WORDS): Define.
4625
98081e55
PB
46262002-01-19 Per Bothner <per@bothner.com>
4627
4628 * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name
4629 isn't NULL, which can happen with some gcj-3.x-produced code.
4630
0d056799
JT
46312002-01-19 Jason Thorpe <thorpej@wasabisystems.com>
4632
4633 * alpha-tdep.c (alpha_register_virtual_type): New function.
4634 (alpha_init_frame_pc_first): Ditto.
4635 (alpha_fix_call_dummy): Ditto.
4636 (alpha_store_struct_return): Ditto.
4637 (alpha_extract_struct_value_address): Ditto.
4638 * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use
4639 alpha_register_virtual_type.
4640 (STORE_STRUCT_RETURN): Use alpha_store_struct_return.
4641 (EXTRACT_STRUCT_VALUE_ADDRESS): Use
4642 alpha_extract_struct_value_address.
4643 (FIX_CALL_DUMMY): Use alpha_fix_call_dummy.
4644 (INIT_FRAME_PC): Use init_frame_pc_noop.
4645 (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
4646
4604bcad
MK
46472002-01-19 Mark Kettenis <kettenis@gnu.org>
4648
4649 * i386gnu-nat.c: Include "i386-tdep.h".
4650 (fetch_fpregs): Simplify code dealing with uninitialized floating
4651 point states such that it doesn't require FP7_REGNUM.
4652
140f9984
JT
46532002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
4654
abf22e64
AJ
4655 * alpha-tdep.c (frame_extra_info): New.
4656 (alpha_find_saved_regs): Make static. Use
140f9984
JT
4657 frame->extra_info.
4658 (alpha_frame_init_saved_regs): New function.
abf22e64
AJ
4659 (alpha_frame_saved_pc): Use frame->extra_info.
4660 (temp_saved_regs): Don't declare as struct frame_saved_regs.
4661 (heuristic_proc_desc): Adjust for temp_saved_regs changes.
140f9984
JT
4662 (init_extra_frame_info): Rename to...
4663 (alpha_init_extra_frame_info): ...this. Use frame->extra_info.
abf22e64 4664 (alpha_print_extra_frame_info): New function.
140f9984
JT
4665 (alpha_frame_locals_address): Ditto.
4666 (alpha_frame_args_address): Ditto.
abf22e64 4667 (alpha_pop_frame): Use frame->extra_info.
140f9984
JT
4668 * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use
4669 alpha_frame_args_address.
abf22e64 4670 (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address.
140f9984 4671 (alpha_find_saved_regs): Remove prototype.
abf22e64
AJ
4672 (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs.
4673 (EXTRA_FRAME_INFO): Remove.
140f9984
JT
4674 (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info.
4675 (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
4676
d734c450
JT
46772002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
4678
4679 * alpha-tdep.c (alpha_osf_in_sigtramp): New function.
4680 (alpha_cannot_fetch_register): Ditto.
4681 (alpha_cannot_store_register): Ditto.
4682 (alpha_register_convertible): Ditto.
4683 (alpha_use_struct_convention): Ditto.
4684 * config/alpha/tm-alpha.h: Update copyright years.
4685 (IN_SIGTRAMP): Use alpha_osf_in_sigtramp.
4686 (INNER_THAN): Use core_addr_lessthan.
4687 (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register.
4688 (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register.
4689 (REGISTER_CONVERTIBLE): Use alpha_register_convertible.
4690 (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention.
4691 (FRAME_CHAIN): Remove unnecessary cast.
4692
b4ceaee6
AC
46932002-01-18 Andrew Cagney <ac131313@redhat.com>
4694
4695 * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is
4696 obsolete.
4697
0a65a603
AC
46982002-01-18 Andrew Cagney <ac131313@redhat.com>
4699
4700 * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright.
4701 * monitor.c, remote-array.c, remote-bug.c: Ditto.
4702 * remote-e7000.c, remote-es.c, remote-mips.c: Ditto.
4703 * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto.
4704 * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto.
4705 * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto.
4706 * x86-64-linux-nat.c: Ditto.
4707
636a6dfc
JT
47082002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
4709
abf22e64 4710 * alpha-tdep.c (alpha_register_name): New function.
636a6dfc
JT
4711 * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove.
4712 (REGISTER_NAME): Define.
4713
acceddb6
JT
47142002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
4715
4716 * config/nm-nbsd.h (KERNEL_U_ADDR): Remove.
4717
ec32e4be
JT
47182002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
4719
4720 * alpha-tdep.c: Update copyright years.
4721 (alpha_next_pc): New function.
4722 (alpha_software_single_step): Ditto.
4723 * config/alpha/tm-alpha.h: Add prototype for
4724 alpha_software_single_step.
4725
e771a871
JT
47262002-01-18 Jason Thorpe <thorpej@wasabisystems.com>
4727
4728 * alphabsd-nat.c: Update copyright years.
4729 (fill_gregset): Use regcache_collect.
4730 (fill_fpregset): Likewise.
4731 (fetch_inferior_registers): Only fetch integer registers
4732 if requested to do so.
4733 (store_inferior_registers): Only store integer registers
4734 if requested to do so.
4735
7708fa01
AC
47362002-01-17 Andrew Cagney <ac131313@redhat.com>
4737
4738 * config/alpha/alpha-osf3.mh (XDEPFILES): Delete.
4739 * config/alpha/alpha-osf2.mh (XDEPFILES): Delete.
4740 * config/alpha/alpha-osf1.mh (XDEPFILES): Delete.
4741 * config/alpha/alpha-linux.mh (XDEPFILES): Delete.
4742 * config/alpha/fbsd.mh (XDEPFILES): Delete.
4743 * config/arm/linux.mh (XDEPFILES): Delete.
4744 * config/arm/nbsd.mh (XDEPFILES): Delete.
4745 * config/i386/i386dgux.mh (XDEPFILES): Delete.
4746 * config/i386/i386sol2.mh (XDEPFILES): Delete.
4747 * config/i386/i386m3.mh (XDEPFILES): Delete.
4748 (NATDEPFILES): Move i387-tdep.o and core-aout.o to here.
4749 * config/i386/i386gnu.mh (XDEPFILES): Delete.
4750 * config/i386/fbsd.mh (XDEPFILES): Delete.
4751 * config/i386/i386bsd.mh (XDEPFILES): Delete.
4752 * config/i386/i386sco5.mh (XDEPFILES): Delete.
4753 * config/i386/i386v4.mh (XDEPFILES): Delete.
4754 * config/i386/i386v42mp.mh (XDEPFILES): Delete.
4755 * config/i386/i386sco4.mh (XDEPFILES): Delete.
4756 * config/i386/i386aix.mh (XDEPFILES): Delete.
4757 * config/i386/go32.mh (XDEPFILES): Delete.
4758 * config/i386/cygwin.mh (XDEPFILES): Delete.
4759 * config/i386/i386lynx.mh (XDEPFILES): Delete.
4760 * config/i386/i386mach.mh (XDEPFILES): Delete.
4761 * config/i386/i386v32.mh (XDEPFILES): Delete.
4762 * config/i386/linux.mh (XDEPFILES): Delete.
4763 * config/i386/nbsdelf.mh (XDEPFILES): Delete.
4764 * config/i386/ncr3000.mh (XDEPFILES): Delete.
4765 * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES.
4766 * config/i386/i386sco.mh (XDEPFILES): Delete.
4767 * config/i386/i386v.mh (XDEPFILES): Delete.
4768 * config/i386/nbsd.mh (XDEPFILES): Delete.
4769 * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES.
4770 * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES.
4771 * config/i386/symmetry.mh (XDEPFILES): Delete.
4772 * config/i386/obsd.mh (XDEPFILES): Delete.
4773 * config/i386/x86-64linux.mh (XDEPFILES): Delete.
4774 * config/ia64/linux.mh (XDEPFILES): Delete.
4775 * config/ia64/aix.mh (XDEPFILES): Delete.
4776 * config/m68k/apollo68b.mh (XDEPFILES): Delete.
4777 * config/m68k/dpx2.mh (XDEPFILES): Delete.
4778 * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES.
4779 * config/m68k/apollo68v.mh (XDEPFILES): Delete.
4780 * config/m68k/hp300bsd.mh (XDEPFILES): Delete.
4781 * config/m68k/linux.mh (XDEPFILES): Delete.
4782 * config/m68k/m68klynx.mh (XDEPFILES): Delete.
4783 * config/m68k/m68kv4.mh (XDEPFILES): Delete.
4784 * config/m68k/nbsd.mh (XDEPFILES): Delete.
4785 * config/m68k/sun2os3.mh (XDEPFILES): Delete.
4786 * config/m68k/sun2os4.mh (XDEPFILES): Delete.
4787 * config/m68k/sun3os3.mh (XDEPFILES): Delete.
4788 * config/m68k/sun3os4.mh (XDEPFILES): Delete.
4789 * config/m88k/delta88.mh (XDEPFILES): Delete.
4790 * config/m88k/delta88v4.mh (XDEPFILES): Delete.
4791 * config/m88k/m88k.mh (XDEPFILES): Delete.
4792 * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES.
4793 * config/mips/linux.mh (XDEPFILES): Delete.
4794 * config/mips/irix6.mh (XDEPFILES): Delete.
4795 * config/mips/irix5.mh (XDEPFILES): Delete.
4796 * config/mips/irix4.mh (XDEPFILES): Delete.
4797 * config/mips/irix3.mh (XDEPFILES): Delete.
4798 * config/mips/decstation.mh (XDEPFILES): Delete.
4799 * config/mips/mipsm3.mh (XDEPFILES): Delete.
4800 (NATDEPFILES): Move core-aout.o to here.
4801 * config/ns32k/nbsd.mh (XDEPFILES): Delete.
4802 * config/pa/hpux1020.mh (XDEPFILES): Delete.
4803 * config/pa/hppabsd.mh (XDEPFILES): Delete.
4804 * config/pa/hppahpux.mh (XDEPFILES): Delete.
4805 * config/pa/hpux11w.mh (XDEPFILES): Delete.
4806 * config/pa/hppaosf.mh (XDEPFILES): Delete.
4807 * config/pa/hpux11.mh (XDEPFILES): Delete.
4808 * config/powerpc/aix.mh (XDEPFILES): Delete.
4809 * config/powerpc/nbsd.mh (XDEPFILES): Delete.
4810 * config/powerpc/linux.mh (XDEPFILES): Delete.
4811 * config/romp/rtbsd.mh: Rename XDEPFILES.
4812 * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete.
4813 * config/rs6000/aix4.mh (XDEPFILES): Delete.
4814 * config/rs6000/rs6000.mh (XDEPFILES): Delete.
4815 * config/s390/s390.mh (XDEPFILES): Delete.
4816 * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES.
4817 * config/sparc/sun4sol2.mh (XDEPFILES): Delete.
4818 * config/sparc/sun4os4.mh (XDEPFILES): Delete.
4819 * config/sparc/sparclynx.mh (XDEPFILES): Delete.
4820 * config/sparc/nbsdelf.mh (XDEPFILES): Delete.
4821 * config/sparc/nbsd.mh (XDEPFILES): Delete.
4822 * config/sparc/linux.mh (XDEPFILES): Delete.
4823 * config/vax/vaxult.mh (XDEPFILES): Delete.
4824 * config/vax/vaxult2.mh (XDEPFILES): Delete.
4825 * Makefile.in (DEPFILES): Remove XDEPFILES.
4826
375fc983
AC
48272002-01-17 Andrew Cagney <ac131313@redhat.com>
4828
4829 * utils.c (internal_verror): Fix comments, default is yes not no.
4830 Update queries to match. Default to quit and dump core.
4831
8926118c
AC
48322002-01-17 Andrew Cagney <ac131313@redhat.com>
4833
4834 * breakpoint.c: Update assuming #if UI_OUT is always true. Update
4835 copyright.
4836 * defs.h, event-top.c, gdbcmd.h: Ditto.
4837 * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto.
4838 * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto.
4839 * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto.
4840 * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto.
4841 * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto.
4842 * mi/mi-main.c:Ditto.
4843
4844 * stack.c, symfile.c: Update copyright.
4845
45b7b345
DJ
48462002-01-17 Daniel Jacobowitz <drow@mvista.com>
4847
db728ff7
DJ
4848 * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c,
4849 gdbserver/low-nbsd.c, gdbserver/low-sim.c,
4850 gdbserver/low-sparc.c, gdbserver/low-sun3.c,
4851 gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices.
45b7b345 4852
db728ff7
DJ
48532002-01-17 Daniel Jacobowitz <drow@mvista.com>
4854
4855 * gdbserver/low-hppabsd.c (myattach): New function, returning -1.
4856 * gdbserver/low-lynx.c (myattach): Likewise.
4857 * gdbserver/low-nbsd.c (myattach): Likewise.
4858 * gdbserver/low-sim.c (myattach): Likewise.
4859 * gdbserver/low-sparc.c (myattach): Likewise.
4860 * gdbserver/low-sun3.c (myattach): Likewise.
4861
4862 * gdbserver/low-linux.c (myattach): New function.
45b7b345 4863
db728ff7 4864 * gdbserver/server.c (attach_inferior): New function.
45b7b345
DJ
4865 (main): Handle "--attach".
4866
8de3c354
AC
48672002-01-16 Andrew Cagney <ac131313@redhat.com>
4868
4869 * MAINTAINERS (language support): Daniel Jacobwitz is C++
4870 maintainer.
4871
b0129042
DJ
48722002-01-15 Daniel Jacobowitz <drow@mvista.com>
4873
4874 * c-typeprint.c (is_type_conversion_operator): Add additional
4875 check for non-conversion operators.
4876
ba8679fb 48772002-01-15 Michael Snyder <msnyder@redhat.com>
2bf543a6
MS
4878
4879 * linux-proc.c: Add "info proc" command, a la procfs.c.
4880 (read_mapping): New function, abstract and re-use code.
4881 (linux_find_memory_regions): Use new func read_mapping.
4882 (linux_info_proc_cmd): New function, implement "info proc".
4883 (_initialize_linux_proc): Add new command "info proc".
4884
e4f9b4d5
MS
48852002-01-15 Michael Snyder <msnyder@redhat.com>
4886
4887 * symfile.c (generic_load): Use bfd_map_over_sections method
4888 instead of manipulating bfd structure members directly.
4889 (add_section_size_callback): New function, bfd sections callback
4890 used by generic_load.
4891 (load_sections_callback): New function, bfd sections callback
4892 used by generic_load.
4893
08cf96df
EZ
48942002-01-15 Elena Zannoni <ezannoni@redhat.com>
4895
abf22e64 4896 [Based on work by Jim Blandy]
08cf96df
EZ
4897 * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export.
4898 (builtin_type_vec128): Export.
4899 * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD
4900 types.
4901 (builtin_type_vec128): New builtin type for 128 bit vector
4902 registers.
4903 (build_gdbtypes): Initialize builtin_type_v16qi and
4904 builtin_type_v8hi. Create the vec128 register builtin type
4905 structure.
4906 (build_builtin_type_vec128): New function.
abf22e64 4907 (_initialize_gdbtypes): Register builtin_type_v16qi and
08cf96df
EZ
4908 builtin_type_v8hi with gdbarch. Same for builtin_type_vec128.
4909 * rs6000-tdep.c (rs6000_register_virtual_type): Change type of
4910 AltiVec register to new builtin type.
4911
d7242108
DJ
49122001-01-15 Daniel Jacobowitz <drow@mvista.com>
4913
4914 * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
4915 to make_cv_type.
4916
4ee3352d
AC
49172002-01-14 Andrew Cagney <ac131313@redhat.com>
4918
4919 * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
4920 CLEAN_UP_REGISTER_VALUE.
4921 * regcache.c (supply_register): Update only call.
4922
f015b2e7
AC
49232002-01-14 Andrew Cagney <ac131313@redhat.com>
4924
4925 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
4926 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
4927 a29k-*-vxworks* targets as obsolete.
4928
356ae49d
MS
49292002-01-14 Michael Snyder <msnyder@redhat.com>
4930
4931 * linux-proc.c (linux_do_thread_registers): Ignore fpxregs
4932 until we can resolve portability issues.
4933 * gregset.h: Remove references to fpxregs.
4934 * gcore.c (gcore_command): Initialize note_sec to NULL.
4935
ade8f45e
AC
49362002-01-13 Andrew Cagney <ac131313@redhat.com>
4937
4938 * signals.c (target_signal_to_name): Rewrite. Only use
4939 signals[].name when in bounds and non-NULL.
abf22e64 4940
89c49e7a
AC
49412002-01-13 Andrew Cagney <ac131313@redhat.com>
4942
4943 From Petr Ledvina <ledvinap@kae.zcu.cz>:
4944 * signals.c (target_signal_to_name): Verify that SIG is within the
4945 bounds of the signals array.
4946
4daa9f9f
AC
49472002-01-13 Andrew Cagney <ac131313@redhat.com>
4948
4949 * MAINTAINERS: Remove arm-coff and arm-pe from target list.
4950
ba4bbdcb
KS
49512002-01-13 Keith Seitz <keiths@redhat.com>
4952
4953 * stack.c (print_frame_info_base): Print the frame's pc
4954 only if when print_frame_info_listing_hook is not defined.
4955
575bbeb6
KS
49562002-01-13 Keith Seitz <keiths@redhat.com>
4957
4958 * varobj.c (varobj_set_value): Make sure that there were no
4959 errors evaluating the object before attempting to set its
4960 value.
4961 value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
4962 so this offset adjustment is no longer necessary.
4963 (create_child): Don't set the error flag if the child is
4964 a CPLUS_FAKE_CHILD.
4965 (value_of_child): If value_fetch_lazy fails, return NULL
4966 so that callers will be notified that an error occurred.
4967 (c_value_of_variable): Delay check of variable's validity
4968 until later. We actually want all structs and unions to have
4969 the value "{...}".
4970 Do not return "???" for variables which could not be evaluated.
4971 This error condition must be returned to the caller so that it
4972 can get the error condition from gdb.
4973 (cplus_name_of_child): Adjust index for vptr before figuring
4974 out the name of the child.
4975 (cplus_value_of_child): If a child's (real) parent is not valid,
4976 don't even bother trying to give a value for it. Just return
4977 an error. Change all instances in this function.
4978 (cplus_type_of_child): If our parent is one of the "fake"
4979 parents, we need to get at the type of the real parent, and
4980 derive the child's true type using this information.
4981
b76898ab
AC
49822002-01-13 Andrew Cagney <ac131313@redhat.com>
4983
4984 From 2002-01-09 John Marshall <johnm@falch.net>:
4985 * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
4986 sources.redhat.com, and tweak some related URLs which had
4987 suffered from linkrot.
4988
b6649e88
AC
49892002-01-13 Andrew Cagney <ac131313@redhat.com>
4990
4991 From Jeff law:
4992 * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte
4993 structures passed in registers.
4994
82cc5033
EZ
49952002-01-13 Eli Zaretskii <eliz@is.elta.co.il>
4996
4997 * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous
4998 white space which prevented compilation. Reported by DSK
4999 <dsk@student.unsw.edu.au>.
5000
ba5f2f8a
MS
50012002-01-11 Michael Snyder <msnyder@redhat.com>
5002
fbd35540
MS
5003 * symfile.c (build_section_addr_info_from_section_tab):
5004 Use bfd access method instead of manipulating bfd directly.
5005 (syms_from_objfile): Ditto.
5006 (simple_overlay_update_1): Ditto.
5007 (simple_overlay_update): Ditto.
5008 (generic_load): Ditto.
5009 (overlay_unmapped_address): FIXME comment, bfd access methods.
5010 (sections_overlap): FIXME comment, bfd access methods.
5011 (pc_in_mapped_range): FIXME comment, bfd access methods.
5012 (pc_in_unmapped_range): FIXME comment, bfd access methods.
5013 (section_is_mapped): FIXME comment, bfd access methods.
5014 (section_is_overlay): FIXME comment, bfd access methods.
5015
ba5f2f8a
MS
5016 * symfile.c (generic_load): Whitespace and long line cleanups.
5017 Remove duplicate variable, change several local variables to
5018 more appropriate data types.
5019 (print_transfer_performance): Use %lu instead of %ld for ulongs.
5020
17df2af6
AC
50212002-01-12 Andrew Cagney <ac131313@redhat.com>
5022
5023 From Peter Schauer:
5024 * language.c (longest_local_hex_string_custom): Use phex_nz to
5025 convert NUM to a hex string.
5026
ec920329
EZ
50272002-01-12 Elena Zannoni <ezannoni@redhat.com>
5028
5029 * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
5030 the function.
538a76d6 5031 Update Copyright year.
ec920329 5032
3abd2e01
AC
50332002-01-12 Andrew Cagney <ac131313@redhat.com>
5034
5035 * language.c (longest_raw_hex_string): Delete unused function.
5036
b21b22e0
PS
50372002-01-11 Petr Sorfa <petrs@caldera.com>
5038
5039 * MAINTAINERS (write-after-approval): Add myself.
5040 * dwarf2read.c (read_tag_string_type): Handling of
5041 DW_AT_byte_size.
5042 (read_tag_string_type): FORTRAN fix to prevent propagation of
5043 first string size.
5044 (set_cu_language): Handling of DW_LANG_Fortran95
5045
747fe712
RE
50462002-01-11 Richard Earnshaw <rearnsha@arm.com>
5047
5048 * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
5049 GETPID(inferior_ptid).
5050 (store_inferior_registers): Likewise.
5051
f1bea926
JM
50522002-01-10 Jason Merrill <jason@redhat.com>
5053
5054 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
5055 Fix DW_OP_minus.
5056
ae940673
AC
50572002-01-10 Andrew Cagney <ac131313@redhat.com>
5058
5059 * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
5060 and bfd/elf32-sh-nbsd.c.
5061
00546b04
MS
50622002-01-10 Michael Snyder <msnyder@redhat.com>
5063
352ed7b4
MS
5064 * NEWS: Mention --pid and corefile/proc-id behavior change.
5065
c18be923
MS
5066 * Makefile.in: Add rules for gcore.o and linux-proc.o.
5067 * gcore.c: Include cli/cli-decode.h instead of command.h.
5068
00546b04
MS
5069 * main.c (captured_main): Add new command line option "--pid".
5070 If the second command line argument (following the symbol-file)
5071 begins with a digit, try to attach to it before trying to open
5072 it as a corefile.
5073 (print_gdb_help): Document the "--pid" argument.
5074
db60ec62
EZ
50752002-01-10 Eli Zaretskii <eliz@is.elta.co.il>
5076
5077 * completer.c (command_completer): New function.
5078
5079 * completer.h <command_completer>: Add prototype.
5080
5081 * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
5082 completer for the "help" command.
5083
39c22d1a
JM
50842002-01-09 Jason Merrill <jason@redhat.com>
5085
5086 * c-typeprint.c (is_type_conversion_operator): Fix thinko.
5087
c564377f
MS
50882002-01-09 Michael Snyder <msnyder@redhat.com>
5089
975aec09
MS
5090 * i386-linux-nat.c (fill_fpxregset): Make global.
5091 (store_fpxregset): Ditto.
5092
db4a10fa
MS
5093 * gregset.h (gdb_fpxregset_t): Define.
5094 (supply_fpxregset): Prototype.
5095 (fill_fpxregset): Prototype.
5096
c564377f
MS
5097 * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
5098
c3d45d70
RE
50992002-01-09 Richard Earnshaw <rearnsha@arm.com>
5100
5101 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
5102 * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
5103 * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
5104
fcc87af1
AC
51052002-01-09 Andrew Cagney <ac131313@redhat.com>
5106
5107 * MAINTAINERS: Update target maintainer rules so that any
5108 Maintainer can approve a tested patch for a maintenance-only
5109 target.
5110
dd96c05b
RE
51112002-01-09 Richard Earnshaw <rearnsha@arm.com>
5112
d4297db9 5113 * MAINTAINERS (write-after-approval): Add myself.
dd96c05b 5114
d4297db9 5115 * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
dd96c05b
RE
5116 IN_SIGTRAMP.
5117
145fdc6e
MS
51182002-01-08 Michael Snyder <msnyder@redhat.com>
5119
5120 * linux-proc.c (child_pid_to_exec_file): Use readlink to get the
5121 real name of the executable, rather than the /proc name.
5122
be4d1333
MS
51232002-01-03 Michael Snyder <msnyder@redhat.com>
5124
5125 Implement a "generate-core-file" command in gdb, save target state.
5126 * gcore.c: New file. Implement new command 'generate-core-file'.
5127 Save a corefile image of the current state of the inferior.
5128 * linux-proc.c: Add linux-specific code for saving corefiles.
5129 * target.h (struct target_ops): Add new target vectors for saving
5130 corefiles; to_find_memory_regions and to_make_corefile_notes.
5131 (target_find_memory_regions): New macro.
5132 (target_make_corefile_notes): New macro.
5133 * target.c (update_current_target): Inherit new target methods.
5134 (dummy_find_memory_regions): New place-holder method.
5135 (dummy_make_corefile_notes): New place-holder method.
5136 (init_dummy_target): Initialize new dummy target vectors.
5137 * exec.c (exec_set_find_memory_regions): New function.
5138 Allow the exec_ops vector for memory regions to be taken over.
5139 (exec_make_note_section): New function, target vector method.
5140 * defs.h (exec_set_find_memory_regions): Export prototype.
5141 * procfs.c (proc_find_memory_regions): New function, corefile method.
5142 (procfs_make_note_section): New function, corefile method.
5143 (init_procfs_ops): Set new target vector pointers.
5144 (find_memory_regions_callback): New function.
5145 (procfs_do_thread_registers): New function.
5146 (procfs_corefile_thread_callback): New function.
5147 * sol-thread.c (sol_find_memory_regions): New function.
5148 (sol_make_note_section): New function.
5149 (init_sol_thread_ops): Initialize new target vectors.
5150 * inftarg.c (inftarg_set_find_memory_regions): New function.
5151 Allow to_find_memory_regions vector to be taken over.
5152 (inftarg_set_make_corefile_notes): New function.
5153 Allow to_make_corefile_notes vector to be taken over.
5154 * thread-db.c (thread_db_new_objfile): Don't activate thread-db
5155 interface layer if not target_has_execution (may be a corefile).
5156 * config/i386/linux.mh: Add gcore.o to NATDEPFILES.
5157 * config/sparc/sun4sol2.mh: Ditto.
5158 * config/alpha/alpha-linux.mh: Ditto.
5159 * config/arm/linux.mh: Ditto.
5160 * config/i386/x86-64linux.mh: Ditto.
5161 * config/ia64/linux.mh: Ditto.
5162 * config/m68k/linux.mh: Ditto.
5163 * config/mips/linux.mh: Ditto.
5164 * config/powerpc/linux.mh: Ditto.
5165 * config/sparc/linux.mh: Ditto.
5166
c6b92abd
MS
51672002-01-07 Michael Snyder <msnyder@redhat.com>
5168
5169 * arm-linux-nat.c: Remove references to regcache.c internal data
5170 (registers[] and register_valid[]).
5171
4b09dc8c
MS
51722002-01-07 Michael Snyder <msnyder@redhat.com>
5173
abf22e64
AJ
5174 * linux-proc.c: New file. Implement child_pid_to_exec_file,
5175 so that attaching to a pid will automatically read the process's
4b09dc8c
MS
5176 symbol file and shlibs.
5177 * Makefile.in: Add rule for linux-proc.o.
5178 * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE.
5179 * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES.
5180 * config/arm/linux.mh: Ditto.
5181 * config/i386/linux.mh: Ditto.
5182 * config/i386/x86-64linux.mh: Ditto.
5183 * config/ia64/linux.mh: Ditto.
5184 * config/m68k/linux.mh: Ditto.
5185 * config/mips/linux.mh: Ditto.
5186 * config/powerpc/linux.mh: Ditto.
5187 * config/sparc/linux.mh: Ditto.
5188
c25b74ac
PM
51892002-01-06 Pierre Muller <muller@ics.u-strasbg.fr>
5190
5191 * win32-nat.c: Add i386-tdep.h dependency.
5192
94cd915f
MS
51932002-01-07 Michael Snyder <msnyder@redhat.com>
5194
c7cccb76
MS
5195 * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT
5196 instead of bfd_get_arch_size. Don't bail out just because
5197 there's no exec_bfd.
abf22e64 5198
34c0bd93
MS
5199 * cp-valprint.c (cp_print_value): FIXME comment, alloca size.
5200 * p-valprint.c (pascal_object_print_value): Ditto.
5201 * somread.c (som_symtab_read): Ditto.
5202 * symfile.c (simple_free_overlay_region_table): Ditto.
5203 * valops.c (value_assign): Ditto.
5204
21c1c920
MS
5205 * tracepoint.c (tracepoint_save_command): From Klee Dienes --
5206 use tilde_expand and strerror for opening save-tracepoints file.
5207
5bbd998e
MS
5208 * thread-db.c (thread_db_new_objfile): Indendation fix.
5209
94cd915f
MS
5210 * infptrace.c (GDB_MAX_ALLOCA): New define.
5211 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
abf22e64 5212 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
94cd915f
MS
5213 can be overridden with whatever value is appropriate to the host).
5214 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
5215 alloca to allocate potentially large buffer.
5216 * rs6000-nat.c (child_xfer_memory): Ditto.
5217 * symm-nat.c (child_xfer_memory): Ditto.
5218 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
5219
494e8a93
JSC
52202002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
5221
5222 From Nick Clifton <nickc@redhat.com>
5223 * d10v-tdep.c: Set STACK_START to 0x200bffe.
5224
d0e1d48e
MS
52252002-01-07 Michael Snyder <msnyder@redhat.com>
5226
abf22e64 5227 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
d0e1d48e
MS
5228 Don't use exec_bfd if it's NULL.
5229
290b2c7a
MK
52302002-01-06 Mark Kettenis <kettenis@gnu.org>
5231
abf22e64 5232 * valops.c (value_arg_coerce): Fix formatting.
290b2c7a 5233
aef21287
AC
52342002-01-06 Andrew Cagney <ac131313@redhat.com>
5235
5236 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
5237 * gnu-nat.c: Ditto.
5238
30efa627
AC
52392002-01-06 Andrew Cagney <ac131313@redhat.com>
5240
5241 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
5242 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
5243 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
5244 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
5245 z8k-coff have not been multi-arched. Update z8k-coff build
5246 status.
5247
9b4ff276
AC
52482002-01-06 Andrew Cagney <ac131313@redhat.com>
5249
5250 * MAINTAINERS: Mark a29k target as obsolete.
5251 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
5252 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
5253 comments.
5254 * NEWS: Note that a29k targets are obsolete.
5255 * a29k-tdep.c: Mark as obsolete.
5256 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
5257 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
5258 a29k-*-vxworks* targets as obsolete.
5259 * remote-adapt.c: Obsolete.
5260 * remote-eb.c: Obsolete.
5261 * remote-mm.c: Obsolete.
5262 * remote-udi.c: Obsolete.
5263 * config/a29k/a29k-udi.mt: Obsolete.
5264 * config/a29k/a29k.mt: Obsolete.
5265 * config/a29k/tm-a29k.h: Obsolete.
5266 * config/a29k/tm-vx29k.h: Obsolete.
5267 * config/a29k/vx29k.mt: Obsolete.
5268
a9011d31
AC
52692002-01-05 Andrew Cagney <ac131313@redhat.com>
5270
5271 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
5272 with BFD_ENDIAN_BIG.
5273
9299404e
AC
52742002-01-05 Andrew Cagney <ac131313@redhat.com>
5275
5276 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
5277 * configure, config.in: Re-generate.
5278 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
5279 * defs.h: Do not include <endian.h>.
5280
7e89e357
JT
52812002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
5282
5283 * acconfig.h (HAVE_PT_GETXMMREGS): New.
5284 * config.in: Regenerate.
5285 * configure.in: Update copyright years.
5286 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
5287 * configure: Regenerate.
5288 * i386bsd-nat.c: Update copyright years.
5289 (fill_gregset): Use regcache_collect.
5290 (fetch_inferior_registers): Only fetch integer registers
5291 if requested to do so. Add support for XMM registers
5292 using PT_GETXMMREGS.
5293 (store_inferior_registers): Only store integer registers
5294 if requested to do so. Add support for XMM registers
5295 using PT_SETXMMREGS.
5296 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
5297 (store_inferior_registers): Remove.
5298 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
5299 (fetch_elfcore_registers): New function.
5300 (i386nbsd_elfcore_fns): New.
5301 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
5302 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
5303 i386bsd-nat.o.
5304 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
5305 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
5306 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
5307 * config/i386/tm-nbsd.h: Update copyright years.
5308 (HAVE_SSE_REGS): Define.
5309 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
5310 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
5311 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
5312 (SIGCONTEXT_PC_OFFSET): Remove.
5313 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
5314
a752853e
AC
53152002-01-05 Andrew Cagney <ac131313@redhat.com>
5316
5317 * configure.tgt: Remove powerpc-*-macos* target.
5318 * config/m68k/xm-mpw.h: Delete file.
5319 * config/xm-mpw.h: Delete file.
5320 * ser-mac.c: Delete file.
5321 * mpw-make.sed: Delete file.
5322 * mpw-config.in: Delete file.
5323 * mac-xdep.c: Delete file.
5324 * mac-gdb.r: Delete file.
5325 * mac-defs.h: Delete file.
5326 * mac-nat.c: Delete file.
5327 * config/powerpc/macos.mh: Delete file.
5328 * config/powerpc/macos.mt: Delete file.
5329 * config/powerpc/nm-macos.h: Delete file.
5330 * config/powerpc/tm-macos.h: Delete file.
5331 * source.c (openp, open_source_file): Remove obsolete code.
5332 * top.c (gdb_readline): Ditto.
5333 * utils.c (query): Ditto.
5334 * event-top.c (display_gdb_prompt): Ditto.
5335 * Makefile.in (ser-mac.o): Delete obsolete target.
5336 * NEWS: Update.
5337
d7449b42
AC
53382002-01-04 Andrew Cagney <ac131313@redhat.com>
5339
5340 * defs.h (BIG_ENDIAN): Delete macro definition.
5341 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
5342 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
5343 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
5344 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
5345 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
5346 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
5347 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
5348 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
5349 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
5350 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
5351 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
5352 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
5353 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
5354 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
5355 * gdbarch.c: Re-generate.
5356
356374e8
DJ
53572002-01-04 Daniel Jacobowitz <drow@mvista.com>
5358
5359 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
5360 for core files.
5361
a2b8f8f8
JT
53622002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
5363
5364 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
5365
12466af9
AC
53662002-01-04 Andrew Cagney <ac131313@redhat.com>
5367
5368 * value.h (value_ptr): Delete typedef.
5369
3549ab40
JT
53702002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
5371
5372 * i386nbsd-nat.c: Update copyright years.
5373 Include i386-tdep.h.
5374
fedbd091
EZ
53752002-01-04 Elena Zannoni <ezannoni@redhat.com>
5376
5377 * stabsread.c: Update copyright years.
5378
5379 From Debashis Mahata <debashis.mahata@wipro.com>:
5380 (read_struct_fields): Deal with Sun C compiler erroneous stab
5381 output for structs and unions.
fec8b34f 5382 Fix PR gdb/269.
fedbd091 5383
eb43544b
DJ
53842002-01-04 Daniel Jacobowitz <drow@mvista.com>
5385
5386 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
5387 prototype.
5388
1514d34e
DJ
53892002-01-04 Daniel Jacobowitz <drow@mvista.com>
5390
5391 * cp-abi.c: Fix whitespace.
5392 (baseclass_offset): New wrapper function.
5393 * cp-abi.h (baseclass_offset): Add prototype.
5394 (struct cp_abi_ops): Add baseclass_offset pointer.
5395
5396 * valops.c (vb_match): Move to...
5397 * gnu-v2-abi.c (vb_match): here.
5398 * valops.c (baseclass_offset): Move to...
5399 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
5400
5401 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
5402
5403 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
5404 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
5405 * hpacc-abi.c (init_hpacc_ops): Likewise.
5406
7f8c9282
DJ
54072002-01-04 Daniel Jacobowitz <drow@mvista.com>
5408
5409 * valops.c (find_overload_match): Accept obj as a
5410 reference parameter. Update it before returning.
5411 * value.h (find_overload_match): Update prototype.
5412 * eval.c (evaluate_subexp_standard): Pass object to
5413 find_overload_match by reference.
5414
f23631e4
AC
54152002-01-03 Andrew Cagney <ac131313@redhat.com>
5416
5417 * valarith.c: Replace value_ptr with struct value pointer. Remove
5418 register attribute from value declarations.
5419 * valops.c: Ditto.
5420 * value.h: Ditto.
5421 * scm-lang.c (scm_lookup_name): Ditto.
5422
79e10fab 54232002-01-03 Michael Snyder <msnyder@redhat.com>
abf22e64 5424
79e10fab
AC
5425 Abstract the functionality of iterating over mapped memory
5426 regions into a general purpose iterator function.
abf22e64 5427 * procfs.c (iterate_over_mappings): New function, general purpose
79e10fab
AC
5428 iterator for memory sections.
5429 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
5430 (solib_mappings_callback): New function, callback for above.
5431 (info_proc_mappings): Reimpliment using iterate_over_mappings.
5432 (info_mappings_callback): New function, callback for above.
5433
5434 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
5435
c5ad026a
MK
54362002-01-01 Mark Kettenis <kettenis@gnu.org>
5437
d2a7c97a
MK
5438 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
5439 * i386-tdep.c: Include "elf-bfd.h".
5440 (process_note_abi_tag_sections): New function.
5441 (i386_gdbarch_init): Add code to recognize various OS/ABI
5442 combinations.
5443
c5ad026a
MK
5444 * maint.c (_initialize_maint_cmds): Add missing \ in
5445 string-literal.
5446
a1a5b71e 5447For older changes see ChangeLog-2001
c906108c
SS
5448\f
5449Local Variables:
5450mode: change-log
5451left-margin: 8
5452fill-column: 74
5453version-control: never
5454End:
This page took 0.51242 seconds and 4 git commands to generate.