]>
Commit | Line | Data |
---|---|---|
ea87b71b AO |
1 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
2 | ||
3 | * configure.host: Accept sparcv9 as alias for sparc64. | |
4 | * configure.tgt: Likewise. | |
5 | ||
13fc0c2f KB |
6 | 2002-01-22 Kevin Buettner <kevinb@redhat.com> |
7 | ||
8 | * solib-aix5.c (build_so_list_from_mapfile) | |
9 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
10 | arguments is not reversed. | |
11 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
12 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
13 | ||
7bd872fe EZ |
14 | 2002-01-22 Elena Zannoni <ezannoni@redhat.com> |
15 | ||
16 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
17 | modified version of obsolete sh_fetch_pseudo_register. | |
18 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
19 | (sh4_register_read): New function. | |
20 | (sh_pseudo_register_write): New function. Renamed and modified | |
21 | version of obsolete sh_store_pseudo_register. | |
22 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
23 | (sh4_register_write): New function. | |
24 | (sh_gdbarch_init): Remove setting of gdbarch function | |
25 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
26 | register_convert_to_raw, register_convert_to_virtual, | |
27 | register_convertible. | |
28 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
29 | taken care by architecture specific functions | |
30 | register_read/register_write. | |
31 | (sh_sh4_register_convert_to_virtual): Make static. | |
32 | (sh_sh4_register_convert_to_raw): Ditto. | |
33 | ||
069e84fd AC |
34 | 2002-01-22 Andrew Cagney <ac131313@redhat.com> |
35 | ||
36 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
37 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
38 | ||
39 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
40 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
41 | builtin_type_ieee_double_little, | |
42 | builtin_type_ieee_double_littlebyte_bigword, | |
43 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
44 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
45 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
46 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
47 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
48 | ||
211a4f69 CV |
49 | 2002-01-22 Corinna Vinschen <vinschen@redhat.com> |
50 | ||
51 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
52 | parameter. Set frameless flag if it exists and depended of | |
53 | whether the scanned function is frameless or not. | |
54 | (xstormy16_skip_prologue): If function is frameless, return | |
55 | result of xstormy16_scan_prologue(). | |
56 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
57 | call. | |
58 | ||
f81353e4 EZ |
59 | 2002-01-21 Elena Zannoni <ezannoni@redhat.com> |
60 | ||
61 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
62 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
63 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
64 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
65 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
66 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
67 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
68 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
69 | gdbarch_tdep() just once, assign result to variable and use that, | |
70 | instead of calling the function several times. | |
71 | ||
63c73a17 MK |
72 | 2002-01-20 Mark Kettenis <kettenis@gnu.org> |
73 | ||
74 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
75 | macros instead of LAST_FPU_CTRL_REGNUM. | |
76 | (store_register): Likewise. | |
77 | ||
39ad761d JB |
78 | 2002-01-21 Jim Blandy <jimb@redhat.com> |
79 | ||
80 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
81 | is up-to-date before running the program, not just when a program | |
82 | exits. | |
83 | ||
3d74b771 FF |
84 | 2002-01-21 Fred Fish <fnf@redhat.com> |
85 | ||
86 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
87 | when we have found all instructions we are looking for. | |
88 | ||
966fbf70 RE |
89 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
90 | ||
91 | * arm-tdep.c (arm_register_name): New function. | |
92 | (arm_registers_names): Make static. | |
93 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
94 | (arm_register_name): Declare. | |
95 | (REGISTER_NAME): Use it. | |
96 | ||
c3b4394c RE |
97 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
98 | Kevin Buettner <kevinb@redhat.com> | |
99 | ||
100 | Convert arm targets to new FRAME interface. | |
101 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
102 | (arm_frame_find_save_regs): Delete. | |
103 | (arm_frame_init_saved_regs): New. | |
104 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
105 | Allocate extra_info as required. Convert all uses of fsr.regs | |
106 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
107 | to use extra_info. | |
108 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
109 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
110 | (check_prologue_cache, save_prologue_cache): Likewise. | |
111 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
112 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
113 | (FRAME_FIND_SAVED_REGS): Delete. | |
114 | (arm_frame_find_saved_regs): Delete prototype. | |
115 | (arm_frame_init_saved_regs): New prototype. | |
116 | (FRAME_INIT_SAVED_REGS): Define. | |
117 | ||
61d99182 AC |
118 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
119 | ||
120 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
121 | ||
6aaea291 AC |
122 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
123 | ||
124 | From Jeff Law <law@redhat.com>: | |
125 | * infttrace.c: Include <sys/pstat.h>. | |
126 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
127 | exec file if the ttrace equivalent fails. | |
128 | ||
15f698d2 AC |
129 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
130 | ||
131 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
132 | (closeLogFile): Ditto. | |
133 | ||
f86ddd7c MC |
134 | 2002-01-20 Michael Chastain <mec@shout.net> |
135 | ||
136 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
137 | ||
904507ce AC |
138 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
139 | ||
140 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
141 | Zannoni and Eli Zaretskii. | |
142 | ||
d7f0b9ce DJ |
143 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
144 | ||
145 | * buildsym.c: Update copyright years. | |
146 | * c-typeprint.c: Likewise. | |
147 | * dwarf2read.c: Likewise. | |
148 | * f-typeprint.c: Likewise. | |
149 | * gdbtypes.c: Likewise. | |
150 | * gdbtypes.h: Likewise. | |
151 | * hp-symtab-read.c: Likewise. | |
152 | * hpread.c: Likewise. | |
153 | * mdebugread.c: Likewise. | |
154 | * p-typeprint.c: Likewise. | |
155 | ||
3fd3d7d2 AC |
156 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
157 | ||
158 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
159 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
160 | byte-order selectable. | |
161 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
162 | * arch-utils.c: Ditto. | |
163 | (set_endian): Ditto. | |
164 | (set_endian_from_file): Ditto. | |
165 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
166 | * gdbarch.sh: Ditto. | |
167 | * gdbarch.h: Re-generate. | |
168 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
169 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
170 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
171 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
172 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
173 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
174 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
175 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete | |
176 | macro definition. | |
177 | * config/mips/tm-wince.h: Remove #undef of macro | |
178 | TARGET_BYTE_ORDER_SELECTABLE. | |
179 | * config/sh/tm-wince.h: Ditto. | |
180 | ||
b02dede2 DJ |
181 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
182 | ||
183 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
184 | member function fields. Add accessor macro | |
185 | TYPE_FN_FIELD_ARTIFICIAL. | |
186 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
187 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
188 | functions. | |
189 | ||
c3643761 DJ |
190 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
191 | ||
192 | * f-typeprint.c: Delete unused function f_type_print_args. | |
193 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
194 | ||
8176bb6d DJ |
195 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
196 | ||
197 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
198 | comment. Add ``artificial'' to ``union field_location''. | |
199 | ||
200 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
201 | ||
202 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
203 | * mdebugread.c (parse_symbol): Likewise. | |
204 | * stabsread.c (define_symbol): Likewise. | |
205 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
206 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
207 | (hpread_doc_function_type): Likewise. | |
208 | * hpread.c (hpread_function_type): Likewise. | |
209 | ||
7fd60527 AC |
210 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
211 | ||
212 | * configure.in (host_makefile_frag): Only require a host makefile | |
213 | fragment when a native build. | |
214 | * configure: Re-generate. | |
215 | ||
c2f05ac9 AC |
216 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
217 | ||
218 | * doublest.h (floatformat_from_type): Declare. | |
219 | * doublest.c (floatformat_from_type): New function. | |
220 | (convert_typed_floating): Use. | |
221 | ||
222 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
223 | call to function floatformat_from_type. | |
224 | ||
225 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
226 | * gdbarch.h, gdbarch.c: Re-generate. | |
227 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
228 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
229 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
230 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
231 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
232 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
233 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
234 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
235 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
236 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
237 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
238 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
239 | ||
240 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
241 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
242 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
243 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
244 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
245 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
246 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
247 | ||
abf22e64 AJ |
248 | 2002-01-20 Jiri Smid <smid@suse.cz> |
249 | ||
250 | * configure.host, configure.tgt: Support x86-64. | |
251 | * NEWS: Note new target x86-64. | |
252 | ||
b7c4cbf8 AJ |
253 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
254 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
255 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
256 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
257 | x86-64-linux-nat.o): Fix dependencies. | |
258 | ||
82600034 AC |
259 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
260 | ||
261 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
262 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
263 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
264 | * config/sparc/xm-sun4os4.h: Delete file. | |
265 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 266 | |
bbe5c628 AC |
267 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
268 | ||
269 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
270 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
271 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
272 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
273 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
274 | * config/sparc/xm-sparclynx.h: Delete file. | |
275 | * config/m68k/xm-m68klynx.h: Delete file. | |
276 | * config/i386/xm-i386lynx.h: Delete file. | |
277 | * config/xm-lynx.h: Delete file. | |
278 | * config/djgpp/fnchange.lst: Update. | |
279 | ||
f8453e34 JT |
280 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
281 | ||
282 | * alpha-tdep.c (alpha_register_byte): New function. | |
283 | (alpha_register_raw_size): Ditto. | |
284 | (alpha_register_virtual_size): Ditto. | |
285 | (alpha_skip_prologue_internal): Renamed from | |
286 | alpha_skip_prologue. | |
287 | (alpha_skip_prologue): New version that calls | |
288 | alpha_skip_prologue_internal. | |
289 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
290 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
291 | second argument from alpha_skip_prologue. | |
292 | (REGISTER_BYTE): Use alpha_register_byte. | |
293 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
294 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
295 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
296 | generic_frameless_function_invocation_not. | |
297 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
298 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
299 | ||
52d9e613 AC |
300 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
301 | ||
302 | * config/mips/xm-news-mips.h: Delete file. | |
303 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
304 | ||
305 | * config/m88k/xm-m88k.h: Delete file. | |
306 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
307 | * config/m88k/xm-delta88v4.h: Ditto. | |
308 | * config/m88k/xm-delta88.h: Ditto. | |
309 | ||
310 | * config/alpha/xm-fbsd.h: Delete file. | |
311 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
312 | ||
313 | * config/sparc/xm-sparc.h: Delete file. | |
314 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
315 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
316 | * config/sparc/xm-sun4os4.h: Ditto. | |
317 | * config/sparc/xm-linux.h: Ditto. | |
318 | ||
319 | * config/i386/xm-windows.h: Delete file. | |
320 | ||
2d1b2124 AC |
321 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
322 | ||
323 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
324 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
325 | ||
ee1f65f0 JT |
326 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
327 | ||
328 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
329 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
330 | (CALL_DUMMY_P): Define. | |
331 | (CALL_DUMMY_WORDS): Define. | |
332 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
333 | ||
98081e55 PB |
334 | 2002-01-19 Per Bothner <per@bothner.com> |
335 | ||
336 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
337 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
338 | ||
0d056799 JT |
339 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
340 | ||
341 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
342 | (alpha_init_frame_pc_first): Ditto. | |
343 | (alpha_fix_call_dummy): Ditto. | |
344 | (alpha_store_struct_return): Ditto. | |
345 | (alpha_extract_struct_value_address): Ditto. | |
346 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
347 | alpha_register_virtual_type. | |
348 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
349 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
350 | alpha_extract_struct_value_address. | |
351 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
352 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
353 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
354 | ||
4604bcad MK |
355 | 2002-01-19 Mark Kettenis <kettenis@gnu.org> |
356 | ||
357 | * i386gnu-nat.c: Include "i386-tdep.h". | |
358 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
359 | point states such that it doesn't require FP7_REGNUM. | |
360 | ||
140f9984 JT |
361 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
362 | ||
abf22e64 AJ |
363 | * alpha-tdep.c (frame_extra_info): New. |
364 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
365 | frame->extra_info. |
366 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
367 | (alpha_frame_saved_pc): Use frame->extra_info. |
368 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
369 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
370 | (init_extra_frame_info): Rename to... |
371 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 372 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
373 | (alpha_frame_locals_address): Ditto. |
374 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 375 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
376 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
377 | alpha_frame_args_address. | |
abf22e64 | 378 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 379 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
380 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
381 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
382 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
383 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
384 | ||
d734c450 JT |
385 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
386 | ||
387 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
388 | (alpha_cannot_fetch_register): Ditto. | |
389 | (alpha_cannot_store_register): Ditto. | |
390 | (alpha_register_convertible): Ditto. | |
391 | (alpha_use_struct_convention): Ditto. | |
392 | * config/alpha/tm-alpha.h: Update copyright years. | |
393 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
394 | (INNER_THAN): Use core_addr_lessthan. | |
395 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
396 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
397 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
398 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
399 | (FRAME_CHAIN): Remove unnecessary cast. | |
400 | ||
b4ceaee6 AC |
401 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
402 | ||
403 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
404 | obsolete. | |
405 | ||
0a65a603 AC |
406 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
407 | ||
408 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
409 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
410 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
411 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
412 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
413 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
414 | * x86-64-linux-nat.c: Ditto. | |
415 | ||
636a6dfc JT |
416 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
417 | ||
abf22e64 | 418 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
419 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
420 | (REGISTER_NAME): Define. | |
421 | ||
acceddb6 JT |
422 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
423 | ||
424 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
425 | ||
ec32e4be JT |
426 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
427 | ||
428 | * alpha-tdep.c: Update copyright years. | |
429 | (alpha_next_pc): New function. | |
430 | (alpha_software_single_step): Ditto. | |
431 | * config/alpha/tm-alpha.h: Add prototype for | |
432 | alpha_software_single_step. | |
433 | ||
e771a871 JT |
434 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
435 | ||
436 | * alphabsd-nat.c: Update copyright years. | |
437 | (fill_gregset): Use regcache_collect. | |
438 | (fill_fpregset): Likewise. | |
439 | (fetch_inferior_registers): Only fetch integer registers | |
440 | if requested to do so. | |
441 | (store_inferior_registers): Only store integer registers | |
442 | if requested to do so. | |
443 | ||
7708fa01 AC |
444 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
445 | ||
446 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
447 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
448 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
449 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
450 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
451 | * config/arm/linux.mh (XDEPFILES): Delete. | |
452 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
453 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
454 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
455 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
456 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
457 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
458 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
459 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
460 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
461 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
462 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
463 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
464 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
465 | * config/i386/go32.mh (XDEPFILES): Delete. | |
466 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
467 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
468 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
469 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
470 | * config/i386/linux.mh (XDEPFILES): Delete. | |
471 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
472 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
473 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
474 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
475 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
476 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
477 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
478 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
479 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
480 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
481 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
482 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
483 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
484 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
485 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
486 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
487 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
488 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
489 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
490 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
491 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
492 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
493 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
494 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
495 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
496 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
497 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
498 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
499 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
500 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
501 | * config/mips/linux.mh (XDEPFILES): Delete. | |
502 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
503 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
504 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
505 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
506 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
507 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
508 | (NATDEPFILES): Move core-aout.o to here. | |
509 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
510 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
511 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
512 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
513 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
514 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
515 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
516 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
517 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
518 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
519 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
520 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
521 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
522 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
523 | * config/s390/s390.mh (XDEPFILES): Delete. | |
524 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
525 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
526 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
527 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
528 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
529 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
530 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
531 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
532 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
533 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
534 | ||
375fc983 AC |
535 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
536 | ||
537 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
538 | Update queries to match. Default to quit and dump core. | |
539 | ||
8926118c AC |
540 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
541 | ||
542 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
543 | copyright. | |
544 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
545 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
546 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
547 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
548 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
549 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
550 | * mi/mi-main.c:Ditto. | |
551 | ||
552 | * stack.c, symfile.c: Update copyright. | |
553 | ||
45b7b345 DJ |
554 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
555 | ||
db728ff7 DJ |
556 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
557 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
558 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
559 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 560 | |
db728ff7 DJ |
561 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
562 | ||
563 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
564 | * gdbserver/low-lynx.c (myattach): Likewise. | |
565 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
566 | * gdbserver/low-sim.c (myattach): Likewise. | |
567 | * gdbserver/low-sparc.c (myattach): Likewise. | |
568 | * gdbserver/low-sun3.c (myattach): Likewise. | |
569 | ||
570 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 571 | |
db728ff7 | 572 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
573 | (main): Handle "--attach". |
574 | ||
8de3c354 AC |
575 | 2002-01-16 Andrew Cagney <ac131313@redhat.com> |
576 | ||
577 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
578 | maintainer. | |
579 | ||
b0129042 DJ |
580 | 2002-01-15 Daniel Jacobowitz <drow@mvista.com> |
581 | ||
582 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
583 | check for non-conversion operators. | |
584 | ||
ba8679fb | 585 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
2bf543a6 MS |
586 | |
587 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
588 | (read_mapping): New function, abstract and re-use code. | |
589 | (linux_find_memory_regions): Use new func read_mapping. | |
590 | (linux_info_proc_cmd): New function, implement "info proc". | |
591 | (_initialize_linux_proc): Add new command "info proc". | |
592 | ||
e4f9b4d5 MS |
593 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
594 | ||
595 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
596 | instead of manipulating bfd structure members directly. | |
597 | (add_section_size_callback): New function, bfd sections callback | |
598 | used by generic_load. | |
599 | (load_sections_callback): New function, bfd sections callback | |
600 | used by generic_load. | |
601 | ||
08cf96df EZ |
602 | 2002-01-15 Elena Zannoni <ezannoni@redhat.com> |
603 | ||
abf22e64 | 604 | [Based on work by Jim Blandy] |
08cf96df EZ |
605 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
606 | (builtin_type_vec128): Export. | |
607 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
608 | types. | |
609 | (builtin_type_vec128): New builtin type for 128 bit vector | |
610 | registers. | |
611 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
612 | builtin_type_v8hi. Create the vec128 register builtin type | |
613 | structure. | |
614 | (build_builtin_type_vec128): New function. | |
abf22e64 | 615 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
616 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
617 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
618 | AltiVec register to new builtin type. | |
619 | ||
d7242108 DJ |
620 | 2001-01-15 Daniel Jacobowitz <drow@mvista.com> |
621 | ||
622 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
623 | to make_cv_type. | |
624 | ||
4ee3352d AC |
625 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
626 | ||
627 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
628 | CLEAN_UP_REGISTER_VALUE. | |
629 | * regcache.c (supply_register): Update only call. | |
630 | ||
f015b2e7 AC |
631 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
632 | ||
633 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
634 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
635 | a29k-*-vxworks* targets as obsolete. | |
636 | ||
356ae49d MS |
637 | 2002-01-14 Michael Snyder <msnyder@redhat.com> |
638 | ||
639 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
640 | until we can resolve portability issues. | |
641 | * gregset.h: Remove references to fpxregs. | |
642 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
643 | ||
ade8f45e AC |
644 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
645 | ||
646 | * signals.c (target_signal_to_name): Rewrite. Only use | |
647 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 648 | |
89c49e7a AC |
649 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
650 | ||
651 | From Petr Ledvina <ledvinap@kae.zcu.cz>: | |
652 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
653 | bounds of the signals array. | |
654 | ||
4daa9f9f AC |
655 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
656 | ||
657 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
658 | ||
ba4bbdcb KS |
659 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
660 | ||
661 | * stack.c (print_frame_info_base): Print the frame's pc | |
662 | only if when print_frame_info_listing_hook is not defined. | |
663 | ||
575bbeb6 KS |
664 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
665 | ||
666 | * varobj.c (varobj_set_value): Make sure that there were no | |
667 | errors evaluating the object before attempting to set its | |
668 | value. | |
669 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
670 | so this offset adjustment is no longer necessary. | |
671 | (create_child): Don't set the error flag if the child is | |
672 | a CPLUS_FAKE_CHILD. | |
673 | (value_of_child): If value_fetch_lazy fails, return NULL | |
674 | so that callers will be notified that an error occurred. | |
675 | (c_value_of_variable): Delay check of variable's validity | |
676 | until later. We actually want all structs and unions to have | |
677 | the value "{...}". | |
678 | Do not return "???" for variables which could not be evaluated. | |
679 | This error condition must be returned to the caller so that it | |
680 | can get the error condition from gdb. | |
681 | (cplus_name_of_child): Adjust index for vptr before figuring | |
682 | out the name of the child. | |
683 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
684 | don't even bother trying to give a value for it. Just return | |
685 | an error. Change all instances in this function. | |
686 | (cplus_type_of_child): If our parent is one of the "fake" | |
687 | parents, we need to get at the type of the real parent, and | |
688 | derive the child's true type using this information. | |
689 | ||
b76898ab AC |
690 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
691 | ||
692 | From 2002-01-09 John Marshall <johnm@falch.net>: | |
693 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
694 | sources.redhat.com, and tweak some related URLs which had | |
695 | suffered from linkrot. | |
696 | ||
b6649e88 AC |
697 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
698 | ||
699 | From Jeff law: | |
700 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
701 | structures passed in registers. | |
702 | ||
82cc5033 EZ |
703 | 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il> |
704 | ||
705 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
706 | white space which prevented compilation. Reported by DSK | |
707 | <dsk@student.unsw.edu.au>. | |
708 | ||
ba5f2f8a MS |
709 | 2002-01-11 Michael Snyder <msnyder@redhat.com> |
710 | ||
fbd35540 MS |
711 | * symfile.c (build_section_addr_info_from_section_tab): |
712 | Use bfd access method instead of manipulating bfd directly. | |
713 | (syms_from_objfile): Ditto. | |
714 | (simple_overlay_update_1): Ditto. | |
715 | (simple_overlay_update): Ditto. | |
716 | (generic_load): Ditto. | |
717 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
718 | (sections_overlap): FIXME comment, bfd access methods. | |
719 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
720 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
721 | (section_is_mapped): FIXME comment, bfd access methods. | |
722 | (section_is_overlay): FIXME comment, bfd access methods. | |
723 | ||
ba5f2f8a MS |
724 | * symfile.c (generic_load): Whitespace and long line cleanups. |
725 | Remove duplicate variable, change several local variables to | |
726 | more appropriate data types. | |
727 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
728 | ||
17df2af6 AC |
729 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
730 | ||
731 | From Peter Schauer: | |
732 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
733 | convert NUM to a hex string. | |
734 | ||
ec920329 EZ |
735 | 2002-01-12 Elena Zannoni <ezannoni@redhat.com> |
736 | ||
737 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
738 | the function. | |
538a76d6 | 739 | Update Copyright year. |
ec920329 | 740 | |
3abd2e01 AC |
741 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
742 | ||
743 | * language.c (longest_raw_hex_string): Delete unused function. | |
744 | ||
b21b22e0 PS |
745 | 2002-01-11 Petr Sorfa <petrs@caldera.com> |
746 | ||
747 | * MAINTAINERS (write-after-approval): Add myself. | |
748 | * dwarf2read.c (read_tag_string_type): Handling of | |
749 | DW_AT_byte_size. | |
750 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
751 | first string size. | |
752 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
753 | ||
747fe712 RE |
754 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
755 | ||
756 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
757 | GETPID(inferior_ptid). | |
758 | (store_inferior_registers): Likewise. | |
759 | ||
f1bea926 JM |
760 | 2002-01-10 Jason Merrill <jason@redhat.com> |
761 | ||
762 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
763 | Fix DW_OP_minus. | |
764 | ||
ae940673 AC |
765 | 2002-01-10 Andrew Cagney <ac131313@redhat.com> |
766 | ||
767 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
768 | and bfd/elf32-sh-nbsd.c. | |
769 | ||
00546b04 MS |
770 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
771 | ||
352ed7b4 MS |
772 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
773 | ||
c18be923 MS |
774 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
775 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
776 | ||
00546b04 MS |
777 | * main.c (captured_main): Add new command line option "--pid". |
778 | If the second command line argument (following the symbol-file) | |
779 | begins with a digit, try to attach to it before trying to open | |
780 | it as a corefile. | |
781 | (print_gdb_help): Document the "--pid" argument. | |
782 | ||
db60ec62 EZ |
783 | 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il> |
784 | ||
785 | * completer.c (command_completer): New function. | |
786 | ||
787 | * completer.h <command_completer>: Add prototype. | |
788 | ||
789 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
790 | completer for the "help" command. | |
791 | ||
39c22d1a JM |
792 | 2002-01-09 Jason Merrill <jason@redhat.com> |
793 | ||
794 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
795 | ||
c564377f MS |
796 | 2002-01-09 Michael Snyder <msnyder@redhat.com> |
797 | ||
975aec09 MS |
798 | * i386-linux-nat.c (fill_fpxregset): Make global. |
799 | (store_fpxregset): Ditto. | |
800 | ||
db4a10fa MS |
801 | * gregset.h (gdb_fpxregset_t): Define. |
802 | (supply_fpxregset): Prototype. | |
803 | (fill_fpxregset): Prototype. | |
804 | ||
c564377f MS |
805 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
806 | ||
c3d45d70 RE |
807 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
808 | ||
809 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
810 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
811 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
812 | ||
fcc87af1 AC |
813 | 2002-01-09 Andrew Cagney <ac131313@redhat.com> |
814 | ||
815 | * MAINTAINERS: Update target maintainer rules so that any | |
816 | Maintainer can approve a tested patch for a maintenance-only | |
817 | target. | |
818 | ||
dd96c05b RE |
819 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
820 | ||
d4297db9 | 821 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 822 | |
d4297db9 | 823 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
824 | IN_SIGTRAMP. |
825 | ||
145fdc6e MS |
826 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
827 | ||
828 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
829 | real name of the executable, rather than the /proc name. | |
830 | ||
be4d1333 MS |
831 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
832 | ||
833 | Implement a "generate-core-file" command in gdb, save target state. | |
834 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
835 | Save a corefile image of the current state of the inferior. | |
836 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
837 | * target.h (struct target_ops): Add new target vectors for saving | |
838 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
839 | (target_find_memory_regions): New macro. | |
840 | (target_make_corefile_notes): New macro. | |
841 | * target.c (update_current_target): Inherit new target methods. | |
842 | (dummy_find_memory_regions): New place-holder method. | |
843 | (dummy_make_corefile_notes): New place-holder method. | |
844 | (init_dummy_target): Initialize new dummy target vectors. | |
845 | * exec.c (exec_set_find_memory_regions): New function. | |
846 | Allow the exec_ops vector for memory regions to be taken over. | |
847 | (exec_make_note_section): New function, target vector method. | |
848 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
849 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
850 | (procfs_make_note_section): New function, corefile method. | |
851 | (init_procfs_ops): Set new target vector pointers. | |
852 | (find_memory_regions_callback): New function. | |
853 | (procfs_do_thread_registers): New function. | |
854 | (procfs_corefile_thread_callback): New function. | |
855 | * sol-thread.c (sol_find_memory_regions): New function. | |
856 | (sol_make_note_section): New function. | |
857 | (init_sol_thread_ops): Initialize new target vectors. | |
858 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
859 | Allow to_find_memory_regions vector to be taken over. | |
860 | (inftarg_set_make_corefile_notes): New function. | |
861 | Allow to_make_corefile_notes vector to be taken over. | |
862 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
863 | interface layer if not target_has_execution (may be a corefile). | |
864 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
865 | * config/sparc/sun4sol2.mh: Ditto. | |
866 | * config/alpha/alpha-linux.mh: Ditto. | |
867 | * config/arm/linux.mh: Ditto. | |
868 | * config/i386/x86-64linux.mh: Ditto. | |
869 | * config/ia64/linux.mh: Ditto. | |
870 | * config/m68k/linux.mh: Ditto. | |
871 | * config/mips/linux.mh: Ditto. | |
872 | * config/powerpc/linux.mh: Ditto. | |
873 | * config/sparc/linux.mh: Ditto. | |
874 | ||
c6b92abd MS |
875 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
876 | ||
877 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
878 | (registers[] and register_valid[]). | |
879 | ||
4b09dc8c MS |
880 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
881 | ||
abf22e64 AJ |
882 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
883 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
884 | symbol file and shlibs. |
885 | * Makefile.in: Add rule for linux-proc.o. | |
886 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
887 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
888 | * config/arm/linux.mh: Ditto. | |
889 | * config/i386/linux.mh: Ditto. | |
890 | * config/i386/x86-64linux.mh: Ditto. | |
891 | * config/ia64/linux.mh: Ditto. | |
892 | * config/m68k/linux.mh: Ditto. | |
893 | * config/mips/linux.mh: Ditto. | |
894 | * config/powerpc/linux.mh: Ditto. | |
895 | * config/sparc/linux.mh: Ditto. | |
896 | ||
c25b74ac PM |
897 | 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr> |
898 | ||
899 | * win32-nat.c: Add i386-tdep.h dependency. | |
900 | ||
94cd915f MS |
901 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
902 | ||
c7cccb76 MS |
903 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
904 | instead of bfd_get_arch_size. Don't bail out just because | |
905 | there's no exec_bfd. | |
abf22e64 | 906 | |
34c0bd93 MS |
907 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
908 | * p-valprint.c (pascal_object_print_value): Ditto. | |
909 | * somread.c (som_symtab_read): Ditto. | |
910 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
911 | * valops.c (value_assign): Ditto. | |
912 | ||
21c1c920 MS |
913 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
914 | use tilde_expand and strerror for opening save-tracepoints file. | |
915 | ||
5bbd998e MS |
916 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
917 | ||
94cd915f MS |
918 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
919 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 920 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
921 | can be overridden with whatever value is appropriate to the host). |
922 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
923 | alloca to allocate potentially large buffer. | |
924 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
925 | * symm-nat.c (child_xfer_memory): Ditto. | |
926 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
927 | ||
494e8a93 JSC |
928 | 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com> |
929 | ||
930 | From Nick Clifton <nickc@redhat.com> | |
931 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
932 | ||
d0e1d48e MS |
933 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
934 | ||
abf22e64 | 935 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
936 | Don't use exec_bfd if it's NULL. |
937 | ||
290b2c7a MK |
938 | 2002-01-06 Mark Kettenis <kettenis@gnu.org> |
939 | ||
abf22e64 | 940 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 941 | |
aef21287 AC |
942 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
943 | ||
944 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
945 | * gnu-nat.c: Ditto. | |
946 | ||
30efa627 AC |
947 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
948 | ||
949 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
950 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
951 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
952 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
953 | z8k-coff have not been multi-arched. Update z8k-coff build | |
954 | status. | |
955 | ||
9b4ff276 AC |
956 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
957 | ||
958 | * MAINTAINERS: Mark a29k target as obsolete. | |
959 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
960 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
961 | comments. | |
962 | * NEWS: Note that a29k targets are obsolete. | |
963 | * a29k-tdep.c: Mark as obsolete. | |
964 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
965 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
966 | a29k-*-vxworks* targets as obsolete. | |
967 | * remote-adapt.c: Obsolete. | |
968 | * remote-eb.c: Obsolete. | |
969 | * remote-mm.c: Obsolete. | |
970 | * remote-udi.c: Obsolete. | |
971 | * config/a29k/a29k-udi.mt: Obsolete. | |
972 | * config/a29k/a29k.mt: Obsolete. | |
973 | * config/a29k/tm-a29k.h: Obsolete. | |
974 | * config/a29k/tm-vx29k.h: Obsolete. | |
975 | * config/a29k/vx29k.mt: Obsolete. | |
976 | ||
a9011d31 AC |
977 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
978 | ||
979 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
980 | with BFD_ENDIAN_BIG. | |
981 | ||
9299404e AC |
982 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
983 | ||
984 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
985 | * configure, config.in: Re-generate. | |
986 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
987 | * defs.h: Do not include <endian.h>. | |
988 | ||
7e89e357 JT |
989 | 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com> |
990 | ||
991 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
992 | * config.in: Regenerate. | |
993 | * configure.in: Update copyright years. | |
994 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
995 | * configure: Regenerate. | |
996 | * i386bsd-nat.c: Update copyright years. | |
997 | (fill_gregset): Use regcache_collect. | |
998 | (fetch_inferior_registers): Only fetch integer registers | |
999 | if requested to do so. Add support for XMM registers | |
1000 | using PT_GETXMMREGS. | |
1001 | (store_inferior_registers): Only store integer registers | |
1002 | if requested to do so. Add support for XMM registers | |
1003 | using PT_SETXMMREGS. | |
1004 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
1005 | (store_inferior_registers): Remove. | |
1006 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
1007 | (fetch_elfcore_registers): New function. | |
1008 | (i386nbsd_elfcore_fns): New. | |
1009 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
1010 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
1011 | i386bsd-nat.o. | |
1012 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
1013 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
1014 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
1015 | * config/i386/tm-nbsd.h: Update copyright years. | |
1016 | (HAVE_SSE_REGS): Define. | |
1017 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
1018 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
1019 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
1020 | (SIGCONTEXT_PC_OFFSET): Remove. | |
1021 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
1022 | ||
a752853e AC |
1023 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
1024 | ||
1025 | * configure.tgt: Remove powerpc-*-macos* target. | |
1026 | * config/m68k/xm-mpw.h: Delete file. | |
1027 | * config/xm-mpw.h: Delete file. | |
1028 | * ser-mac.c: Delete file. | |
1029 | * mpw-make.sed: Delete file. | |
1030 | * mpw-config.in: Delete file. | |
1031 | * mac-xdep.c: Delete file. | |
1032 | * mac-gdb.r: Delete file. | |
1033 | * mac-defs.h: Delete file. | |
1034 | * mac-nat.c: Delete file. | |
1035 | * config/powerpc/macos.mh: Delete file. | |
1036 | * config/powerpc/macos.mt: Delete file. | |
1037 | * config/powerpc/nm-macos.h: Delete file. | |
1038 | * config/powerpc/tm-macos.h: Delete file. | |
1039 | * source.c (openp, open_source_file): Remove obsolete code. | |
1040 | * top.c (gdb_readline): Ditto. | |
1041 | * utils.c (query): Ditto. | |
1042 | * event-top.c (display_gdb_prompt): Ditto. | |
1043 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
1044 | * NEWS: Update. | |
1045 | ||
d7449b42 AC |
1046 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
1047 | ||
1048 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
1049 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
1050 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
1051 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
1052 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
1053 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
1054 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
1055 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
1056 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
1057 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
1058 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
1059 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
1060 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
1061 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
1062 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
1063 | * gdbarch.c: Re-generate. | |
1064 | ||
356374e8 DJ |
1065 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1066 | ||
1067 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
1068 | for core files. | |
1069 | ||
a2b8f8f8 JT |
1070 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
1071 | ||
1072 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
1073 | ||
12466af9 AC |
1074 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
1075 | ||
1076 | * value.h (value_ptr): Delete typedef. | |
1077 | ||
3549ab40 JT |
1078 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
1079 | ||
1080 | * i386nbsd-nat.c: Update copyright years. | |
1081 | Include i386-tdep.h. | |
1082 | ||
fedbd091 EZ |
1083 | 2002-01-04 Elena Zannoni <ezannoni@redhat.com> |
1084 | ||
1085 | * stabsread.c: Update copyright years. | |
1086 | ||
1087 | From Debashis Mahata <debashis.mahata@wipro.com>: | |
1088 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
1089 | output for structs and unions. | |
fec8b34f | 1090 | Fix PR gdb/269. |
fedbd091 | 1091 | |
eb43544b DJ |
1092 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1093 | ||
1094 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
1095 | prototype. | |
1096 | ||
1514d34e DJ |
1097 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1098 | ||
1099 | * cp-abi.c: Fix whitespace. | |
1100 | (baseclass_offset): New wrapper function. | |
1101 | * cp-abi.h (baseclass_offset): Add prototype. | |
1102 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
1103 | ||
1104 | * valops.c (vb_match): Move to... | |
1105 | * gnu-v2-abi.c (vb_match): here. | |
1106 | * valops.c (baseclass_offset): Move to... | |
1107 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
1108 | ||
1109 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
1110 | ||
1111 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
1112 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
1113 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
1114 | ||
7f8c9282 DJ |
1115 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
1116 | ||
1117 | * valops.c (find_overload_match): Accept obj as a | |
1118 | reference parameter. Update it before returning. | |
1119 | * value.h (find_overload_match): Update prototype. | |
1120 | * eval.c (evaluate_subexp_standard): Pass object to | |
1121 | find_overload_match by reference. | |
1122 | ||
f23631e4 AC |
1123 | 2002-01-03 Andrew Cagney <ac131313@redhat.com> |
1124 | ||
1125 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
1126 | register attribute from value declarations. | |
1127 | * valops.c: Ditto. | |
1128 | * value.h: Ditto. | |
1129 | * scm-lang.c (scm_lookup_name): Ditto. | |
1130 | ||
79e10fab | 1131 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
abf22e64 | 1132 | |
79e10fab AC |
1133 | Abstract the functionality of iterating over mapped memory |
1134 | regions into a general purpose iterator function. | |
abf22e64 | 1135 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
1136 | iterator for memory sections. |
1137 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
1138 | (solib_mappings_callback): New function, callback for above. | |
1139 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
1140 | (info_mappings_callback): New function, callback for above. | |
1141 | ||
1142 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
1143 | ||
c5ad026a MK |
1144 | 2002-01-01 Mark Kettenis <kettenis@gnu.org> |
1145 | ||
d2a7c97a MK |
1146 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
1147 | * i386-tdep.c: Include "elf-bfd.h". | |
1148 | (process_note_abi_tag_sections): New function. | |
1149 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
1150 | combinations. | |
1151 | ||
c5ad026a MK |
1152 | * maint.c (_initialize_maint_cmds): Add missing \ in |
1153 | string-literal. | |
1154 | ||
a1a5b71e | 1155 | For older changes see ChangeLog-2001 |
c906108c SS |
1156 | \f |
1157 | Local Variables: | |
1158 | mode: change-log | |
1159 | left-margin: 8 | |
1160 | fill-column: 74 | |
1161 | version-control: never | |
1162 | End: |